Template:FAQ:Agent 29b

From Net-SNMP Wiki
Revision as of 14:14, 15 June 2009 by Dts12 (Talk | contribs) (Latest FAQ revision - preparing for 5.5 release)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The default location for this file with the basic distribution is /usr/local/share/snmp/snmpd.conf (or PREFIX/share/snmp/snmpd.conf). Ready-installed versions often look for the file as /etc/snmpd.conf, or /etc/snmp/snmpd.conf.

If you are still not sure, try running the command

     snmpd -f -Le -Dread_config 2>&1 | grep "config path"

The first line of output will display the list of locations where the agent is looking for configuration information.