![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |
You can add commands or scripts to a rulebase, then execute the command from the Get Commands menu for an agent from Hawk WebConsole. When you select Get Commands for an agent, a list of all commands from all rulebases currently loaded on the agent displays. The command is executed using the Custom:execute() microagent method on that agent.
Any command can be added to a rulebase, but rulebase commands are typically related to the resources or activity the rulebase monitors. For example, if a rulebase is monitoring the httpd daemon, the commands could execute scripts such as: start_httpd or kill_httpd.
![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |