Rulebase List Monitoring
Rulebases direct the monitoring activities of an agent. Each rulebase is a collection of rules which are usually grouped together to monitor an application or system resource. An agent may have more than one loaded rulebase and this list can change dynamically.
Rulebase list monitoring is structurally similar to microagent list monitoring. It is used to monitor the dynamically changing list of rulebases that are loaded on an agent.
To perform this type of monitoring you register a RuleBaseListMonitorListener
or onRulebaseUpdated
with the AgentMonitor
. Events of type RuleBaseListMonitorEvent
are then delivered to either the onRuleBaseAdded()
or onRuleBaseRemoved()
method of the listener. The event contains an AgentInstance
object, which identifies the agent, and a RuleBaseStatus
object, which is used to identify the rulebase being added or removed.
The onRulebaseUpdated()
listener provides an atomic update callback for rulebase update events. To receive onRulebaseUpdated(),
implement ExtendedRuleBaseListMonitorListener
as per the definition provided in API Reference section.