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.

Tip: If you are using the NET-SNMP Master Agent provided, the trap destinations and community names are configured in the /etc/net-snmpd.conf file. Otherwise, refer to the documentation for the master agent technology you are using. Configure appropriate trap destinations and community names for your remote management infrastructure.

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.

Important: The following commands should be executed as the root user.

Procedure

  1. Stop the LNSNMP process. Enter this command:
    lnsnmp.sh stop
  2. 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.

  3. 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.
  4. 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.

  5. Start the LNSNMP process. Enter this command:
    lnsnmp.sh start
  6. 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