All the required configuration parameters are stored in HAWK_HOME/
bin/hawkagent.cfg. Each section in this configuration file begins with “-
M” followed by the module name, such as
–M Self. Within each modular section, all the command-line options that can be configured are listed. These options are as follows:
|
|
|
|
|
|
|
|
|
The name of the container in which this agent will appear in the display by default. The display will create the container if it does not already exist. Allows for grouping of multiple agents. The cluster name must be enclosed within quotes, if the name contains spaces.
|
|
|
|
Host Name of the computer
|
Each agent being managed must have a unique combination of agent_name, agent_domain, and hawk_domain values. To use the host name as the agent name, comment this option.
|
|
|
|
|
An agent domain must be specified when two computers within the same TIBCO Hawk domain have the same name but reside in different network domains. For example, you might specify this option as: -agent_domain pa.tibco.com.
|
|
|
|
|
|
|
|
|
|
|
|
See TIBCO DataGrid Transport for more details. Use a semicolon (;) to indicate a null value, or use an empty string, for example:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
If you use this option, all three parameters must be present and separated by white space. Use a semicolon (;) to indicate a null value, or use an empty string, for example:
|
TIBCO EMS Transport See page 30 for details
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Optimizes the number of threads the agent creates for every microagent it discovers. It is advisable to turn this option On if the agent is going to discover over 100 microagents. This value is OS dependent and should be set to the maximum number of threads allowable per process.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Specify the directory from which the Rulebase and schedule configuration objects are loaded at the startup. The default directory, HAWK_HOME/autoconfig, is used if a value is commented.
|
|
|
|
|
If repository configuration mode is used, specify the path to be searched for repositories. The delimiter for path entries is a colon (:).
|
|
|
|
|
If repository configuration mode is used, all configuration objects loaded from the repository may be cached in a local directory, specified in this option. This cache is used if a repository fails, and also to minimize network traffic.
|
|
|
|
|
Properties file to specify variables file. The variables file can pass data to define external variables to be passed to rules for use in Rulebase configurations.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Specifies whether authentication is required for the SMTP server. The default value is false. If the value is true, you need to provide the username ( -email_smtp_user) and password ( -email_smtp_password) for authentication.
|
|
|
|
|
Specifies the sender’s username for the SMTP server authentication. The field is mandatory if the authentication option ( -email_smtp_auth_required) is set to true.
|
|
|
|
|
Specifies the sender’s password for the SMTP server authentication. The field is mandatory if the authentication option ( -email_smtp_auth_required) is set to true.
|
|
|
|
|
Specifies the sender’s email address for sending the email. The default is the current system user, for example, "HawkAdministrator"<admin@abc.com>
|
|
|
|
|
|
|
Configures the agent with a RVD session to be used to communicate with applications implementing the TIBCO Hawk Application Management Interface. Multiple -ami_rvd_session parameters may be specified. If none are specified, the RV session used for AMI is the primary session of the Self Module.
# Note: When using TIBCO EMS transport for communication, 127.0.0.1 should be used as the network parameter. For example: ami_rvd_session 7474 127.0.0.1 tcp:7474
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
By default, Hawk Agent uses the trace mode for logging requirements. TIBCO Hawk 5.2.0, uses the trace mode logging mechanism to match parity with different versions of Hawk, bundled in different TIBCO products.
The logging parameters for Hawk Agent, Hawk MicroAgent, and Hawk Event are configured using the logging parameters defined their respective configuration files. For more details on these logging parameters, refer the following sections:
In TIBCO Hawk 5.2.0, you can enable the log4j mode for Hawk Agent logging requirements. By default, the log4j mode is disabled for Hawk Agent. Modify the log4j configuration in the respective .tra files to enable the log4j for logging.
To enable the log4j for logging, update the value of the -Duse_log4j parameter to
true in the configuration mentioned above.
Specify “-Dlog4j.configuration” as command-line parameter to override the log file configuration.
A default log4j properties file exists at CONFIG_FOLDER/bin/log4j_agent.properties. You can modify this configuration file or use your own properties file.
The logging properties specified in hawkagent.cfg for –M LogService viz. log_dir, log_max_size, log_max_num and
log_level override those in log4j RootLogger’s RollingFileAppender.
If –log_level <int_value> is specified in –M
LogService section of agent configuration and the value of
log_level is greater than seven, the log4j root logger level is set to
DEBUG.