On 13 December 2011 18:31, Ryan Dowell <[email protected]> wrote:
>                                 I have
> been experiencing some issues with using a configuration file for an agentx
> subagent.  I am finding that the separate configuration file for the
> subagent seems to never be read when the subagent is started....

The first thing that I'd check would be whether the config file is
actually being read in at all.
   Try enabling the debug token 'read_config'
which will give some indication of which files are being looked for,
found, and read in - and the tokens as they are processed.

>     ......the .conf file name
> matches that of the subagent executable(i.e. ‘xxx_agent’ and
> ‘xxx_agent.conf’), and is located in the /etc/snmp directory where the
> snmpd.conf and snmptrapd.conf files are located.

Is the subagent using vendor-supplied libraries, or ones that you
compiled yourself?
   One possibility is that the subagent may be looking in a different
location to the vendor-supplied applications.  A source-compiled
library will typically look for config files in various locations under
/usr/local, rather than in the main system areas.

But -Dread_config (or equivalent) will show whether this is the case
or not.

Dave

> Confidentiality Notice: This e-mail message, its contents and any
> attachments to it are confidential to the intended recipient, and may
> contain information that is privileged and/or exempt from disclosure under
> applicable law. If you are not the intended recipient, please immediately
> notify the sender and destroy the original e-mail message and any
> attachments (and any copies that may have been made) from your system or
> otherwise. Any unauthorized use, copying, disclosure or distribution of this
> information is strictly prohibited.

This e-mail message, its contents and any (non-existent) attachments are
not confidential in any way, and contain no information that is privileged
and/or exempt from disclosure.   If you are not the intended recipient,
please do *not* notify the sender, who really couldn't care less.  Whether
you destroy the original e-mail message is entirely up to you, and how
much you enjoy wreaking havoc on poor, defenceless little electrons that
have never done nobody any harm.  Use, copying, disclosure or distribution
of this information is positively encouraged - that's the point of sending it to
a public, archived mailing list!

------------------------------------------------------------------------------
Systems Optimization Self Assessment
Improve efficiency and utilization of IT resources. Drive out cost and 
improve service delivery. Take 5 minutes to use this Systems Optimization 
Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to