[AGENT++] Issue with snmpGet for a scalar value.

ABIL GEORGE abil.george at oracle.com
Wed Aug 27 11:52:25 CEST 2008


Hi,

       I am having issues using snmpGet function for retrieving scalar value. snmpWalk on the same oid works fine. I get the following error when using snmpGet.
       SNMP++ Get Error, SNMP: Variable does not exist (2).

       Here are the commands which I ran
       katamari:pin2713 35mui> snmpWalk katamari 1.3.6.1.4.1.3512.1.9.1.1.1.1.1 -P13213 -S  (Works fine)
       snmpWalk to katamari SNMPV1 Retries=1 Timeout=1000ms Community=public
       3.6.1.4.1.3512.1.9.1.1.1.1.1.17.0 = 0
       3.6.1.4.1.3512.1.9.1.1.1.1.1.134.0 = 0
       3.6.1.4.1.3512.1.9.1.1.1.1.1.174.0 = 0

       katamari:pin2713 36mui> snmpGet katamari 1.3.6.1.4.1.3512.1.9.1.1.1.1.1.17.0 -P13213 (Works fine)
       SNMP++ Get to katamari SNMPV1 Retries=1 Timeout=1000ms Community=public
       Oid = 1.3.6.1.4.1.3512.1.9.1.1.1.1.1.17.0
       Value = 0

       katamari:pin2713 36mui> snmpGet katamari 1.3.6.1.4.1.3512.1.9.1.1.1.1.1.134.0 -P13213 (Errors out)
       SNMP++ Get to katamari SNMPV1 Retries=1 Timeout=1000ms Community=public
       SNMP++ Get Error, SNMP: Variable does not exist (2)

       katamari:pin2713 45mui>  snmpWalk katamari 1.3.6.1.4.1.3512.1.9.1.1.1.1.1.134  -P13213 -S (Works fine)
       SNMP++ snmpWalk to katamari SNMPV1 Retries=1 Timeout=1000ms Community=public
       1.3.6.1.4.1.3512.1.9.1.1.1.1.1.134.0 = 0
       End of SUBTREE Reached
       Total # of Requests = 2
       Total # of Objects  = 1


       katamari:pin2713 36mui> snmpGet katamari 1.3.6.1.4.1.3512.1.9.1.1.1.1.1.174.0 -P13213 (Errors out)
       SNMP++ Get to katamari SNMPV1 Retries=1 Timeout=1000ms Community=public
       SNMP++ Get Error, SNMP: Variable does not exist (2)
       
       katamari:pin2713 45mui>  snmpWalk katamari 1.3.6.1.4.1.3512.1.9.1.1.1.1.1.174  -P13213 -S (Works fine)
       SNMP++ snmpWalk to katamari SNMPV1 Retries=1 Timeout=1000ms Community=public
       1.3.6.1.4.1.3512.1.9.1.1.1.1.1.174.0 = 0
       End of SUBTREE Reached
       Total # of Requests = 2
       Total # of Objects  = 1

       The version I am using is agent_pp v3.5.26, snmp_pp_v3.2.20, agentx_pp_v1.4.14

Thanks,
Abil


More information about the AGENTPP mailing list