cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1176
Views
0
Helpful
1
Replies

EEM detector SNMP OID does not work

xiaolche01
Level 1
Level 1

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 1

Leo Laohoo
Hall of Fame
Hall of Fame

Duplicate post. 

 

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

Review Cisco Networking for a $25 gift card