To view the status of the SNMP agent, use the following show snmp agent command. To view statistics associated with events, resources, and triggers, use the show snmp management-event command.
show snmp agent
host1#show snmp agent context name: router1 access permission level: no access snmp proxy: enabled
show snmp management-event
host1#show snmp management-event
Resource
---------------------------------------------------------------------------
SampleMinimum: 1
SampleInstanceMaximum: 50
SampleInstances: 14
SampleInstancesHigh: 14
SampleInstancesLacks: 0
Triggers
---------------------------------------------------------------------------
Owner: unitTest
Name: booleantest1
Test: boolean
SampleType: absoluteValue
ValueID: 1.3.6.1.2.1.92.1.1.2.0
ValueIDLimit: 0
ValueIDWildcard: False
ContextName: router1
ContextNameLimit: 0
ContextNameWildcard: False
Frequency: 40
ObjectsOwner: unitTest
Objects: test3
Enabled: False
EntryStatus: createAndWait
------------------------ Boolean
Comparison: equal
Value: 300
Startup: False
ObjectsOwner:
Objects:
EventOwner: unitTest
Event: eventTest1
--------------------------------- Trigger
Owner: unitTest
Name: booleantest2
Test: boolean
SampleType: absoluteValue
ValueID: 1.3.6.1.2.1.92.1.1.2.0
ValueIDLimit: 0
ValueIDWildcard: False
ContextName: router1
ContextNameLimit: 0
ContextNameWildcard: False
Frequency: 40
ObjectsOwner: unitTest
Objects: test3
Enabled: False
EntryStatus: createAndWait
------------------------ Existence
Test: absent
Startup: absent
ObjectsOwner: unitTest
Objects: test3
EventOwner: unitTest
Event: eventTest3
------------------------ Threshold
Startup: falling
Rising: 200
Falling: 100
DeltaRising: 0
DeltaFalling: 0
ObjectsOwner:
Objects:
RisingEventOwner: unitTest
RisingEvent: eventTest2
FallingEventOwner: unitTest
FallingEvent: eventTest3
DeltaRisingEventOwner:
DeltaRisingEvent:
DeltaFallingEventOwner:
DeltaFallingEvent:
------------------------ Delta
DiscontinuityID: 1.3.6.1.2.1.92.1.1.2
DiscontinuityIDWildcard: True
DiscontinuityIDType: timeTicks
Objects --------------------------------------------------------------------------- Owner: unitTest Name: test1 Index: 1 ID: 1.3.6.1.2.1.11.1.0 IDWildcard: False EntryStatus: active Index: 2 ID: 1.3.6.1.2.1.11.2.0 IDWildcard: False EntryStatus: active Index: 5 ID: 1.3.6.1.2.1.11.30.0 IDWildcard: False EntryStatus: active
Events --------------------------------------------------------------------------- Owner: unitTest Name: eventTest1 Actions: notification set Enabled: True EntryStatus: active ------------------------ Notification Notification: mteTriggerFired ObjectsOwner: unitTest Objects: test3 ------------------------ Set Object: 1.3.6.1.2.1.11.1.0 ObjectWildcard: False Value: -20 ContextName: router ContextNameWildcard: True