[AGENT++] snmpGet on a scalar value (atm_mib example)
Caminati Carlo
C.Caminati at selta.it
Mon May 14 13:52:31 CEST 2007
Hello
I took a look to samples in agent++ 3.5.16c
using MS VC++ 6.0
with atm_mib I've seen that walk works well, but when
I tried a get (using snmpget included in snmp++ library)
on the unique scalar defined
(oidAgentppTestTimeout "1.3.6.1.4.1.4976.6.3.1.1.0")
I've got an error message
SnmpGet.exe 127.0.0.1 1.3.6.1.4.1.4976.6.3.1.1.0 -p4700
SNMP++ Get to 127.0.0.1 SNMPV1 Retries=1 Timeout=1000ms Community=public
20070514.12:12:23: 800: (4)DEBUG : SNMPMessage: return value for build
message:
(0)
SNMP++ Get Error, SNMP: Variable does not exist (2)
TIA
Carlo
More information about the AGENTPP
mailing list