Syed Jahanzaib Personal Blog to Share Knowledge !

March 13, 2012

IBM Lotus Domino Monitoring via MRTG

Filed under: IBM Related — Tags: , , — Syed Jahanzaib / Pinochio~:) @ 1:10 PM

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

c:\Lotus\domino\LNSNMP -Sc
( 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

load quryset


From your MRTG Server (either Windows or Preferably Linux) You can inquire SNMP for Domino instances.
To query MIB/OID‘s, use the following.

For example:

root@zaiblinux:/mrtg# snmpwalk -v 1 -c   community_name   ip_address

This will inquire domino MIB for Number of  Waiting Mails and and you will get result like:

SNMPv2-SMI::enterprises.334. = 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]: <H1>domino - IBM DOMINO MAIL Server Mails Waiting for Delivery</H1>
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.
Legend1[domino.mailwait]: domino Number of Mails Waiting for Delivery

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.


Syed Jahanzaib

1 Comment »

  1. do got any install procedure for router2cgi for mikrotik simple queue. Thanx in advance.

    Comment by Srijan — September 7, 2012 @ 10:39 PM

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at

%d bloggers like this: