I am on 3750 with ios 12(52)SE has EEM Version 3.2. I would like to be able to change the running configuration using EEM and snmp. I have this code snippet which seems to work. But I need to be able to run up to 10 different TCL scripts based on 10 different SNMP queries. Its so we can add or delete specific multicast streams from an outgoing port.
is there anyway to get that to work with multiple smpb-objects and tcl scripts?
event manager applet ADD-PLAYBACK-1
event snmp-object oid 18.104.22.168.9 type gauge sync yes istable no
action 1.0 policy ADD-PLAYBACK-1.TCL
action 2.0 snmp-object-value event-id _event_id gauge 0 next-oid 22.214.171.124.9.0
action 3.0 exit 1