snmpd.conf(4)
NAME
snmpd.conf − configuration file for snmpd(1M)
DESCRIPTION
When invoked, snmpd(1M) reads its configuration information from the /etc/snmpd.conf configuration file. The snmpd(1M) operates correctly if no values are configured in /etc/snmpd.conf.
/etc/snmpd.conf contains the following configurable values.
get-community-name:
Enter community name for the agent. The agent responds to the SNMP GetRequests with this community name. If a community name is not specified, the agent responds to the SNMP GetRequests using any community name.
set-community-name:
Enter community name for the agent. The agent responds to the SNMP SetRequests with this community name. If a community name is not specified, the agent returns an error.
trap-dest:
Enter the system name where traps are sent (i.e., the trap destination). This system name is usually the host name or IP address of the manager.
location:
Enter the physical location of the agent.
contact:
Enter the person responsible for this agent and information on how to contact this person.
Separate the fields by blanks or tabs. The # character indicates the beginning of a comment; characters from the # to the end of the line are ignored.
EXAMPLES
Each line in the following snmpd.conf file is preceded by a comment (beginning with #) that explains the entry.
# Restrict the agent to responding
# only to SNMP GetRequests that
# have the community name secret
get-community-name: secret
# Allow the agent to respond
# SNMP SetRequests that
# have the community name private
set-community-name: private
# Send traps to system names
# manager1 and 15.2.113.233
trap-dest: manager1
trap-dest: 15.2.113.223
# Specify the agent is located
# on the first floor
# near the mens room
location: 1st Floor near Mens Room
# Specify Bob Jones is responsible
# for this agent and his
# phone number is 555-2000
contact: Bob Jones (Phone 555-2000)
AUTHOR
snmpd.conf was developed by HP.
SEE ALSO
chksnmpd(1), snmpd(1M), variables(5).
RFC 1155, RFC 1156, RFC 1157, RFC 1158, RFC 1109.
Hewlett-Packard Company — HP-UX Release 8.05: June 1991