[c-nsp] How does Cisco IOS EEM SNMP event polling internally work?

Martin T m4rtntns at gmail.com
Fri Jun 5 11:54:57 EDT 2015


Hi,

under Cisco IOS Embedded Event Manager applet configuration mode one
needs to specify the event which triggers the action. One possible
event is SNMP event. For example following configuration line will
trigger actions if CPU usage for last 5 seconds is greater than or
equal to 90%:

event snmp oid .1.3.6.1.4.1.9.9.109.1.1.1.1.3 get-type exact entry-op
ge entry-val 90 poll-interval 0.5

As seen above, SNMP OID polling interval is 0.5s. Does this command
execute internally something like snmpget after every 500ms? I
debugged SNMP events(for example "debug snmp requests" in exec mode)
and this "event snmp oid ..." command did not seem to trigger any SNMP
related events. Or how does Cisco IOS EEM SNMP event polling
internally work?


thanks,
Martin


More information about the cisco-nsp mailing list