> My client is interacting with the snmpd process which needs to get all
> of these values from my subagent.  Starting snmpd with -Dagentx shows
> each variable being handled in the agentx protocol and putting snmp_log()
> calls in my MIB implementation shows that each value is retrieved by the
> subagent.  That suggests to me that the failure is in snmpd but why would 
> it give me back all the values I ask for in one area and not another?

OK - try the following.

Construct a query that requests two printable string instances
(with reasonably distinctive values).   From the description you've
given, it sounds as if you'll actually only receive one of these
(depending on which order they appear in the request).
   Is that correct?


Run the master agent using

        snmpd -f -L -d

and re-start the subagent(s).   You should see a flurry of activity
as the subagent(s) register with the master agent.

Once this has calmed down, run your example command (once).
You should see four packet dumps in the master agent output -
the incoming request, passing this on to the AgentX subagent,
receiving the results from the AgentX subagent, and passing
this back to the original application.
   Do you get this?


Look at the two response packet dumps - you should be able
to see the string values (either one or two).
What do you see:

    a)  In the third (subagent->master) packet dump ?
    b)  In the fourth (master->app) packet dump ?   

That should identify where the source of the problem lies.

Dave



-------------------------------------------------------
This SF.Net email is sponsored by: GNOME Foundation
Hackers Unite!  GUADEC: The world's #1 Open Source Desktop Event.
GNOME Users and Developers European Conference, 28-30th June in Norway
http://2004/guadec.org
_______________________________________________
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