Designing and Managing Behavior Models
-
Alarm Actions - Set Attribute -
The Set Attribute alarm action enables you to set selected attributes of an alarm, a mask, a poll, or a node. For alarms, masks, and polls, you can turn an object on or off. For nodes, you can assign the node a property group, or you can suppress or unsuppress the node.
A good example of the use of this action occurs in the predefined alarm DwnStrmSnmpStatus, which is part of a behavior model that suppresses alarms from nodes that are downstream from a router that is down. The state diagram for this alarm is shown in DwnStrmSnmpStatus Alarm.
When the behavior model discovers that a node is unreachable because of a router that is down, it fires the trigger Down and uses the Set Attribute action to turn suppression on for the node it is tracking. Suppressing the node causes all insuppressible polls to stop polling the node. Similarly, if the poll IcmpPoll or IcmpFastPoll (both of these polls are insuppressible) determines that the node is reachable again, the alarm uses the Set Attribute action to turn suppression off for the node. At this point, normal polling resumes.
Clear Triggers for Reset To Ground or Off
checkbox is checked in the alarm's definition window.
To add a Set Attribute alarm to a transition:
New Action
button.A pop-up menu listing all alarm actions is displayed.
Set Attribute
from the pop-up menu.The Set Attribute Action dialog is displayed.
In this release of NerveCenter, the Host field is not used.
Object Type
drop-down list, select the type of object for which you want to set an attribute.
Name
drop-down list.For an alarm, a mask, or a poll, your options include all the objects of that type in the NerveCenter database. For a node, you can select any of the nodes in the NerveCenter database or the variable $NodeName. This variable contains the name of the node associated with the trigger that caused the transition.
Attribute
drop-down list.If the Object Type is Alarm, Mask, or Poll, the Attribute field is read only because the only attribute you can set is State (the object's Enabled status). For a node, you can select either Property Group or Suppress.
Value
drop-down listbox.
OK
button in the Set Attribute Action dialog.
OK
button in the Transition Definition window.
Save
button in the Alarm Definition window.Send Trap | SMTP Mail |
29 July 2003 |