On Wed, 01 Jun 2005 13:21:46 -0700 John wrote:
JH> >>>> I'm using NET-SNMP 5.2.1 which I have extended with my own
JH> >>>> MIB and configured to proxy for Squid (the caching software).
JH> >>>> Squid is running on the same machine but implements its own agent,
JH> >>>> which is listening on UDP port 3401.   The problem is that when I
JH> >>>> walk my MIB with the proxy for Squid enabled, the walk terminates
JH> >>>> badly. 
JH> >>>
JH> Here's what happens at the end of the walk of my MIB:
JH> 
JH> agent calls my code (built into the agent with the old UCD interface)
JH> with the second to the last OID asking for the next OID (exact == 0).
JH> 
JH> 1) My code returns the OID and value of my last object.
JH> 2) Agent calls my code with the last OID asking for the next one.
JH> 3) My code returns NULL 
JH> 4) Agent sends this same OID over the proxy connection to Squid.
JH> 5) Squid returns NO SUCH NAME.
JH> 6) agent returns NO SUCH NAME error on the last GETNEXT from
JH>     snmpwalk.

That does sound like a bug in our agent. It should move on to the next tree.
I'm not familair with the proxy code, but I can take a quick look and see if
it's something easy.

I'd suggest submitting a bug-report so the issue doesn't get forgotten...

-- 
NOTE: messages sent directly to me, instead of the lists, will be deleted
      unless they are requests for paid consulting services.

Robert Story; NET-SNMP Junkie
Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp>  
Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-users>

You are lost in a twisty maze of little standards, all different. 


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to