Re: Walk ends badly when proxy enabled

This is a discussion on Re: Walk ends badly when proxy enabled within the SNMP Users forums, part of the Networking and Network Related category; On Wed, 01 Jun 2005 13:21:46 -0700 John wrote: JH> >>>> I'm using ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-08-2005
Robert Story
 
Posts: n/a
Default Re: Walk ends badly when proxy enabled

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/...net-snmp-users
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:06 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0