Users Guide

Table Of Contents
30 Setup and Administration
installation, it logs a message to the operating system log file, /var/log/messages, to indicate that SNMP
access is restricted to the local host. You must configure the SNMP agent to enable SNMP access from
remote hosts if you plan to manage the system by using SNMP management applications from remote hosts.
NOTE: For security reasons, it is advisable to restrict SNMP access to specific remote hosts if possible.
To enable SNMP access from a specific remote host to a system running Server Administrator, edit the
SNMP agent configuration file, /etc/snmpd.conf or /etc/snmp/snmpd.conf, and perform the following
steps:
1
Find the line that reads:
rocommunity public 127.0.0.1
2
Edit or copy this line, replacing 127.0.0.1 with the remote host IP address. When edited, the new line
should read:
rocommunity public IP_address
NOTE: You can enable SNMP access from multiple specific remote hosts by adding a rocommunity
directive for each remote host.
3
To enable SNMP configuration changes, restart the SNMP agent by typing:
/etc/init.d/snmpd restart
To enable SNMP access from all remote hosts to a system running Server Administrator, edit the
SNMP agent configuration file, /etc/snmpd.conf or /etc/snmp/snmpd.conf, and perform the following
steps:
1
Find the line that reads:
rocommunity public 127.0.0.1
2
Edit this line by deleting 127.0.0.1. When edited, the new line should read:
rocommunity public
3
To enable SNMP configuration changes, restart the SNMP agent by typing:
/etc/init.d/snmpd restart
Changing the SNMP Community Name
Configuring the SNMP community name determines which management stations are able to manage
your system through SNMP. The SNMP community name used by management applications must
match the SNMP community name configured on the Server Administrator system, so the management
applications can retrieve the management information from Server Administrator.