
Working with vFoglight Rules and Registry 267
Working with Rules
• To add a rule-level variable, in the Alarm Message Editor dialog box, on the
Rule Variables tab, select the rule-level variable and click Insert.
• To add a system variable, on the System Variables tab, select the system
variable and click Insert.
The newly-added variable appears in the Alarm Message box.
When you finish adding variables to the alarm message, close the Alarm
Message box by clicking Close.
6
Save the newly-defined rule condition by clicking the Save button above the
Condition tab.
From here, you can proceed to “Defining actions” on page 278.
Defining conditions for event-driven rules
When you write conditions for event-driven rules, in addition to variables, topology
object metrics, and Groovy functions, you can use events and their properties to trigger
rule actions.
Event-driven rules allow you to monitor the events generated every time a pre-defined
event occurs. There are two types of events that can act as rule triggers:
• AlarmSystemEvent
Multiple-severity rules generate system events when a rule severity level is
reached. Alarm-based system events allow you to monitor alarm-related system
Kommentare zu diesen Handbüchern