Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved


Chapter 2 Configuring TIBCO Hawk Components : Configuring Hawk Event Service

Configuring Hawk Event Service
The Hawk Event Service records:
Refer to the TIBCO Hawk Concepts guide for details about TIBCO Hawk Event Service.
All the required configuration parameters are stored in CONFIG_FOLDER/bin/hawkevent.cfg. The following table describes various Hawk Event Service related configuration properties in easy-to-understand logical groups. The various groups are as follows:
-as_session <listenurl> <discoverurl>
-agent_name <agent name>
-agent_domain <agent domain name>
-as_transport_timeout <timeout in milliseconds>
-rvd_session <service> <network> <daemon>
-hawk_domain <TIBCO Hawk domain name>
-logdir <directory to store Event Service logs>
-logmaxsize <maximum size of one Event Service log>
-logmaxnum <maximum number of Event Service logs>
-log_level <desired trace level for logs>
-log_format <Hawk or ActiveEnterprise format>
Fault Tolerance
To enable fault tolerance, uncomment the -ft parameter.
This instance joins a fault tolerant group named HawkEventService:hawkdomain, where hawkdomain is the domain of the agent.
Separate instances of TIBCO Hawk must be running on at least two machines in order to use fault tolerance. Fault tolerance must be enabled on each instance
Weight
Assign the weight of this instance using a positive integer. The member with the highest weight receives rank 1 (so it outranks all other members). When an instance fails, the next-highest instance is activated and the member with the next highest weight receives rank 2; and so on.
-ft <fault tolerance weight>
-ft_rvd_session <service> <network> <daemon>
Be careful not to confuse TIBCO Hawk Event Service data files (Event.dat) with Event Service log files (Event.log).
Event.dat data files contain the data produced by the Event Service.
Event.log log files record the state of the Event Service itself.
Each of the parameters listed above are explained in more detail, in the following table.
Mandatory
See page 35 for details.
Host Name of the computer
The name of the agent. Each Microagent being monitored must have agent_name, by which Microagent is being monitored
"" tibpgm://8989/
Comment this option if you are using TIBCO Rendezvous or TIBCO EMS as the primary transport.
The format is -as_session <listen url> <discover url>.
See TIBCO DataGrid Transport for more details. Use a semicolon (;) to indicate a null value, or use an empty string, for example:
7474 "" tcp:7474
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.
Comment this option if you are using TIBCO DataGrid or TIBCO Rendezvous as the primary transport.
Note: If EMS is configured as Transport, the ami_rvd_session parameter should be configured.
j2se-default—Use this option when you want to use the default JCE bundled with the Java JRE.
ibm—On non-IBM platforms, this option can be used only if the IBM version of JCE is installed.
CONFIG_FOLDER/logs
Specifies the level of diagnostic information stored in the logs. The following are the logging levels:
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.
7474 127.0.0.1 tcp:7474
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
7474 127.0.0.1 tcp:7474
Note: In case of TIBCO DataGrid the same as_session parameter will be used for Fault tolerance.
Specifies the location to store data files generated by the TIBCO Hawk Event Service. IF not specified, will not log events.
The maximum size of a rotating data file in KB. You may apply a suffix m or M for indicating MB values (for example, 10m).
User defined alert action property fields to be created as additional columns in the HawkAlertClearInfo table
Database Configuration
To setup database, add the appropriate .jar file of the JDBC driver classes, from the database vendor, to the HAWK_HOME/lib based on the value of the -JDBCdbType parameter.
 
 

Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved