Configuring the Domino® SNMP Agent for Microsoft™ Windows™
Complete these steps, once per platform, to configure the Domino® SNMP Agent for Microsoft™ Windows™.
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.
- Stop the LNSNMP and SNMP services. Enter these commands:
net stop lnsnmp
net stop snmp
- Configure the Domino® SNMP Agent as a
service. Enter this command:
lnsnmp -Sc
- Start the SNMP and LNSNMP services. Enter these commands:
net start snmp
net start lnsnmp
You have completed the Windows-specific portion of the Domino® SNMP Agent configuration. You should now follow the instructions found in Completing the Configuration of the Domino® SNMP Agent.
Removing the LNSNMP service
If you ever need to undo the configuration of the Domino® SNMP Agent as a service, enter this command:
lnsnmp -Sd
Configuring LNSNMP and SNMP to run as "Local Service" on Windows
Local Security Policy settings
Give the "Local Service" account the following privileges: "Bypass traverse checking," "Manage auditing and security log," and "Debug programs."
Registry settings
- Navigate to the SNMP service key path HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SNMP\Parameters\ValidCommunities and add the "Local Service" permissions to the path.
-
Navigate to the SNMP service key path HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SNMP\Parameters\ PermittedManagers and add the "Local Service" permissions to the path.
Services settings
Update the "HCL Domino SNMP Agent," "HCL Domino Server," and "SNMP Service" properties "Log on" settings to run under the "Local Service" account instead of the "Local System" account.