Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ snmpd.conf(4) — HP-UX 9.03

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

chksnmpd(1)

snmpd(1M)

snmpd.ea(1M)

snmpd.conf(4)

NAME

snmpd.conf − configuration file for the SNMP agent

DESCRIPTION

When invoked, the SNMP agent reads its configuration information from the /etc/snmpd.conf configuration file.  The SNMP agent is either the snmpd(1M) or the snmpd.ea(1M). The SNMP agent operates correctly if no values are configured in /etc/snmpd.conf. 

/etc/snmpd.conf contains the following configurable values:

get-community-name:
Specifies community name for the agent. The agent responds to SNMP GetRequests with this community name.  You can configure the agent to respond to more than one get community name.  If a community name is not entered, the agent responds to SNMP GetRequests using any community name. 

set-community-name:
Specifies community name for the agent. The agent responds to the SNMP SetRequests with this community name.  You can configure the agent to respond to more than one set community name.  If a community name is not entered, the agent returns an error. 

trap-dest: Specifies the system name where traps are sent (that is, the trap destination).  This system name is usually the host name or IP address of the manager. 

location: Specifies the physical location of the agent. 

contact: Specifies the person responsible for this agent and information on how to contact this person. 

Separate the fields by blanks or tabs.  A # character indicates the beginning of a comment; characters from the # character to the end of the line are ignored. 

EXAMPLES

Each line in the following example 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 to SNMP SetRequests with
# either the community name "private" or "secret"
set-community-name: private
set-community-name: secret
# Allow the agent to respond to 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.233
# 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), snmpd.ea(1M). 

RFC 1155, RFC 1157, RFC 1212, RFC 1213

Hewlett-Packard Company  —  HP-UX Release 9.03: April 1994

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026