Installation and Configuration

TIBCO Hawk Heartbeat Plug-in microagent enables you to check the status of various servers.

To configure this plug-in into your TIBCO Hawk installation:

1. Copy the heartbeat.hma file from HAWK_HOME/plugin/heartbeat to CONFIG_FOLDER/plugin.
2. Read the heartbeat.hma file located in the <CONFIG_FOLDER>/plugin directory carefully before modifying the default configuration. This file contains comments that are self-explanatory and will guide you on how to set the health check status monitoring configurations as per your needs. There are 7 sections in this file that are explained later in this document. Each one caters to different a need. Follow the instructions given in the comments verbatim, especially when commenting and uncommenting the sections. Every section has the following Trace Log configuration. Edit this file per your requirements.
<!--Trace Configuration -->
<arg>--traceDir</arg>		
<arg>CONFIG_FOLDER/hawk/logs</arg>
		<arg>--traceFilename</arg>
		<arg>heartbeathma.log</arg>
<!-- Trace Level  -->
		<!-- ALL = -1, ALWAYS=0, INFO=1, WARNING=2, ERROR=4 DEBUG=8 -->
		<!-- Default is INFO + WARNING + ERROR -->
		<arg>--traceLevel</arg>
		<arg>7</arg>
3. Edit CONFIG_FOLDER/bin/tibhawkagent.tra to add <JAVA_HOME_ESC>/lib/tools.jar in tibco.class.path.extended, if using external JRE and not already added.
4. Make sure the -hma_plugin_dir property is uncommented and have a value "CONFIG_FOLDER/plugin" in CONFIG_FOLDER/bin/hawkagent.cfg.
5. Make sure the "application.args -file hawkagent.cfg" is not commented in the CONFIG_FOLDER/bin/tibhawkagent.tra file.
6. Restart the Hawk Agent.