Enabling SNMP for a Domino Server on Linux
To enable SNMP on a Domino server on Linux, follow the broad steps given below:
- Install the Master SNMP agent on the Domino server
- Configure the Domino SNMP agent to communicate with the Master SNMP agent
- Each of these steps has been discussed in great detail below.
Like the Solaris platform, on Linux also the Domino SNMP Agent uses the SMUX protocol, per RFC 1227, to communicate with the system's Master SNMP Agent. Some Linux distributions include a Master SNMP Agent that supports the SMUX protocol; others do not. On Linux platforms, Domino includes a suitable NET-SNMP Master Agent, called NET-SNMPD, already configured to support the SMUX protocol and the Domino SNMP Agent.
Before using NET-SNMPD, disable any existing MasterSNMP Agent. For information on disabling an existing Master SNMP Agent, see your Master SNMP Agent's documentation.
To use the NET-SNMPD that is provided with Domino, do the following:
- Login as the root user.
- Next, install the NET-SNMPD files. Enter this command, changing the Domino executable path if necessary: cp /opt/lotus/notes/latest/linux/net-snmpd* /etc
Arrange for NET-SNMPD to be restarted after a reboot. Enter these commands:
ln -f -s /etc/net-snmpd.sh /etc/rc.d/init.d/net-snmpd
chkconfig --add net-snmpd
chkconfig net-snmpd on
After installation, proceed to configure and start NET-SNMPD. Here is how:
- Udate the /etc/net-snmpd.conf file with appropriate community names for your remote management infrastructure. Community names are set using the rocommunity and rwcommunity directives. For instance, to set a community named nppublic, the command would be, Set rocommunity value to nppublic.
- To manually start NET-SNMPD, login as the root user and issue the command, /etc/net-snmpd.sh start. To stop NET-SNMPD, use the command, /etc/net-snmpd.sh stop.