Re: configuration files

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 22 February 2011 11:13, Friedrich Locke <[email protected]> wrote:
> i have just installed net-snmp in my linux debian box but i don't
> really know where the configuration files are fecthed from.
> I have seen file in /etc/snmp and /usr/share/snmp
>
> The most strange to me it is that snmpd.conf has configuration
> information on both directories.
>
> Where should i put my configuration directives ?


Run the command

     snmpd H -Dread_config  2>&1 | grep path

This will tell you where the agent is looking for config files.
I'd suggest that you put the configuration in *one* of these
locations - but it doesn't really matter which one.

Dave

------------------------------------------------------------------------------
Index, Search & Analyze Logs and other IT data in Real-Time with Splunk 
Collect, index and harness all the fast moving IT data generated by your 
applications, servers and devices whether physical, virtual or in the cloud.
Deliver compliance at lower cost and gain new business insights. 
Free Software Download: http://p.sf.net/sfu/splunk-dev2dev
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.