I'm trying to use SNMP GET interception with 'istable yes'. Ideally, I would like to pass the entire OID to a Tcl script that will then use the table index as an input to alter its behavior in generating the output, which will then be passed as a variable to the snmp-object-value action.
Here's the sample config used with my test:
event manager applet getTest
event snmp-object oid 188.8.131.52.9 type int sync yes istable yes
action 10 syslog msg "OID: $_snmp_oid"
action 20 snmp-object-value event-id _event_id int 1234 next-oid 184.108.40.206.10
action 30 exit 1
Here's the response, including the value of _snmp_oid: