Caution: This version of this document is no longer maintained. For the latest documentation, see


Default SNMP configuration file




The snmpd.conf file provides some configuration information for the snmpd agent. The agent searches for the location of the file, in this order:

  1. the file named in the SNMPCONFIGFILE environment variable
  2. /nodecfg/node_name/etc/snmpd.conf, where node_name is the value of the CS_NODENAME configuration string (see getconf and setconf)
  3. /etc/snmpd.conf

For more information, see read_main_configuration_file() in the Library Reference.

Here's an example snmpd.conf file:

## /etc/snmpd.conf:

## location of the config files:
party.conf:   /etc/party.conf
acl.conf:     /etc/acl.conf
view.conf:    /etc/view.conf
context.conf: /etc/context.conf

## public- and private-community string (for SNMP V1):
## default is “public” and “private”
public:       newpublic
private:      newprivate

## the entry of system.sysContact and system.sysLocation:
system contact:  sysadmin
system location: systemlocation

## system.sysName is per default determined from the hostname:
system name:     snmpdhost

## trap sink ipaddress (trap destination) and community string.
## authentraps contains the value of snmpEnableAuthenTraps;
## (default is `no'' == disabled).
trap sink:       tcp_ip
trap community:  public
authentraps:     no

See also:

snmpget, snmpgetnext, snmptest, snmptrapd, snmpwalk

/etc/acl.conf, /etc/context.conf, /etc/mib.txt, /etc/party.conf, /etc/view.conf files