in reply to Re^4: SNMP from script conflicts with snmpwalk
in thread SNMP from script conflicts with snmpwalk
But it appears that you must be calling getnext in an invalid manner. Try breaking down the problem a little.
Firstly, use 'getnext' on 'svPrintQName' only. Then identify the row number that is returned to you (in the above examples you were returned 10.65.54.95.49.54.52.48.95.99.110 and 10.68.49.95.51.49.57.95.67.78.51). Then perform a 'get' on the 'svShareComment' object with the rowID that you just extracted from the result of 'getnext svPrintQName'..
The snmpwalk command line tool is showing you that the SNMP Agent you're querying has the results you want, so it's a matter of digging through the documentation you have for the module you're using and learning how to use it correctly.
|
|---|