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:
- Login to the Windows NT system as an administrator.
- Right-click on the Network Neighbourhood icon on the desktop, and select the Properties option from the shortcut menu.
Next, select the Services tab in the dialog box that appears, and click on the Add button within (see Figure 1).
From the list of services that appears, choose the SNMP Service (see Figure 2).
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).
- Once installation is complete, reboot the system.
- After the system reboots, ensure that all service packs are re-installed.
To install the SNMP service on Windows 2000, do the following:
- Login to the Windows 2000 system as an administrator.
- Click on the Start button on the taskbar, and follow the menu sequence: Settings -> Control Panel.
Double-click on the Add/Remove Programs option in the Control Panel window (see Figure 4).
Next, select the Add/Remove Windows Components option from the Add/Remove Programs dialog box (see Figure 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).
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).
- You will then return to Figure 6. Click the Next button here to proceed with installing the SNMP service.
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).
Installing the LNSNMP Agent on Windows
To install the LNSNMP agent (version 5.0), do the following:
- Run the nvinst.exe executable that is available in the <DOMINO_INSTALL_DIR>/w32intel folder.
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)
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
- To install the LNSNMP agent, enter 1 as the Choice.
- Setup will then request your confirmation for adding the Collector task. Enter y to add the task.
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
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.
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:
Stop the LNSNMP and SNMP services using the following commands:
net stop lnsnmp
net stop snmp
Configure the Lotus Domino SNMP agent as a service using the following command:
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
If you ever need to undo the configuration of the Lotus Domino SNMP Agent as a service, enter this command: lnsnmp -Sd