Dave: I am only asking for very standard Oids: sysUptime, sysname and
If number. They are all returned by either a v3 or a v1 snmpget.
Recompiling the app for a v 1 session, did yield an error int of -11:
indicating a BAD_ASN_BUILD. There seems to be trouble constructing the
oids and getting them into the request Pdu. Also, the reponse Pdu
struct pointer is null. So nothing has gone out.
What causes Asn builds to go bad?

thanks,

Geoffrey Bays

On Fri, Aug 7, 2009 at 11:44 AM, Dave Shield<[email protected]> wrote:
> 2009/8/7 Geoffrey Bays <[email protected]>:
>> I have an app that is getting a v3 Snmp session to open,
>> but the GET request is failing...
>
>> Any suggestions on how to debug
>
>
> Try running the same GET request using the "snmpget" command,
> to check whether the problem lies with the agent or the requesting
> application.
>  It would also be worth running an equivalent v1 or v2 GET request,
> to check whether the problem lies with the v3 settings, or the OIDs
> being requested.
>
> Dave
>

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to