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 avgBusy5 MIB variable is equal to or greater than the value of the avgBusy6 MIB variable

To create this threshold, specify the following information on the Trigger Threshold tab of the Poll Definition Editor:

  1. Select Basic.
  2. Specify the first threshold:
    1. Select Current.
    2. Click Add MIB Object Open MIB tree button.
    3. Expand the MIB Tree to the following path:
      iso/org/dod/internet/private/enterprises/cisco/local/lsystem/avgBusy5
      Click Insert
    4. Select the comparator >=.
    5. Select current.
    6. Click Add MIB Object Open MIB tree button.
    7. Expand the MIB Tree to the following path:
      iso/org/dod/internet/private/enterprises/cisco/local/lsystem/avgBusy6
      Click Insert.
  3. Specify the message that is displayed in the Event Viewer when the event is raised:
    1. In the Event description field, type CPU usage high (avgBusy5= .
    2. Click Add MIB Object Open MIB tree button.
    3. Expand the MIB Tree to the following path:
      iso/org/dod/internet/private/enterprises/cisco/local/lsystem/avgBusy5
    4. Select Current SNMP Value and click Insert.
    5. Type >=.
    6. Click Add MIB Object Open MIB tree button.
    7. Expand the MIB Tree to the following path:
      iso/org/dod/internet/private/enterprises/cisco/local/lsystem/avgBusy6
    8. Type ).
    The description for the Event Viewer should now read as follows:
    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:

  1. Select Basic.
  2. Specify the threshold:
    1. Select Current.
    2. Click Add MIB Object Open MIB tree button.
    3. Expand the MIB Tree to the following path:
      iso/org/dod/internet/private/enterprises/cisco/local/lsystem/avgBusy5
      Click Insert
    4. Select the comparator <=.
    5. Select literal.
    6. Type 80.
  3. Specify the message that is displayed in the Event Viewer when the event is raised:
    1. In the Event description field, type CPU usage high (avgBusy5= .
    2. Click Add MIB Object Open MIB tree button.
    3. Expand the MIB Tree to the following path:
      iso/org/dod/internet/private/enterprises/cisco/local/lsystem/avgBusy5
    4. Select Current SNMP Value and click Insert.
    5. Type <=.
    6. Type 80.
    7. Type ).
    The description for the Event Viewer should now read as follows:
    CPU usage high (avgBusy5=eval(text,"SNMP.VALUE.avgBusy5")<=80)