Examples
Trap Name and Number | Varbind | Severity | Description |
|
|
|
|
snTrapStackingChasPwrSupplyFailed | snChasUnitIndex, | Minor | The SNMP trap that is generated |
brcdIp.0.167 | snChasPwrSupplyIndex, |
| when a power supply operational |
| snAgGblTrapMessage |
| status changed from normal to |
|
|
| failure for a stacking system. |
|
|
| Sample Trap Message |
|
|
| System: Stack unit |
|
|
| <unitNumber> |
|
|
| Power supply |
|
|
| <snChasPwrSupplyIndex> is |
|
|
| down |
|
|
|
|
snTrapStackingTemperatureWarning | snChasUnitIndex, | Critical | The SNMP trap that is generated |
brcdIp.0.171 | snAgGblTrapMessage |
| when the actual temperature |
|
|
| reading rises from the falling |
|
|
| threshold and reaches the rising |
|
|
| threshold. |
|
|
| Sample Trap Message |
|
|
| System: Stack unit |
|
|
| <unitNumber> Temperature |
|
|
| |
|
|
| warning level |
|
|
| |
|
|
|
|
Examples
RMON event traps
The following is an example of how to generate an SNMP trap for an RMON event.
If you want to configure a device to send an SNMP trap when the number of broadcast packets exceeds 100, do the following:
1.Configure an RMON alarm with an ID of 1 that checks etherStatsBroadcastPkts for Port 1 every 15 seconds to see if it exceeds a specified delta threshold (i.e., a change compared to the last reading). In every sample, check if etherStatsBroadcastPkts exceeds 100 packets compared to the last measurement. If it does, send an event (id 1) with “Tom” as the owner name. The event trigger is
Console(config)#rmon alarm 1 1.3.6.1.2.1.16.1.1.1.6.1 15 delta
The rising and the falling thresholds are used for the presence and absence of one specific condition, with an oscillation buffer in between (e.g. warning versus no warning, not opposite events like “too much” and “too little”), and should be near each other to be meaningful. The data monitored may oscillate between these thresholds over time, triggering multiple events, e.g. when using the settings of 100 and 80 as in the preceding example.
62 | Brocade 6910 Ethernet Access Switch MIB Reference |
|