[2015/05/15 06:22:50] #net-snmp <guest_____> Hey, am very new to snmp. I would like to query an entry from one table but use another table's index. kinda like a mysql join. Is that possible?
[2015/05/15 06:28:40] #net-snmp <guest_____> for what it's worth something like this /usr/lib/nagios/plugins/check_snmp -H 10.0.0.1 -P2c -C USER -m CISCO-IPSEC-FLOW-MONITOR-MIB -o cikeTunStatus.(select cikePeerActiveTunnelIndex from cikePeerTable.index where index = ipAddrPeer."xxxx.10".ipAddrPeer."xxxxx".500))
[2015/05/15 06:29:40] #net-snmp <rstory-work> no, sorry, you have to build the index yourself..
[2015/05/15 06:31:10] #net-snmp <guest_____> humm how would I do that ? Do you have a link?
[2015/05/15 06:41:36] #net-snmp <rstory-work> i'm not familair with nagios plugins, but you would have to snmpget cikePeerActiveTunnelIndex.ipAddrPeer."xxxx.10".ipAddrPeer."xxxxx".500, save the return value, then snmpget cikeTunStatus.$VALUE
[2015/05/15 06:41:57] #net-snmp <rstory-work> no way to do it in one operation...
[2015/05/15 06:45:18] #net-snmp <guest_____> Right ok, I thought I must be missing something as that make the whole table useless as the index contains variable info