[AGENT++] How to get values put in a table?
Subha Velayutham
vsubha at gmail.com
Wed Sep 14 01:11:08 CEST 2005
Hi Frank,
I am using snmpv2 community and the public community has read access. So it
is not the access setting.
In the attached file you can find the MIB definition for the table, the
class definition generated by AGenPro and the code that enters values into
the table.
Thanks for looking into this. Expecting your reply. We really need to find
out what we are doing wrong.
Thanks,
Subha
On 9/13/05, Frank Fock <fock at agentpp.com> wrote:
>
> Hi,
>
> Have you checked the view access settings?
> In order to be able to help further, we would need to know your
> table and index MIB definition as well as the probably the
> table constructor and the code that adds the rows.
>
> Best regards,
> Frank
>
>
> Subha Velayutham wrote:
>
> >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><
> 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><
> 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>
> <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
> >_______________________________________________
> >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
>
>
>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: SendToFrank.txt
Url: http://lists.agentpp.org/pipermail/agentpp/attachments/20050913/2cc3df64/attachment.txt
More information about the AGENTPP
mailing list