The trigger parameter specifies the type of triggers
that you can set for a trap. If a trap is triggered, data about the
event that caused the trigger is sent to the network management
stations.
You can specify the following values for the
trigger parameter:
- single-edge-trigger
—Fires a trap and sends data when the value of the trap's MIB variable crosses an edge (a value that you specify) for the first time.
- double-edge-trigger
—Fires a trap and sends data when either of two edges is crossed. A double-edge-trigger enables you to set two edges, each with its own direction.
- level-trigger
—Fires a trap and sends data whenever the trap's value crosses a specified edge value.
- change-trigger
—Keeps track of the last value received from the trap. If the current value differs from the previously received value, the trap is triggered.
- always-trigger
—Enables a trap to always trigger at the specified evaluation interval (specified by the interval parameter discussed later in this section). For example, a trap can trigger every 24 hours for the agent to send the total number of CIFS operations to an SNMP manager.