Technical Documentation

Configuring an Event Entry and Its Attributes

An event entry generates a notification for an alarm entry when its rising or falling threshold is crossed. You can configure the type of notification that is generated. To configure the event entry, include the event statement at the [edit snmp rmon] hierarchy level. All statements except the event statement are optional.

[edit snmp rmon]event index {community community-name;description description;type type;}

index identifies an entry event.

community-name is the trap group that is used when generating a trap. If that trap group has the rmon-alarm trap category configured, a trap is sent to all the targets configured for that trap group. The community string in the trap matches the name of the trap group. If nothing is configured, all the trap groups are examined, and traps are sent using each group with the rmon-alarm category set.

description is a text string that identifies the entry.

The type variable of an event entry specifies where the event is to be logged. You can specify the type as one of the following:

  • log—Adds the event entry to the logTable.
  • log-and-trap—Sends an SNMP trap and creates a log entry.
  • none—Sends no notification.
  • snmptrap—Sends an SNMP trap.

The default for the event entry type is log-and-trap.


Published: 2010-04-27