|
| 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:
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.
Alarm variables are in three formats, depending on the type:
REVIEWERS: THESE ARE NOT VALID??
· A chassis, power supply, or fan-related alarm ends in .x where the x index is hard-coded. No further information is required.
· A card, spanning tree group (STG), RIP or OSPF, or EtherStat alarm ends with a dot (.). A card number, STG ID, IP address, or EtherStat information must be entered.
· A port alarm ends with no dot or index 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).
Variable
Name and type of alarm--indicated by the format:
Sample Type
Can be either absolute or delta. For more information about sample types, refer to Creating Alarms.
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
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.)
Severity
Only used when creating a script. The severity level is passed to the script associated with the alarm as the only command line argument.
Script
Insert a name for your script. For more information about scripts, refer to "Creating Scripts for Alarms".
The table below describes the items under Falling Value.
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.)
Severity
Only used when creating a script. The severity level is passed to the script associated with the alarm as the only command line argument.
Script
Insert a name for your script. For more information about scripts, refer to "Creating Scripts for Alarms".
The port shortcut menu is displayed.
From the menu bar, choose Edit > Chassis > Trap Receivers.
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.
Click the RMON window to view statistics, and click the RMON History window to view the history.
To view the trap log, click the bell icon from the toolbar.
To view the events log, choose RMON > Alarm and click the Log tab. The log dialog box opens.