Users Guide
30 Setup and Administration
Enabling SNMP Access From Remote Hosts
The default SNMP agent configuration on SUSE Linux Enterprise Server operating systems gives read-only
access to the entire MIB tree for the "public" community from the local host only. This configuration does
not allow SNMP management applications such as IT Assistant running on other hosts to discover and
manage Server Administrator systems properly. If Server Administrator detects this configuration during
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