[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]

System Management Guide: Communications and Networks

Configuring the SNMP Daemon

The Simple Network Management Protocol (SNMP) daemon will attempt to bind sockets to certain well-known User Datagram Protocol (UDP) and Transmission Control Protocol (TCP) ports, which must be defined in the /etc/services file as follows:

snmp            161/udp
snmp-trap       162/udp
smux            199/tcp

The snmp service must be assigned port 161, as required by RFC 1157. The /etc/services file assigns ports 161, 162, and 199 to these services. If the /etc/services file is being serviced off another machine, these assigned ports must be made available in the served /etc/services file on the server before the SNMP daemon can run.

The SNMP daemon reads the configuration file on the running SNMP version on startup and when a refresh command (if the snmpd daemon is invoked under System Resource Controller control) or kill -1 signal is issued.

/etc/snmpd.conf file

The /etc/snmpd.conf configuration file specifies community names and associated access privileges and views, hosts for trap notification, logging attributes, snmpd-specific parameter configurations, and single multiplexer (SMUX) configurations for the SNMP daemon for SNMPv1. See the /etc/snmpd.conf file for more information.

[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]