[AGENT++] SNMP++ Get Error, SNMP: Variable does not exist

Jochen Katz katz at agentpp.com
Fri Dec 14 21:55:08 CET 2012


Hi,

the snmpGet example requests exactly the OID you are passing as command
line argument. I suggest that you also compile the snmpWalk example,
that is able to print all available OIDs of the agent.

Regards,
  Jochen

Am 14.12.2012 15:50, schrieb amine mohamed:
> 
> HI, i'm trying to understand how to create an snmp agent .so, i
> compiled two projects examples snmpget.exe and amb_atm.exe (example
> with amb_atm mib) so when i start the programs i get the error
> "SNMP++ Get Error, SNMP: Variable does not exist" almost all the time
> exept for 1.3.6.1.2.1.1.1.0 and 1.3.6.1.2.1.37.1.13.0 so what is the
> problem ? do i need to add anything to the registry or what ? i test
> my program with oid from files atm_mib.h ,agentpp_test_mib.h  and
> agentpp_notifytest_mib.h  ,is what i do true? and please what is the
> difference between the three of these files ?
> 
> i try to understands these examples before i begin create my agent
> witch i have generated his mib .h and mib .cpp


More information about the AGENTPP mailing list