The agent interfaces the managed objects on its local machine using microagents. Microagents communicates with managed objects such as operating system subsystems, agent components, log files, event logs or applications. Each microagent exposes a set of methods to the agent that the agent uses to collect information and take action.
A set of default microagents is included when you install TIBCO Hawk software. The complete list varies by operating system, but the following standard microagents are installed on all platforms:
•
The Self microagent gathers version information for the local agent, the security policy in effect, and available microagents. It also activates or deactivates the collection of diagnostics for technical support.
•
The SysInfo microagent gathers basic information on the operating system, hardware architecture, computer name and IP address of the agent machine.
•
The Process microagent counts instances of a process on the agent machine and gathers process usage statistics.
•
The FileStat microagent gathers information on a disk file or files on the agent machine.
•
The Rendezvous microagent gathers information on TIBCO Rendezvous daemon activity on an agent machine and on TIBCO Rendezvous licensing. This micro agent is available only when Hawk is configured to use Rendezvous as a message transport mechanism between Agent and HMA.
•
The RuleBaseEngine microagent gathers information about the rulebases and takes actions on rulebases that affect the TIBCO Hawk agent.
•
The TcpClusterStatus microagent provides methods to monitor the health of the TCP transport cluster and TCP daemons.
•
The TcpMessaging microagent provides methods to send and receive messages using the TCP Transport for TIBCO Hawk.
•
The Logfile microagent responds asynchronously each time a new line is added to a log file you specify. You can create tests that search for specific strings in a log file line.
•
The Custom microagent executes any command-line executable that can run on the current agent machine. The microagent can also return text or numeric results from the executable.
This microagent is typically used to give a TIBCO Hawk agent access to information it cannot obtain from other microagents. It is a useful tool for extending agent capabilities.
For detailed information about these microagents with their methods, arguments and results, as well as descriptions of platform-specific microagents, see the TIBCO Hawk Microagent Reference.
Microagent methods can be accessed interactively from TIBCO Hawk Console or through rulebases downloaded to the agent. Monitoring with Rulebases, talks about how to use a method as the data source of a rule.
You can also access methods programmatically using the Console API. For more information, see the TIBCO Hawk Programmer’s Guide.