[ First - *please* don't mail me privately, without copying
         any responses to the mailing list.  I don't have the time
         or inclination to offer private, unpaid, SNMP consultancy.
         Keep discussions to the list, where others can both learn
         and offer advice.  Thanks.   ]


On Tue, 2005-01-04 at 16:14, Michael Dupuis wrote:
> On Jan 4, 2005, at 10:24 AM, Dave Shield wrote:
> 
> > Did you compile this yourself, or is it a pre-compiled
> > distribution?  If so, where from?
> 
> This is a build we are trying to do ourselves. These are the configure 
> flags used to build it:
> 
> ./configure \
>          --localstatedir=/var \
>          --sysconfdir=/etc \
>          --with-persistent-directory=/var/net-snmp \
>          --with-default-snmp-version=3 \
>          [EMAIL PROTECTED] \
>          --with-sys-location=not-applicable \
>          --with-logfile=/var/log/net-snmp \
>               --with-mib-modules="host disman/event-mib"

OK - that looks sensible enough.


> Another piece of information, we're building this on a Slackware 
> distribution.

Noted.
I can't see how that should be relevant, but it might be
useful to know.

> > Other things to try:
> >
> > a)  What is the full output of
> >        snmpwalk -v 1 -c public localhost nsModuleName

        [sniiip]
> NET-SNMP-AGENT-MIB::nsModuleName."".9.1.3.6.1.4.1.2021.100.1.127 = 
> STRING: ucd-snmp/versioninfo
> NET-SNMP-AGENT-MIB::nsModuleName."".9.1.3.6.1.4.1.2021.100.2.127 = 
> STRING: ucd-snmp/versioninfo
> NET-SNMP-AGENT-MIB::nsModuleName."".9.1.3.6.1.4.1.2021.100.3.127 = 
> STRING: ucd-snmp/versioninfo
        [etc, etc]

So the agent *is* loading the UCD version module,
even though it's not reporting the contents to you.

> > b)  Try running
> >        snmpd -f -Le -Dread-config
> >     What config files are being read in?
> >     Are there any access control lines you weren't expecting?
> >
> 
> Cannot find module (NET-SNMP-EXTEND-MIB): At line 0 in (none)
> dlopen failed: /opt/ris/bin/archivasPluginObject.so: undefined symbol: 
> write_header
> Turning on AgentX master support.
> /etc/snmp/snmpd.conf: line 105: Warning: Unknown token: arcLogLevel.
> /etc/snmp/snmpd.conf: line 106: Warning: Unknown token: arcSpreadPort.
> NET-SNMP version 5.2.1.pre1

Hmmmm....
  Mention of /etc/snmp/snmpd.conf (rather than /usr/local/...)
would normally be an indication that you're using a pre-installed
version rather than your own compilation.
  But your configure string would be pointing things at this file,
and version 5.2.1.pre1 is very unlikely to be part of a pre-installed
distribution :-)   So that can't be it.

Is that the *only* output from the -Dread-config invocation?
You ought to be seeing debugging statements as the agent reads
in each config file....


> There are a few things that we are trying to add to the agent, 
> essentially commands specific to our own management. Could these 
> failures be interfering with the overall operation? Would it help if I 
> tried to take the additions out?

It might be worth trying with a vanilla 5.2.1.pre1 (or rc2) install,
but I'd be surprised if your additions were screwing up the standard
stuff.
  The most likely cause is still another config setting that restricts
the accessible views.   Hence suggesting you use -Dread-config

Dave



-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
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