Configuring Agents
Do I need to run both the HMA and the agent?
Yes, the HMA provides system-specific microagents that could be used in monitoring system resources such as cpu utilization, disk space usage, or process instance count. The agent depends on HMA and other microagents to provide its own set of non-platform-specific microagents which allows the execution of custom scripts or programs and log file monitoring.
Platform: Not Specified
Version: All
How do I notify someone if the agent dies?
Use event service and provide it with a script to send an e-mail (or page) to an administrator. When an agent's heartbeat is not received by the event service, it executes the script specified at start-up, providing it with two arguments (first argument being the hostname of the dead agent and the second argument being the dead agent's IP address).You may create the script to accept one or both arguments.
Platform: Not Specified
Version: All
How can I create my own microagents?
By Instrumenting your application with TIBCO Hawk Application Management Interface (AMI) API in your application.
Refer to the TIBCO Hawk Programmer's Guide for further details. The sample AMI API code provided in HAWK_HOME
/examples/ami_api
may help you in understanding the concepts and getting started.
Platform: Not Specified
Version: All