< Home

Configuring RMON Alarm

Context

The RMON alarm involves event definition and alarm threshold setting.

Set the alarm threshold to monitor key indexes during system running. When an error occurs in the system, the related event is triggered. The event definition function determines whether to log the event or send a trap to the NMS.

If the variables configured in the RMON alarm are MIB variables defined in the statistics or history group, the Ethernet or history statistics collection must be configured on the monitored Ethernet interface first.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run rmon event entry-number [ description string ] { log | trap object | log-trap object | none } [ owner owner-name ]

    The event definition function is configured and an entry is added to an event table.

  3. Configure the alarm threshold function.
    1. Run rmon alarm entry-number alarm-OID sampling-time { absolute | changeratio | delta } rising-threshold threshold-value1 event-entry1 falling-threshold threshold-value2 event-entry2 [ startup-alarm { falling | rising | risingorfalling } ] [ owner owner-name ]

      An alarm table is configured and an entry is added to the table.

    2. Run rmon prialarm entry-number prialarm-formula description-string sampling-interval { absolute | changeratio | delta } rising-threshold threshold-value1 event-entry1 falling-threshold threshold-value2 event-entry2 entrytype { cycle entry-period | forever } [ owner owner-name ]

      An extended alarm table is configured and an entry is added to the table.

      If the events (event-entry1, event-entry2) corresponding to the alarm rising and falling thresholds are not configured in the event table, no alarm will be generated even if the alarm conditions are met. In this situation, the alarm record status is undercreation, but not valid.

      After either event is configured, the alarm is generated if the alarm conditions are met and the alarm status is valid. If an incorrect alarm variable is created, such as a nonexistent OID being specified, the alarm is in the undercreation state and no alarm is generated.

  4. (Optional) Run snmp-agent trap enable feature-name rmon [ trap-name { fallingalarm | risingalarm | rmon_pri_fallingalarm | rmon_pri_risingalarm } ]

    The alarm is enabled for the RMON module.

    By default, all alarms for the RMON module are enabled.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >