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

Example Alarm

Note Note: The example alarm described here will generate 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. Make sure that RMON is globally enabled.

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 will receive notification through a trap as well as through a log file.

  1. From the Device Manager menu bar, choose Rmon > Alarm Manager.
  2. In the Variable text box, select a variable for the alarm from the list found by clicking on the arrow at the right of the Variable text box.

Alarm variables are in three formats, depending on the type:

· A security, IP or statistic group ends with a dot zero (.0). No further information is required.

· A MultiLink Truck (MLT), RIP or OSPF, or EtherStat alarm ends with a dot (.). A card number, MLT ID, IP address, or EtherStat information must be entered.

· A port alarm contains neither a dot or dot zero and requires using the port shortcut menu (step 6 on "For a port alarm, select the port on which you have created an alarm from the graphical image of the switch and click it with the right mouse button."). An example of a port alarm would be ifInOctets (interface incoming octet count).

  1. For this example, select a rising value of 4 and a falling value of 0.
  2. Leave the remaining fields at their default values, including a sample type of Delta, and click Insert. (If you want to make field changes, see the item descriptions shown in the table below.)


Item Description
Variable
Name and type of alarm--indicated by the format:
  • alarmname.0, where no additional 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 (RIP/OSPF must be enabled on the VLAN or router port and enabled 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. For more information about sample types, refer to Reference for the Passport 1000 Series Management Software Switching Operations Release 2.1.
Sample Interval
Time period (in seconds) over which the data is sampled and compared with the rising and falling thresholds.
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.

The table below describes the items under Rising Value


Item Description
Value
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.
Event Index
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.)

The table below describes the items under Falling Value.


Item Description
Value
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.
Event Index
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.)

  1. For a port alarm, select the port on which you have created an alarm from the graphical image of the switch and click it with the right mouse button.

The port shortcut menu is displayed.

  1. 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.
  2. If trapping is not enabled, enable trapping.

From the menu bar, choose Edit > Chassis > Trap Receivers > Insert.

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.

  1. To view RMON statistics and history, select the port on which you have created an alarm and click the graph button from the toolbar.

Click the Rmon tab to view statistics, and click the History tab to view the RMON history.

  1. View the trap log and the events log.

To view the trap log, click the Alarm button on the Device Manager toolbar.

To view the events log, choose Rmon > Alarms > Log. The Log tab opens.


Item Description
Time
Time of the log entry.
Description
Description of the log entry contents.


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