Configuring the Domino® SNMP Agent for Linux™
Complete these steps, once per platform, to configure the Domino® SNMP Agent for Linux™.
About this task
Before using the Domino® SNMP Agent, make sure TCP/IP and SNMP are properly installed and configured on the server. To use the NET-SNMP Master Agent provided, refer to Using NET-SNMP with the Domino® SNMP Agent. Otherwise, verify that your Master SNMP Agent supports the SMUX protocol, per RFC 1227. Ensure that the Domino® executable and the Domino® data directories are in your search path.
The Domino® SNMP Agent is set up to run automatically. This means that once the Domino® SNMP Agent is configured, it is virtually always running, even when Domino® is not. If you later upgrade Domino®, stop the LNSNMP process before beginning the upgrade process.
Procedure
- Stop the LNSNMP process. Enter this command:
lnsnmp.sh stop
- Stop the Master SNMP Agent. If you're using the NET-SNMP
Master Agent provided, enter this command:
/etc/net-snmpd.sh stop
If you're not using the NET-SNMP Master Agent provided, refer to your Master SNMP Agent's documentation.
- Configure the Master SNMP Agent to accept LNSNMP as an
SMUX peer. If you are using the NET-SNMP Master Agent provided, this
has already been done. Otherwise, refer to your Master SNMP Agent's
documentation. The three parameters associated with SMUX authentication
for LNSNMP are:
Description: Notes® Agent
Identity: 1.3.6.1.4.1.334.72
Password: NotesPasswd.
- Start the Master SNMP Agent. If you're using the NET-SNMP
Master Agent provided, enter this command:
/etc/net-snmpd.sh start
If you're not using the NET-SNMP Master Agent provided, refer to your Master SNMP Agent's documentation.
- Start the LNSNMP process. Enter this command:
lnsnmp.sh start
- Do one of these:
- For United Linux-based releases, such as SLES, enter these commands,
changing the Domino® executable
path if necessary:
ln -f -s /opt/ibm/lotus/notes/latest/linux/lnsnmp.sh /etc/init.d/lnsnmp
insserv /etc/init.d/lnsnmp
- For Red Hat Linux™ releases
enter these commands, changing the Domino® executable
path if necessary:
ln -f -s /opt/ibm/lotus/notes/latest/linux/lnsnmp.sh /etc/rc.d/init.d/lnsnmp
chkconfig --add lnsnmp
chkconfig lnsnmp on
- For United Linux-based releases, such as SLES, enter these commands,
changing the Domino® executable
path if necessary: