Designing and Managing Behavior Models
-
Using Alarms - Correlation Expressions -
NerveCenter 3.8 provides an additional method for Alarm Definition creation, the Correlation Expression window. Correlation expressions allow the definition of alarm diagrams based on Boolean expressions. The correlation expressions do not apply in every situation, but in cases where multiple combinations of events need to be detected and acted upon, the correlation expressions save tremendous amounts of time, both in alarm diagram designing and building.
To build a correlation expression, first create the necessary trap masks and poll conditions to fire the desired triggers. Once the triggers have been created, the Correlation Expression Editor can be used to create the expression.
There are three main components of the correlation expression. First, the Boolean expression is created using and, or, parenthesis and triggers that are already existent. Second, the correlation reset period determines the time limit in which the entire expression must become true once a portion has been detected. Third, the correlation action must be specified, directing NerveCenter to act when the expression becomes true.
For example take the sample alarm in Sample Alarm: Error Rate Alarm Created with the Alarm Definition Window.
Sample Alarm: Error Rate Alarm Created with the Alarm Definition Window
In this alarm, you want an inform to be sent if you receive HighErrorRate and HighLoad triggers or if you receive a HighErrorPersists trigger. The alarm will reset to Ground if the alarm is not completed within the time period specified by the transition Reset. Creating this model takes several steps. You need to create three states and eight transitions. Three of those transitions require you to add the same action, send inform. The idea behind this model, however, can be expressed simply with a boolean expression:
If (HighLoad AND HighErrorRate) OR HighErrPersists, then Inform NC/NV/OV
Correlation expressions allow you to create simple alarms quickly.
To create a Correlation Expression:
From the client's
Admin
menu, choose Correlation Expression List
.
The Correlation Expression List Window opens.
New
button.The Edit Correlation Expression window opens.
Expression Name
field enter a name for the expression.
Reset Period
(must be greater than 0) and select a time unit (seconds, minutes or hours) from the drop-down menu.The correlation reset period is the time in which the entire alarm must complete before the alarm resets. This counter starts when the first trigger occurs. The counter does not restart when a second trigger occurs.
The time period must be greater than zero. You can choose between seconds, minutes or hours.
You enter information in the Correlation Expression field by using the buttons below the field.
AND
or OR
button.
x or y and z
is the same as x or (y and z)
.(
or )
button.
The close parenthesis )
button
is not active until there is an open parenthesis (
in the correlation expression.
Del
button.
New Action
button.NerveCenter displays a pop-up menu that lists all the actions supported on your platform. The complete list of actions is:
These actions are described in Chapter 12, Alarm Actions.
If you select the Action Router, Delete Node, or Notes action, the action is added immediately to the Actions list in the Edit Correlation Expression window. However, because most actions require you to supply parameters, NerveCenter generally displays an action dialog at this point. The dialog varies from action to action.
This step is dependent on the action you've selected. For details on how to complete this step, see the appropriate section in Chapter 12, Alarm Actions.
You can edit these selections later by selecting the Update Action
button.
To delete an action, select it from the Correlation Actions list and click Delete Action
.
Save
.After creating a correlation expression, you can use it as a building block to create alarms.
To copy a correlation expression:
From the client's
Admin
menu, choose Correlation Expression List
.
The Correlation Expression List Window opens.
Copy
from the pop-up menu.The Edit Correlation Expression window opens.
Expression Name
field enter a new name for the expression.
Save
.
To create an alarm from a correlation expression:
Create Alarm
.The Create Alarm using Correlation Expression window opens.
Property
list box. Or leave the Property
set to NO_PROP.The property you choose helps determine whether a particular trigger can cause an alarm instance to be instantiated or cause a transition in an existing alarm instance. Generally, the alarm's property must match one of the properties in the property group of the node associated with the trigger. The property NO_PROP matches any property.
For complete information regarding the matching rules that determine whether a trigger causes an alarm transition, see Designing and Managing Behavior Models.
Scope
list box.The options are Enterprise, Instance, Node, and Subobject. Briefly, an alarm instance with Enterprise scope monitors all the nodes managed by the NerveCenter server. An alarm instance with Node scope monitors a single node. A subobject scope alarm monitors a subcomponent of a node, usually an interface (subobject). Instance scope lets you monitor different base objects in a single alarm instance.
For further information on alarm scope, see Designing and Managing Behavior Models.
Clear Triggers for Reset To Ground or Off
checkbox if you want NerveCenter to clear any pending triggers fired by this alarm when the alarm is turned off or manually reset to ground. The alarm might have pending triggers if you associated a Fire Trigger alarm action with this alarm.
Enabled
status to On.
Save Alarm
.When you save the alarm, you can now access it through the Alarm Definition List and edit it as any other alarm. For details on using the Alarm Definition window, see Defining Transitions.
Error Rate Correlation Expression shows the correlation expression that creates the alarm shown in Sample Alarm: Error Rate Alarm Created with the Alarm Definition Window. Error Rate Alarm Generated from the Error Rate Correlation Expression shows the alarm generated with the Error Rate correlation expression.
Error Rate Correlation Expression
Error Rate Alarm Generated from the Error Rate Correlation Expression
To add Notes to a Correlation Expression:
Notes
.The Correlation Expression Notes dialog box displays.
Save
to close the Notes dialog box.
A dialog box asking Are you sure?
displays.
Yes
.
Save
in the Correlation Expression window to save the notes.Enabling an Alarm | Alarm Actions |
29 July 2003 |