2009/8/20 Asano Yasushi <yasushi.as...@jp.fujitsu.com>: > When we execute snmpd, it searches the configuration file from /etc/snmp > automatically
That is correct. There is a built-in path to search for configuration files. > even if we do not use -c option. The '-c' option is used to *add* config files to this search path, rather than replace the list completely. > If we execute snmpd usimg -c option as follows, > > /usr/sbin/snmpd -Lsd -Lf /dev/null -p /var/run/snmpd -a -c > /etc/snmp/snmpd.conf > > snmpd.conf was read and instruction was given in snmpd.conf twice. > Is this a specification? It seems like a redundancy. It's a mis-invocation - you don't need to specify configuration files that is on the default search path. Alternatively, you could use the '-C' flag to clear this default list, before reading the specified config file(s). Dave ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ 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