[AGENT++] How to get values put in a table?

Subha Velayutham vsubha at gmail.com
Tue Sep 13 07:51:28 CEST 2005


Hi All! I have a Mibtable with 1 index and 2 columns. I can see that values 
are being put into the table when I step through the sub agent code. But I 
am not able to see the values when I do a snmpwalk or snmpget on the master 
agent - I amusing snmp4J console tool as my SNMP manager. snmpget when 
queried with the column oid alone returns "noSuchObject" - column oid +1 or 
columnoid +2 returns "noSuchInstance" - GETBULK also doesnot seem to help. I 
have enclosed the output here. Can someone tell me how exactly to get my 
agent to return the table values?

the xxx in the oid is where I put our company's private enterprise id.

SNMP4J.exe -c public -v 2c -p GET 127.0.0.1/4700 <http://127.0.0.1/4700> "
1.3.6.1.4.1.xxx.1.1.4.1.2.1.2"
Received response after 30 millis
Response received with requestID=189239629, errorIndex=0, 
errorStatus=Success(0)
1.3.6.1.4.1.xxx.1.1.4.1.2.1.2 = noSuchObject

SNMP4J.exe -c public -v 2c -p GET 127.0.0.1/4700 <http://127.0.0.1/4700> "
1.3.6.1.4.1.xxx.1.1.4.1.2.1.2.1"
Received response after 30 millis
Response received with requestID=758483289, errorIndex=0, 
errorStatus=Success(0)
1.3.6.1.4.1.xxx.1.1.4.1.2.1.2.1 = noSuchInstance

SNMP4J.exe -c public -v 2c -p GETBULK -Ow 127.0.0.1/4700<http://127.0.0.1/4700>"
1.3.6.1.4.1.xxx.1.1.4.1.2.1"

Total requests sent: 1
Total objects received: 10
Total walk time: 30 milliseconds
End of walked subtree '1.3.6.1.4.1.xxx.1.1.4.1.2.1' reached at:
1.3.6.1.6.3.1.1.6.1.0 = 0
1.3.6.1.6.3.10.2.1.1.0 = 80:00:13:70:05:73:75:62:68:61:2d:6c:74:12:5c
1.3.6.1.6.3.10.2.1.2.0 = 21
1.3.6.1.6.3.10.2.1.3.0 = 880
1.3.6.1.6.3.10.2.1.4.0 = 4096
1.3.6.1.6.3.11.2.1.1.0 = 0
1.3.6.1.6.3.11.2.1.2.0 = 0
1.3.6.1.6.3.11.2.1.3.0 = 0
1.3.6.1.6.3.12.1.1.0 = 0
1.3.6.1.6.3.12.1.2.1.2.49.50.55.46.48.46.48.46.49.47.49.54.50 = 
1.3.6.1.6.1.1



More information about the AGENTPP mailing list