
274 vFoglight
Administration and Configuration Guide
3
Multiple-severity rules. Activate the condition by selecting the Activate check
box.
You must activate the condition for a severity level in a multiple-severity rule
before you can save it. If the Activate check box is cleared when you click Save,
the condition that you specified will be discarded, as will any expressions or
actions that you set in the sub-tabs of the tab for that severity level.
Caution Do not clear the Activate check box if you want to temporarily disable a multiple-
severity rule. To temporarily deactivate the alarms and actions for an entire rule,
follow the instructions in “Suspending or resuming alarms” on page 236. You can
also configure the behavior of the alarms and actions for the rule. See “Defining
Alarm and Action Behavior” on page 302 for more information.
4
Multiple-severity rules. Define the alarm message associated with the newly-
defined condition.
In the Alarm box, type the alarm message.
println @event.dump();
@event.get("report/name") == "MyReport";
Incorrect
println @event.dump()
@event.get("report/name”) == "MyReport";
Note The first line is missing a semicolon which causes the expression
to result in an error.
Single-line expressions
Example B
Correct
println @event.dump();
Example C
Correct
println @event.dump()
Note Using a semicolon to end the line in a single-line expression is optional,
therefore both expressions are valid.
Comentarios a estos manuales