I have an embedded event manager script which polls a particular interface every 24 hours and checks if their has been interface output drops since last polling. This creates a syslog message which is sent to LMS. I would like to include in the action description the difference in oid value since the last polling. In other words i would like to include in my syslog message the following calculation : current oid value - oid value last poll.
is this possible.
event manager applet OUTPUT_DROPS
event snmp oid 126.96.36.199.188.8.131.52.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 output drops have increased since last polling period" facility "QOS"