Example: SNMP Monitoring of Multiple MIB Objects
You can configure SNMP to monitor a column of a MIB table and configure SNMP notifications to include MIB objects located in the same row as the object that generates the event. This example shows how to configure an alarm to generate an event in response to error conditions and send notifications that contain both the number of router errors and router timeouts.
This example uses the juniSaeRouterTable shown in Table 10. SNMP monitors the juniSaeRouterMsgErrors branch, and sends a notification object (juniSdxMibs.24.2.1) for the objects in the same row as the object attached to the notification: juniSaeRouterMsgTimeouts and juniSaeRouterMsgErrors. The monitor generates an event named routerErrorEvent for the column juniSaeRouterMsgErrors.
Table 10: Example Table for juniSaeRouterTable Object
juniSaeRouterClinetId | juniSaeRouterMsgErrors | juniSaeRouterMsgTimeouts |
---|---|---|
default@router1 | 100 | 5 |
default@router2 | 11 | 0 |
default@router3 | 52 | 2 |
... | ... | ... |
The following example shows the configuration for this scenario.