Apparently we have no extend, etc, entries, though there's a "perl do";
here is the full text (excluding comments and blank lines) of the 3
snmpd.conf files I found on the system (=== lines are my commentary):

=== Non-comment contents of /var/net-snmp/snmpd.conf
setserialno 463370307
engineBoots 211
oldEngineID 0x80001f88803fa6fa6b0f778f4700000000
=== Contents of (recently created) /etc/snmp/snmpd.conf
#version 1
trapsink 192.168.1.122
rocommunity public
rwcommunity private
syscontact Larry Dickson
syslocation Cutting Edge
master agentx
perl do /etc/edgeware-subagent.pl
=== Non-comment contents of /usr/libexec/webmin/mon/snmp-trap/snmpd.conf
=== which is said to have been " created by the snmpconf configuration
program"
rwuser  dude noauth
rouser dude auth
rocommunity public
rwcommunity private
syslocation Gillespie Way
syscontact Daniel Machev
master agentx
trapsink 192.168.1.22
perl do /etc/edgeware-subagent.pl

Also, 2nd question - What should be our subagent's response to a "getnext"
on the last leaf in our subtree?

Larry Dickson

On 2/11/08, Dave Shield <[EMAIL PROTECTED]> wrote:
>
> On 11/02/2008, Larry Dickson <[EMAIL PROTECTED]> wrote:
> > Getnext results for netSnmp.x
> > 1.4 nsCacheDefaultTimeout.0
> > 1.5 same
>
> So the cache modules is working OK....
>
> > 1.6 nsDebugEnabled.0
> > 1.7 same
>
> ... as is the debug module...
>
> > 1.8 enterprises.22782.1.2.1.1.0 = Timeticks (start of our subtree)
>
> ... and the rest of the NetSNMP tree is empty.
> All that looks fine.
>
>
> > >   ....  It's only if you tried something like
> > >       snmpget .... netSnmp.1.3.2.1.0
> > >
> > > that I'd expect you to get an answer (nsExtendNumEntries.0)
> >
> >
> > netSnmp.1.3.2.1 gave noSuchName Failed object: nsExtendNumEntries
>
> As expected.
>
> > and netSnmp.1.3.2.1.0 timed out.
>
> OK - so that's where the problem is.
>
> Do you have any "extend" or "exec" or "sh" entries in your snmpd.conffile?
>
> Dave
>
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to