On 2 August 2010 08:53, Julian Cebulla <[email protected]> wrote:
>>Try doing an "snmpget" request for one OID within your private enterprise.
>>What does the agent display?   (i.e. the debug output with the packet dumps)

> I tried "snmpget" on a OID from my private enterprise. At the first time I get
> "Timeout: no Response from localhost"
> When I try it a second time I get
> "FERRARI-ELECTRONIC-MIB::Productname = No Such Object available on this agent 
> at this OID"

You don't specify the exact "snmpget" command that you ran.
But it looks suspiciously as if you forgot the instance subidentifier.
Remember that you need to ask for

    snmpget ....   FERRARI-ELECTRONIC-MIB::Productname.0

when retrieving a scalar object.
(And suitable index value(s) when retrieving a table object).

But that's not the main problem here.


> Here the output from the agent from start to the second "snmpget" call:

    [snip]

Judging by that output, the GET requests is passed on to the subagent,
but nothing is ever received back.   It's almost as if the subagent has crashed.

(It might be easier to follow if you give the original request using otpions
 such as '-r 0 -t 60'.   That would avoid resending the GET request, and
 allow a bit more time for the subagent to respond)



> I have debug code in my MIB handler but there is nothing like an error.

What debug code do you have in this routine?
What is displayed when the GET request gets passed over?

Dave

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to