05-31-2014 07:17 PM
I want to detect snmp OID to check policy-map class traffic rate and generate syslog when traffic rate is more than a number.
below is my applet :
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 the "policy rate-limit" in syslog, and i got below information from "debug event manager detector snmp "
Jun 1 02:12:29.134 GMT: fh_fd_snmp_process_async
Jun 1 02:12:29.134 GMT: fh_fd_snmp_process_poll_timer: re=0x3D144824, timer_type=POLL
Jun 1 02:12:29.134 GMT: fh_fd_snmp_process_poll_timer: OID unavailable, value check skipped
Jun 1 02:12:29.134 GMT: fh_fd_snmp_start_poll_timer: start_t=10000
i can get router snmp oid response from command line
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
where is wrong? please help.
06-01-2014 02:25 PM
Drop the leading '.' in your applet OID. The OID should be 1.3.6.1.4.1.9.9.166.1.15.1.1.10.50.196608
06-01-2014 06:54 PM
Thanks for help. it works !
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: