Users Guide
30 Setup and Administration
To enable SNMP access from a specific remote host to a system running Server Administrator, edit the
SNMP agent configuration file, /etc/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, 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.
To change the default SNMP community name used for retrieving management information from a
system running Server Administrator, edit the SNMP agent configuration file, /etc/snmpd.conf, and
perform the following steps:
1
Find the line that reads:
rocommunity public 127.0.0.1
2
Edit this line by replacing
public
with the new SNMP community name. When edited, the new line
should read:
rocommunity community_name 127.0.0.1
3
To enable SNMP configuration changes, restart the SNMP agent by typing:
/etc/init.d/snmpd restart