01-23-2013 12:53 PM
i am current using event manager to check for output drops on an interface every 24 hours. I am sending this syslog message to LMS for alerting. I would like to including in the action description the difference in oid value (current oid value - oid value last polling). Is this possible to create the value and pass it through in the syslog message?
thanks!
event manager applet OUTPUT_DROPS
event snmp oid 1.3.6.1.2.1.2.2.1.19.10148 get-type exact entry-op gt entry-val "1" entry-type increment poll-interval 86400
action 1 syslog priority critical msg "Interface ouput drops have increased since last polling" facility "QOS"
Solved! Go to Solution.
01-23-2013 02:12 PM
Please see:
http://www.cisco.com/en/US/docs/ios/netmgmt/configuration/guide/nm_eem_policy_cli.html#wp1064371
Scroll down to the section in this table about "SNMP Event Detector"
You can use the variables shown in your actions for applets triggered by the SNMP OID events. For example:
action 1 syslog priority critical msg "Interface ouput drops have increased to: $_snmp_oid_val" facility "QOS"
Mike
01-23-2013 02:12 PM
Please see:
http://www.cisco.com/en/US/docs/ios/netmgmt/configuration/guide/nm_eem_policy_cli.html#wp1064371
Scroll down to the section in this table about "SNMP Event Detector"
You can use the variables shown in your actions for applets triggered by the SNMP OID events. For example:
action 1 syslog priority critical msg "Interface ouput drops have increased to: $_snmp_oid_val" facility "QOS"
Mike
01-23-2013 09:11 PM
perfect. thanks for the help.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide