Recently I was having trouble with Lotus Domino 8.5 Server regarding Mail Waiting / Mail Tracking. So I added VARIOUS Domino INSTANCES in MRTG to make its graphs available for Admin Persons to troubleshoot problem before they get savior.
Here is how to enable SNMP Agent on Domino. But first make sure you have installed SNMP service in Domino Server Windows and enable it properly by setting its community name and security setting to allow specific or all host to inquire snmp
Configure the Domino LNSNMP agent to run as a service:
Run the following commands in the Domino program directory.
First stop the service if it is already running – in a DOS prompt run commands :
d:\Lotus\domino\net stop lnsnmp
d:\Lotus\domino\net stop snmp
If the service is not already running you may see the error:
System error 1060 has occurred.
The specified service does not exist as an installed service.
Now add LNSMP as a service
( this command is case sensitive )
If it starts you will see :
Service creation complete
Now start SNMP Service
c:\Lotus\domino\net start snmp
c:\Lotus\domino\net start lnsnmp
If it starts you will see :
The Lotus Domino SNMP Agent service was started successfully.
Now Run these commands on Domino server console by navigating to SERVER / SERVER CONSOLE
From your MRTG Server (either Windows or Preferably Linux) You can inquire SNMP for Domino instances.
To query MIB/OID‘s, use the following.
root@zaiblinux:/mrtg# snmpwalk -v 1 -c community_name ip_address 126.96.36.199.4.1.3188.8.131.52.4.6.0
This will inquire domino MIB for Number of Waiting Mails and and you will get result like:
SNMPv2-SMI::enterprises.3184.108.40.206.4.6.0 = INTEGER: 3
and its CFG for mrtg is as follow:
# domino Mail Monitoring (Mail Waiting Usage) Title[domino.mailwait]: DOMINO MAIL Srver Number of Mails Waiting for Delivery PageTop[domino.mailwait]: &lt;H1&gt;domino - IBM DOMINO MAIL Server Mails Waiting for Delivery&lt;/H1&gt; Target[domino.mailwait]: 220.127.116.11.4.1.318.104.22.168.4.6.0&amp;22.214.171.124.4.1.3126.96.36.199.4.6.0:email@example.com options[domino.mailwait]: growright, gauge, nopercent, integer Unscaled[domino.mailwait]: ymwd MaxBytes[domino.mailwait]: 100 YLegend[domino.mailwait]: MwailWaiting ShortLegend[domino.mailwait]: No. LegendI[domino.mailwait]: No. LegendO[domino.mailwait]: Legend1[domino.mailwait]: domino Number of Mails Waiting for Delivery Legend2[domino.mailwait]:
And its MRTG Graphs result is as follows:
That’s how you can create MRTG for any instance for DOMINO😀
Error “Lotus Domino SNMP Agent is not available”
– If you receive “Error “Lotus Domino SNMP Agent is not available” in domino console, make sure that SNMP and LNSNMP service is running.
– Also check if the Domino is running as Service or Application. Domino should run as SERVICE for quryset task to interact with LNSNMP agent.
Automate “QURYSET” upon Domino Reboot …
After domino reboot, SNMP counters do not work, you have to manually execute “Load quryset” via Domino console. To automate it, edit notes.ini (on server) and add the word “quryset” in ServerTasks line.