snmpd_files(4M) TCP/IP 5.4.2 snmpd_files(4M)
NAME
snmpd.config, snmpd.communities, snmpd.trapcommunities - SNMP
configuration files
DESCRIPTION
Use these files to configure snmpd for your system. When snmpd is
started, it reads the configuration files and begins servicing
requests from the network. If snmpd recieves a SIGHUP signal, it re-
reads the configuration files and then continues processing requests.
snmpd.config
Use this file to override the default values for some objects. You
should use either the sysadm or admsnmpobject commands to modify this
file. The format for this file is:
object=value
where object may be one of: sysDescr, sysObjectID, sysContact,
sysLocation, or sysName. In most cases only the sysContact and
sysLocation need to be specified in this file, because snmpd provides
reasonable defaults for the other objects.
snmpd.communities
Use this file to define the community strings, host addresses, and
access levels recognized by the agent. You should use either the
sysadm or admsnmpcommunity commands to modify this file. There is a
limit of 64 entries in snmpd.communities file and they have the
following format:
community host access
where:
community is an ASCII string of up to 64 characters specifing a
community name to be recognized by the agent.
host is either a hostname or an Internet address,
identifying a host in this community for which the
agent will accept queries. Address 0.0.0.0 indicates
any host.
access is one of: READ, for read-only access, WRITE, for
read-write access, or NONE for no access.
snmpd.trapcommunities
Use this file to define the list of communities, host addresses, and
port numbers to which the agent sends traps. You should use either
the sysadm or admsnmptraps commands to modify this file. There is a
limit of 64 entries in snmpd.trapcommunities file and they have the
following format:
community host port
where:
Licensed material--property of copyright holder(s) 1
snmpd_files(4M) TCP/IP 5.4.2 snmpd_files(4M)
community is an ASCII string of up to 64 characters specifying a
community name to send with the trap message.
host is a hostname or Internet address to which the agent
should send the trap. The value 0.0.0.0 means any
host.
port is the UDP port number, which is usually set to 162.
SEE ALSO
admsnmpcommunity(1M), admsnmpobject(1M), admsnmptrap(1M), snmpd(1M),
sysadm(1M).
Licensed material--property of copyright holder(s) 2