I tried modifying my call to the sub to be more specific (skipping the scalars), and inserting a print "OID:$oid\n"; just before the get_table() call. This produced the following output:
(there are two separate calls currently - the first fails, the second succeeds).OID:1.3.6.1.4.1.3309.1.4.17.5 ERROR: Received noError(0) error-status at error-index 1 OID:1.3.6.1.4.1.3309.1.4.4
snmpwalk -v1 -c XXXXXX x.x.x.x 1.3.6.1.4.1.3309.1.4.17.5 SNMPv2-SMI::enterprises.3309.1.4.17.5.1.2.1 = Counter32: 1 SNMPv2-SMI::enterprises.3309.1.4.17.5.1.4.1 = IpAddress: 61.115.200.69 SNMPv2-SMI::enterprises.3309.1.4.17.5.1.6.1 = IpAddress: 61.115.200.99 SNMPv2-SMI::enterprises.3309.1.4.17.5.1.10.1 = INTEGER: 1
So, based on the above (and your earlier comments in the CB), I'm fairly convinced now that the problem lies with the get_table() method.
My next approach will be to investigate using get_next_request instead, as you suggested in the CB. (unless you have any other suggestions? ;)
Thanks again for your help :)
In reply to Re^2: Net:SNMP get_table() method failing
by McDarren
in thread Net:SNMP get_table() method failing
by McDarren
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |