Learning How to Create Behavior Models
-
How to Use Alarm Scope in Behavior Models - How to Use Alarm Scope in a Multi-alarm Behavior Model -
In this next scenario you want to monitor a specific node within the CriticalDevices property group because it has been experiencing unusually high traffic. The overworked device has four key ports. You don't care to be notified when just one port is busy. However, you would like to know when all four ports are busy.
Creating just one alarm with SubObject scope will not be enough, since NerveCenter would then only track one instance on each individual port. Creating an alarm with Node scope will not be enough, since you need to track more than one instance on the same node.
For this scenario, you will need to create a multi-alarm behavior model that uses NerveCenter's alarm scope feature to keep track of the different instances.
The scenario includes the following three activities:
This first activity will step you through the process of creating an alarm that monitors your network at the SubObject Scope level.
To create the first alarm of a multi-alarm behavior model:
Scope
field of the new alarm to SubObject.By setting the alarm scope to SubObject, you are telling 1BusyPort to track a separate instance for each port on the overworked node.
New Action
. Then, select FireTrigger
.The Fire Trigger Action window appears.
Trigger Name
field, type portTooBusy
.
SubObject
, Node
, and Property
fields. The defaults ensure that the resulting trigger will drive only alarm instances that monitor the same subobject and node as the current alarm instances.
OK
.
The Fire Trigger Action is added to the transition's Actions
list.
OK
.
The Completed State Diagram for 1BusyPort
Click the thumbnail above to view full-sized image.
Save
.In this activity you created the first alarm of a multi-alarm behavior model. This alarm will fire a trigger called portTooBusy. However, no alarm is currently listening for this trigger. The next activity will step you through the process of creating the second alarm of this behavior model.
In the last activity you created the first alarm of a multi-alarm behavior model for monitoring traffic on an overworked node. In that alarm, high-traffic conditions on a single subobject (port) would cause the portTooBusy trigger to be fired.
This next activity will step you through the process of creating a second-level node scope alarm involving the portTooBusy trigger.
To create the second alarm of a multi-alarm behavior model:
Setting the property to myNodes is unnecessary since all the triggers for this alarm will be fired by the alarm created in the last activity.
Scope
field to Node.By selecting Node Scope, you are indicating that this alarm should keep track of instances for the entire node.
If you add a new state and cannot see the state's icon, it may be hidden behind another state icon. Resizing and positioning your icons will make the state diagram easier to read.
New Action
. From the alarm action list, select Log to File
. In the File Name
field, type BusyLog.
New Action
. From the alarm action list, select Paging
.The Paging Action window appears.
Pager Number
field, type your pager's phone number.The pager number is the sequence of digits and special Hayes AT commands needed by the Paging action to reach the pager. For a list of valid commands, see your modem manual.
Alarm Code
field, either type a number that identifies the network situation being reported or leave it set to the default. The alarm code is a sequence of digits that is displayed on the pager. The maximum number of digits that a pager can display varies from pager to pager. If you don't supply an alarm code, a default value of 911 is used.
Terminate
field, type the character that terminates the paging connection on your pager. This character is a key the paging system uses to terminate the connection and send the page. If differs from system to system, but is usually # (pound sign) or * (asterisk). Consult your paging system manual to determine the correct key for your system. If you don't specify a key, the Paging action uses the default value #.
OK
.The Paging action is added to the Transition Definition window's action list.
OK
.
Save
.You have now created the second alarm of the multi-alarm behavior model to monitor high-traffic conditions on an overworked node.
However, what if the other ports are free again by the time the fourth port becomes too busy? The next activity will step you through the process of modifying the two alarms to allow for the behavior model to be reset should lower traffic conditions arise.
In the previous two activities you created a multi-alarm behavior model that will monitor high-traffic conditions on different ports of a single node.
NerveCenter will page you as soon as the fourth port on a node reports high-traffic conditions. However, what if traffic on one of the ports drops off? You need some way for your behavior model to reset itself to keep track of the ebb and flow of traffic conditions on your network.
This next activity will step you through the process of modifying the first and second alarm of your multi-alarm behavior model to allow for it to reset conditions.
To add reset capabilities to a multi-alarm behavior model
Save
.
Save
.
Unless one of the nodes in the CriticalDevices property group has four interfaces, the alarm 1BusyNode will not reach the final state.
Click the thumbnail above to view full-sized image.
You have just completed creating a sophisticated multi-alarm behavior model using alarm scope to limit NerveCenter's monitoring activities.
The next chapter will explain how to use the Action Router to tell NerveCenter when to perform certain actions.
Previous: What is Alarm Scope? | Next: Review and Summary |
Please send comments or corrections to Information Development | This file was last updated on 10 October 2000 |