Enabling  SNMP for Domino on Windows

To enable SNMP on a Windows Domino server, follow the broad steps given below:

  • Install the Windows SNMP service on the target host
  • Install the LNSNMP agent (i.e., the Lotus Domino SNMP agent) on the target host
  • Configure the Lotus Domino SNMP agent as a service on the target host

Each of these steps is discussed in great detail in the sections to come.

Installing the SNMP Service

To install the SNMP service on Windows NT, do the following:

  1. Login to the Windows NT system as an administrator.
  2. Right-click on the Network Neighbourhood icon on the desktop, and select the Properties option from the shortcut menu.
  3. Next, select the Services tab in the dialog box that appears, and click on the Add button within (see Figure 1).

    NT1

    Figure 1 : Selecting the Services tab

  4. From the list of services that appears, choose the SNMP Service (see Figure 2).

    NT2

    Figure 2 : Selecting the SNMP service

  5. If you are then prompted for the path to the Windows NT files, provide the correct path, and click on the Continue button to begin installing the SNMP Service (see Figure 3).

    NT3

    Figure 3 : Providing the path to the Windows NT files

  6. Once installation is complete, reboot the system.
  7. After the system reboots, ensure that all service packs are re-installed.

To install the SNMP service on Windows 2000, do the following:

  1. Login to the Windows 2000 system as an administrator.
  2. Click on the Start button on the taskbar, and follow the menu sequence: Settings -> Control Panel.
  3. Double-click on the Add/Remove Programs option in the Control Panel window (see Figure 4).

    configmailserver1

    Figure 4 : The Add/Remove Programs option in the Control Panel window

  4. Next, select the Add/Remove Windows Components option from the Add/Remove Programs dialog box (see Figure 5).

    configmailserver2

    Figure 5 : Select the Add/Remove Windows Components option

  5. Then, a list of windows components that can be added will appear. Select the Management and Monitoring Tools option from this list, and click the Details button to view more details about it (see Figure 6).

    configmailserver3

    Figure 6 : Selecting the Management and Monitoring Tools option

  6. From the list that appears next, select the Simple Network Management Protocol (SNMP) option to add it. Then, click the ok button (see Figure 7).

    configmailserver4

    Figure 7 : Selecting the SNMP option

  7. You will then return to Figure 6. Click the Next button here to proceed with installing the SNMP service.
  8. If you are prompted for the path to the Windows 2000 installation CD, provide the correct path, and click on the ok button to begin installing the SNMP service (see Figure 8).

    configmailserver5

Figure 8 : Providing the path to the Windows 2000 CD

Installing the LNSNMP Agent on Windows

To install the LNSNMP agent (version 5.0), do the following:

  1. Run the nvinst.exe executable that is available in the <DOMINO_INSTALL_DIR>/w32intel folder.
  2. Once execution begins, setup will prompt you to choose one of the following options:

    Domino Management Agent for Windows NT installation.

    Copyright (c) 1994-1999, Lotus Development Corporation.  All Rights Reserved.

     

    Lotus Domino Management Agent Install (Version 5.0)

    Installation Options

    ---------------------------------------------------

     

       1) Install Domino SNMP Agent Software

       2) Install Domino Mail Reflector Software

       3) Install Both Options 1 and 2

       Q) Quit Installation

     

       Choice (1/2/3/Q): 1

  3. To install the LNSNMP agent, enter 1 as the Choice.
  4. Setup will then request your confirmation for adding the Collector task. Enter y to add the task.
  5. The "Collector" task is not currently configured to run on this system.  This task is necessary if you want Notes to generate events based on statistics thresholds.

    Do you want to add this task now? (y/n): y

  6. Once the LNSNMP agent installation completes, the following message will appear:

    Domino Management Agent successfully installed.

    Please reboot the system for the changes to take effect.

     

    D:\Lotus\Domino\w32intel>

     

    After Rebooting start the LNSNMP Service first

    And then start the Domino Server.

Configuring the LNSNMP Agent

Prior to configuring the LNSNMP agent, ensure the following:

  • Before using the Domino SNMP Agent, make sure TCP/IP and SNMP are properly installed and configured on the server. Also, make sure that the Domino executable and the Domino data directories are in your search path.
  • If you need to add the Windows SNMP Service to your system, be prepared to reinstall any Windows service packs immediately after adding the Windows SNMP Service.
  • The Windows SNMP Service is configured by double-clicking the Network icon in the Control Panel, then selecting the Services tab, then selecting SNMP Service, and then clicking the Properties button. You will want to configure appropriate trap destinations and community names for your remote management infrastructure.
  • The Domino SNMP Agent is configured as a Windows Service and 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 you should stop the LNSNMP and Windows SNMP Services before beginning the upgrade process.

To configure the LNSNMP agent, do the following:

  1. Stop the LNSNMP and SNMP services using the following commands:

    net stop lnsnmp

    net stop snmp

  2. Configure the Lotus Domino SNMP agent as a service using the following command:

    lnsnmp –Sc

  3. Start the SNMP and LNSNMP services by issuing the following commands:

    net start snmp

    net start lnsnmp

After configuring the LNSNMP agent, start the Domino server add-in tasks such as the QuerySet, Event Interceptor, and Statistic Collector tasks, using the procedure discussed in the Configuring the Domino SNMP Agent topic.

Note:

If you ever need to undo the configuration of the Lotus Domino SNMP Agent as a service, enter this command: lnsnmp -Sd