Example trigger and clear thresholds
Use the example threshold formulas to set up the clear and trigger thresholds for generic threshold poll definitions.
Example trigger threshold
The following example would raise an event in the following cases:
- When the current value of the
avgBusy5MIB variable is equal to or greater than the value of theavgBusy6MIB variable
To create this threshold, specify the following information on the Trigger Threshold tab of the Poll Definition Editor:
- Select Basic.
- Specify the first threshold:
- Select Current.
- Click Add MIB Object
. - Expand the MIB Tree to the following path:
Click Insertiso/org/dod/internet/private/enterprises/cisco/local/lsystem/avgBusy5 - Select the comparator >=.
- Select current.
- Click Add MIB Object
. - Expand the MIB Tree to the following path:
Click Insert.iso/org/dod/internet/private/enterprises/cisco/local/lsystem/avgBusy6
- Specify the message that is displayed in the Event Viewer when the event is raised:
- In the Event description field, type CPU usage high (avgBusy5= .
- Click Add MIB Object
. - Expand the MIB Tree to the following
path:
iso/org/dod/internet/private/enterprises/cisco/local/lsystem/avgBusy5 - Select Current SNMP Value and click Insert.
- Type >=.
- Click Add MIB Object
. - Expand the MIB Tree to the following
path:
iso/org/dod/internet/private/enterprises/cisco/local/lsystem/avgBusy6 - Type ).
CPU usage high (avgBusy5=eval(text,"SNMP.VALUE.avgBusy5")>=eval (text,"SNMP.VALUE.avgBusy6"))
Example clear threshold
The following example would raise a Clear event in the following cases:
- When the value of the avgBusy5 MIB variable is less than 80.
To create this threshold, specify the following information on the Clear Threshold tab of the Poll Definition Editor:
- Select Basic.
- Specify the threshold:
- Select Current.
- Click Add MIB Object
. - Expand the MIB Tree to the following path:
Click Insertiso/org/dod/internet/private/enterprises/cisco/local/lsystem/avgBusy5 - Select the comparator <=.
- Select literal.
- Type 80.
- Specify the message that is displayed in the Event Viewer when the event is raised:
- In the Event description field, type CPU usage high (avgBusy5= .
- Click Add MIB Object
. - Expand the MIB Tree to the following
path:
iso/org/dod/internet/private/enterprises/cisco/local/lsystem/avgBusy5 - Select Current SNMP Value and click Insert.
- Type <=.
- Type 80.
- Type ).
CPU usage high (avgBusy5=eval(text,"SNMP.VALUE.avgBusy5")<=80)