Monitoring Information About a Statistical SNMP Event
Purpose
Display statistical SNMP event information for event table entries, router resources, and trigger table entries. You can display the event information only for event table entries, router resources, or trigger table entries by the events, resource, statistics, or triggers options.
Action
To display statistical SNMP event information for event table entries, router resources, and trigger table entries:
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
Meaning
Table 1 lists the show snmp management-event command output fields.
Table 1: show snmp management-event Output Fields
Field Name | Field Description |
---|---|
Resource | |
SampleMinimum | Minimum number of samples to be taken |
SampleInstanceMaximum | Maximum number of samples to be taken |
SampleInstances | Number of sample instances being monitored |
SampleInstancesHigh | Highest number of samples taken for any of the sample instances |
SampleInstancesLacks | Number of times this system could not take a new sample because that allocation would have exceeded the limit set by mteResourceSampleInstanceMaximum |
Triggers | |
Owner | Owner value assigned to the trigger |
Name | Name value assigned to the trigger |
Test | Type of trigger test to perform |
SampleType | Type of sampling (absolute or delta) to perform |
ValueID | Object ID of the MIB sample for this trigger |
ValueIDLimit | Not supported in this release; reads as zero |
ValueIDWildcard | Not supported in this release; reads as False |
ContextName | Management context (for example, router1) from which to obtain mteTriggerValueID |
ContextNameRgulrExprssn | Not supported in this release |
ContextNameLimit | Not supported in this release; reads as zero |
ContextNameWildcard | Not supported in this release; reads as False |
Frequency | Frequency at which this trigger is sampled |
ObjectsOwner | Not supported in this release |
Objects | Not supported in this release |
Enabled | State (False [disabled] or True [enabled]) of the trigger |
EntryStatus | Active/inactive status of the instance |
Boolean | |
Comparison | Comparison value for this trigger |
Value | Object ID value to which this trigger compares |
Startup | Whether or not this trigger performs a Boolean test on startup |
ObjectsOwner | Owner of this object |
Objects | Name of this object |
EventOwner | Owner of this event |
Event | Name of this event |
Existence | |
Test | Test type for this trigger |
Startup | Startup condition for this trigger |
ObjectsOwner | Owner of this object |
Objects | Name of this object |
EventOwner | Owner of this event |
Event | Name of this event |
Statistics | |
trigger owner | Owner value assigned to the trigger |
trigger name | Name value assigned to the trigger |
current time | Current UTC time |
started sampling | UTC time sampling started |
last sampled | UTC time event last sampled |
sample instances | Number of sample instances being monitored |
times sampled | Number of times events sampled |
event traps | Number of traps sent |
event sets | Number of events set |
failures | Number of event failures |
sample overrun | Number of times the event manager missed sampling for the current value within the given time period |
failure traps | Number of failure traps sent as a result of event failures |
Threshold | |
Startup | Startup threshold condition for this trigger |
Rising | Rising threshold condition for this trigger |
Falling | Falling threshold condition for this trigger |
DeltaRising | Delta rising threshold condition for this trigger |
DeltaFalling | Delta falling threshold condition for this trigger |
ObjectsOwner | Not supported in this release |
Objects | Not supported in this release |
RisingEventOwner | Rising event owner value for this trigger |
RisingEvent | Rising event name value for this trigger |
FallingEventOwner | Falling event owner value for this trigger |
FallingEvent | Falling event name value for this trigger |
DeltaRisingEventOwner | Delta rising event owner value for this trigger |
DeltaRisingEvent | Delta rising event name value for this trigger |
DeltaFallingEventOwner | Delta falling event owner value for this trigger |
DeltaFallingEvent | Delta falling event name value for this trigger |
Delta | |
DiscontinuityID | Discontinuity MIB ID for this trigger |
DiscontinuityIDWildcard | Not supported in this release |
DiscontinuityIDType | Discontinuity ID type for this trigger |
Events | |
Owner | Owner value for this event |
Name | Name of this event |
Actions | Action (for example, notification) that takes place when this event is triggered |
Enabled | Enabled state (True [enabled] or False [disabled]) of this event |
EntryStatus | Entry status for this event |
Notification | |
Notification | Notification trap setting for this event |
ObjectsOwner | Not supported in this release |
Objects | Not supported in this release |
Set | |
Object | Object ID that the trigger is setting |
ObjectWildcard | Whether or not the object is a wildcard |
Value | Value to which you are setting the object ID when the trigger fires |
ContextName | Management context (for example, router1) from which to obtain mteTriggerValueID |
ContextNameWildcard | Whether or not the context name is a wildcard |