Device Manager Online Help # Go back one pageGo to the next page#Go to this book's Index

Example alarm


Note Note: The example alarm described here generates at least one alarm every five minutes. The example is intended only to demonstrate how alarms fire; it is not a useful alarm. Because of the high frequency, you may want to delete this alarm in a real world scenario.

To create an alarm using default values and to receive statistics and history:

  1. Enable RMON globally.
  2. When you enable RMON globally, you also create a default rising and falling event. The default for the events is log-and-trap, meaning you receive notification through a trap as well as through a log file.
  3. From the Device Manager menu bar, choose Rmon > Alarm Manager.
  4. The Alarm Manager dialog box opens.
  5. Click the arrow to the right of the variable text box.
  6. A submenu opens to the right of the arrow.
  7. From the submenu, select a variable for the alarm.
  8. Alarm variables are in three formats, depending on the type:
  9. For this example, for the Threshold Type, select a rising value of 4 and a falling value of 0.
  10. Leave the remaining fields at their default values, including a sample type of Delta. (If you want to make field changes, see the item descriptions shown in the table below.)
  11. Item Description
    Index
    Uniquely identifies an entry in the alarm table. Each such entry defines a diagnostic sample at a particular interval for an object on the device.
    Interval
    Time period (in seconds) over which the data is sampled and compared with the rising and falling thresholds.
    Variable
    Name and type of alarm--indicated by the format:
    • alarmname.0, where no further information is required.
    • alarmname., where the user must specify the index. This value is a card number for module-related alarms, an MLT ID for MultiLink Truck alarms, an IP address for RIP or OSPF alarms (the user must enable RIP/OSPF on the VLAN or router port and enable globally), or the Ether Statistics Control Index for RMON Stats alarms.
    • alarmname with no dot or index is a port-related alarm and results in display of the port picker tool.
    Sample Type
    Can be either absolute or delta.
    Value
    The value of the statistic during the last sampling period. The value during the current sampling period is not made available until the period is completed. ::={ alarmEntry 5 }
    StartupAlarm
    The alarm that may be sent when this entry is first set to valid. If the first sample after this entry becomes valid is greater than or equal to the risingThreshold, and alarmStartupAlarm is equal to risingAlarm(1) or risingOrFallingAlarm(3), then a single rising alarm is generated.
    If the first sample after this entry becomes valid is less than or equal to the fallingThreshold, and alarmStartupAlarm is equal to fallingAlarm(2) or risingOrFallingAlarm(3), then a single falling alarm is generate.
    RisingThreshold
    When the current sampled value is greater than or equal to this threshold, and the value at the last sampling interval was less than this threshold, generates a single event.
    RisingEventIndex
    Index of the event entry that is used when a rising threshold is crossed. The event entry identified by a particular value of this index is the same as identified by the same value of the event index object. (Generally, accept the default that is already filled in.)
    FallingThreshold
    When the current sampled value is less than or equal to this threshold, and the value at the last sampling interval was greater than this threshold, generates a single event.
    FallingEventIndex
    Index of the event entry that is used when a falling threshold is crossed. The event entry identified by a particular value of this index is the same as identified by the same value of the event index object. (Generally, accept the default that is already filled in.)
    Owner
    The entity that configured this entry and is using the resources assigned to it.
    Status
    The status of this alarm entry.

  12. Click Insert.

For a port alarm:

  1. On the device view, right click the port on which you have created an alarm.
  2. The port shortcut menu opens.
  3. Choose Enable Rmon Stats and Enable Rmon History. You can also enable Rmon History and Rmon Stats on all ports by selecting the options from Rmon menu from the Device Manager menu bar.
  4. If trapping is not enabled, enable trapping:
    1. From the Device Manager menu bar, choose Edit > Chassis.
    2. The Chassis dialog box opens with the System tab displayed.
    3. Click the Trap Receivers tab.
    4. The Trap Receivers tab opens.
    5. Click Insert.
    6. Two trap versions are available: Version 1 (v1c) and Version 2 (v2c). In general, select Version 2 trapping. If you are using HP OpenView or other network managers that are RMON management applications, select
      Version 1.

See Also


Go back one pageGo to the next page##Go to this book's Index