Users Guide

36 Setup and Administration
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/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/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
book.book Page 36 Tuesday, March 6, 2012 6:13 PM