Installation and Configuration

The Universal Collector microagent enables you to monitor the log files and Hawk rulebases and forward the logs and rulebase data to TIBCO LogLogic® Log Management Intelligence (LMI) or any Syslog consumer.

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

1. Copy the hawkuc.hma file from HAWK_HOME/plugin/hawkuc to CONFIG_FOLDER/plugin.
2. Edit and verify hawkuc.hma in CONFIG_FOLDER/plugin to have the correct version and path of JAR files; and correct trace log configurations.

 

<microagent>
    <!-- The classname of the microagent -->
    <classname>com.tibco.hawk.microagent.uc.HawkUniversalCollectorMA</classname>
    <!-- The arguments to be passed to the MicroAgent.initializeMicroAgent() method -->
    <arguments>
        <arg>--pluginDir</arg>
        <arg>HAWK_HOME/hawk/6.2/plugin/hawkuc/</arg>
    </arguments>
    <classpath>
        <path>HAWK_HOME/hawk/6.2/plugin/hawkuc/lib/hawkuc.jar</path>
        <pathdir>HAWK_HOME/hawk/6.2/plugin/hawkuc/lib/ext</pathdir>
    </classpath>
</microagent>

 

3. In CONFIG_FOLDER/bin/hawkagent.cfg file, ensure that the -hma_plugin_dir property is uncommented and have a value CONFIG_FOLDER/plugin .
4. In the CONFIG_FOLDER/bin/tibhawkagent.tra file, ensure that the "application.args -file hawkagent.cfg" is not commented .

Restart the Hawk Agent.