[prev in list] [next in list] [prev in thread] [next in thread] 

List:       net-snmp-coders
Subject:    Re: GETNEXT stumbles at end of some subtrees
From:       "Larry Dickson" <ldickson () cuttedge ! com>
Date:       2008-02-12 15:03:25
Message-ID: 1c748a490802120703s7f5acc58p68a9f09208fef245 () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


On 2/12/08, Dave Shield <D.T.Shield@liverpool.ac.uk> wrote:
>
> On 11/02/2008, Larry Dickson <ldickson@cuttedge.com> wrote:
> > I inserted ### before the "perl do" line in each copy of snmpd.conf that
> had
> > it.
>
> And restarted the agent, I presume?


Yes, with service snmpd restart.

>   The behavior did not change, i.e. it still timed out as before.
>
> Hmmmm....
> Curiouser and curiouser....
>
> Other things to try:
>
>    -   snmpgetnext .... netSnmp.1.3.2.2    (the config table)
>             does this work or hang?
>
>   -   run snmpd using "-DnsExtendTable" and repeat these queries
>             what does snmpd report?
>
>   -  run snmpd using "-Dread_config"
>             do you see anything unexpected?
>
> How was the agent configured/compiled originally?


I'll have to dig into these things later... the boss wants to focus on
failover. I'll get back to you.

>                             I forgot to mention, when I do a
> > getnext on netSnmp.1.8 I get an additional line that says
> >
> > Connection from <UNKNOWN>
> >
> > before it jumps to our private subtree;
>
> I don't think that is relevant.
> The problem definitely seems to be related to the nsExtend subtree.


But that still leaves my 2nd question... how does a subagent respond to a
getnext on its last leaf?

Larry Dickson

Dave
>

[Attachment #5 (text/html)]

<br>
<div><span class="gmail_quote">On 2/12/08, <b class="gmail_sendername">Dave \
Shield</b> &lt;<a href="mailto:D.T.Shield@liverpool.ac.uk">D.T.Shield@liverpool.ac.uk</a>&gt; \
wrote:</span> <blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px \
0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">On 11/02/2008, Larry Dickson &lt;<a \
href="mailto:ldickson@cuttedge.com">ldickson@cuttedge.com</a>&gt; wrote:<br> &gt; I \
inserted ### before the &quot;perl do&quot; line in each copy of snmpd.conf that \
had<br>&gt; it.<br><br>And restarted the agent, I presume?</blockquote> \
<div>&nbsp;</div> <div>Yes, with service snmpd restart.</div><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; \
BORDER-LEFT: #ccc 1px solid">&gt;&nbsp;&nbsp; The behavior did not change, i.e. it \
still timed out as before.<br><br>Hmmmm....<br>Curiouser and curiouser....<br> \
<br>Other things to try:<br><br>&nbsp;&nbsp; -&nbsp;&nbsp; snmpgetnext .... \
netSnmp.1.3.2.2&nbsp;&nbsp;&nbsp;&nbsp;(the config \
table)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;does \
this work or hang?<br><br>&nbsp;&nbsp;-&nbsp;&nbsp; run snmpd using \
&quot;-DnsExtendTable&quot; and repeat these \
queries<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;what \
does snmpd report?<br> <br>&nbsp;&nbsp;-&nbsp;&nbsp;run snmpd using \
&quot;-Dread_config&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;do \
you see anything unexpected?<br><br>How was the agent configured/compiled \
originally?</blockquote> <div>&nbsp;</div>
<div>I&#39;ll have to dig into these things later... the boss wants to focus on \
failover. I&#39;ll get back to you.</div><br> <blockquote class="gmail_quote" \
style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px \
solid">&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb \
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
I forgot to mention, when I do a<br>&gt; getnext on netSnmp.1.8 I get an additional \
line that says<br> &gt;<br>&gt; Connection from &lt;UNKNOWN&gt;<br>&gt;<br>&gt; \
before it jumps to our private subtree;<br><br>I don&#39;t think that is \
relevant.<br>The problem definitely seems to be related to the nsExtend \
subtree.</blockquote>

<div>&nbsp;</div>
<div>But that still leaves my 2nd question... how does a subagent respond to a \
getnext on its last leaf?</div> <div>&nbsp;</div>
<div>Larry Dickson</div><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; \
BORDER-LEFT: #ccc 1px solid">Dave<br></blockquote></div><br>



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic