[AGENT++] Issue with snmpGet for a scalar value.
Frank Fock
fock at agentpp.com
Wed Aug 27 23:36:06 CEST 2008
Hi Abil,
Have you licensed AgentX++ for commercial use?
(I have not found a such a license for Oracle
in my records)
In order to be able to help, I need to know
what object class (MibLeaf, MibTable, or
AgentXSharedTable) instruments
1.3.6.1.4.1.3512.1.9.1.1.1.1.1.134.0 and
1.3.6.1.4.1.3512.1.9.1.1.1.1.1.174.0
and whether those objects are implemented in
a subagent or the master agent.
In addition, are both (master and subagent)
AgentX++?
Best regards,
Frank Fock
ABIL GEORGE wrote:
> 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
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> AGENTPP mailing list
> AGENTPP at agentpp.org
> http://lists.agentpp.org/mailman/listinfo/agentpp
--
AGENT++
http://www.agentpp.com
http://www.mibexplorer.com
http://www.mibdesigner.com
More information about the AGENTPP
mailing list