Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

EEM detector SNMP OID does not work

i want to use EEM to detector policy-map class traffic rate, if class traffic is more than a number, trigger syslog message.

below is my EEm script  on ASR1002 ( asr1000rp1-adventerprisek9.02.04.02.122-33.XND2.bin)

event manager applet Rate-limit
 event snmp oid ".1.3.6.1.4.1.9.9.166.1.15.1.1.10.50.196608" get-type exact entry-op gt entry-val "100" poll-interval 10
 action 1.0 syslog msg "policy Rate-limit"

but i did not see anything showing on syslog. from debug, i got below error msg :

Jun  1 02:21:49.160 GMT: fh_fd_snmp_process_async
Jun  1 02:21:49.160 GMT: fh_fd_snmp_process_poll_timer: re=0x3D144824, timer_type=POLL
Jun  1 02:21:49.160 GMT: fh_fd_snmp_process_poll_timer: OID unavailable, value check skipped
Jun  1 02:21:49.160 GMT: fh_fd_snmp_start_poll_timer: start_t=10000

 

but i could get number from snmpwalk command :

xchen-mac:~ xchen$ snmpwalk -v 2c -c <string> -m ALL stde1002a .1.3.6.1.4.1.9.9.166.1.15.1.1.10.50.196608
SNMPv2-SMI::enterprises.9.9.166.1.15.1.1.10.50.196608 = Counter64: 112938

 

please help me where is wrong ?

1 REPLY
Hall of Fame Super Gold

Duplicate post.  Go here:

Duplicate post. 

 

Go here:  https://supportforums.cisco.com/discussion/12219976/eem-detect-snmp-event-not-working

149
Views
0
Helpful
1
Replies
CreatePlease login to create content