Configuring the Microagent in TIBCO Hawk® - Container Edition
If you are running TIBCO FTL in docker environment, you can monitor your FTL applications using Hawk® Container Edition. Hawk® Container Edition is a tool for monitoring distributed applications in the container environment. To add
Hawk® Microagent for TIBCO FTL/TIBCO eFTL plug-in to the Hawk agent container perform the following steps:
Prerequisites
Download and install
Hawk® Microagent for TIBCO FTL/TIBCO eFTL in the same
TIBCO_HOME where you have installed TIBCO Hawk.
Copy
hawkftl.jar and all the dependent jars from
<TIBCO_HOME>/<version>/plugin/ftl/lib folder to
<TEMP_DIRECTORY>/tibco.home/hkce/<version>/plugin folder.
Copy
hawkftl.hma and
ftlserverconfig.yaml files from
<TIBCO_HOME>/<version>/plugin/ftl/
folder to
<TEMP_DIRECTORY>/tibco.home/hkce/<version>/plugin folder.
Create
logs folder in the
<TEMP_DIRECTORY>/tibco.home/hkce/<version>/plugin directory.
In the
hawkftl.hma file, update relative path of the jars. For example:
In the<TEMP_DIRECTORY>/tibco.home/hkce/<version>/plugin/ftlserverconfig.yaml file, update TIBCO FTL server details.
Rebuild the Hawk agent Docker image by running the script
<TEMP_DIRECTORY>/tibco.home/hkce/<version>/docker/build_hkce_agent.sh.
Run the containers. While running the containers, ensure that the
hma_plugin_dir environment variable of
hkce_agent
is set to value
/tibco.home/hkce/<version>/plugin/.
If Hawk Console is running, you can confirm if the plug-in is loaded in Hawk agent by checking the list of microagents in the Hawk console. Check if the methods of the plug-in microagent are listed and if you can invoke and subscribe them.