Ajitabh Pandey's Soul & Syntax

Exploring systems, souls, and stories – one post at a time

Monitoring Lotus Notes/Domino Servers

Very recently I was asked to setup Nagios to monitor the Lotus Notes/Domino Servers. There were some around 500 plus servers across the globe. It was an all Windows shop and the current monitoring was being done using GSX, HP Systems Insight Manager and IBM Director. The client wanted a comprehensive solution so that they have a single monitoring interface to look at and after an initial discussion they decided to go ahead with Nagios.

This document looks at monitoring Lotus Notes/Domino servers using SNMP through Nagios. I have provided some of the required OIDs and their initial warning and critical threshold values in tabular format. There are many more interesting OIDs listed in the domino.mib file. Also I have attached the Nagios commands definition file and service definition files at the end of the document. In order to use certain checks, some plugins are required which can be downloaded from http://www.barbich.net/websvn/wsvn/nagios/nagios/plugins/check_lotus_state.pl.

Note – I recently found that the required plugins are not available on the original site anymore, so I have made my copy available with this document. You can download the scripts from the link at the bottom of the document.

To start with I asked the windows administrators to install the Lotus/Domino SNMP Agent on all servers and after that I got hold of a copy of domino.mib file which is located in C:\system32.

Next I listed all the interesting parameters from the domino.mob file and started querying a set of test servers to find out if a value is being returned or not. Following is the OID list and what each OID means. Most of these checks are only valid in the Active node. This is important to know if the Domino servers are in a HA cluster (active-standby pair). If there is only one Domino Server then these checks will apply.

Moinitoring Checks on Active Node

Monitoring Checks on Active Node
Nagios Service CheckOIDDescriptionThreshholds (w- warning, c-critical)
dead-mailenterprises.334.72.1.1.4.1.0Number of dead (undeliverable) mail messagesw 80, c 100
routing-failuresenterprises.334.72.1.1.4.3.0Total number of routing failures since the server startedw 100, c 150
pending-routingenterprises.334.72.1.1.4.6.0Number of mail messages waiting to be routedw10, c 20
pending-localenterprises.334.72.1.1.4.7.0Number of pending mail messages awaiting local deliveryw 10, c 20
average-hopsenterprises.334.72.1.1.4.10.0Average number of server hops for mail deliveryw 10, c 15
max-mail-delivery-timeenterprises.334.72.1.1.4.12.0Maximum time for mail delivery in secondsw 300, c@600
router-unable-to-transferenterprises.334.72.1.1.4.19.0Number of mail messages the router was unable to transferw 80, c100
mail-held-in-queueenterprises.334.72.1.1.4.21.0Number of mail messages in message queue on holdw 80, c 100
mails-pendingenterprises.334.72.1.1.4.31.0Number of mail messages pendingw@80, c@100
mailbox-dns-pendingenterprises.334.72.1.1.4.34.0Number of mail messages in MAIL.BOX waiting for DNSw 10, c 20
databases-in-cacheenterprises.334.72.1.1.10.15.0The number of databases currently in the cache. Administrators should monitor this number to see whether it approaches the NSF_DBCACHE_MAXENTRIES setting. If it does, this indicates the cache is under pressure. If this situation occurs frequently, the administrator should increase the setting for NSF_DBCACHE_MAXENTRIESw 80, c 100
database-cache-hitsenterprises.334.72.1.1.10.17.0The number of times an lnDBCacheInitialDbOpen is satisfied by finding a database in the cache. A high ‘hits-to-opens’ ratio indicates the database cache is working effectively, since most users are opening databases in the cache without having to wait for the usual time required by an initial (non-cache) open. If the ratio is low (in other words, more users are having to wait for databases not in the cache to open), the administrator can increase the NSF_DBCACHE_MAXENTRIESw, c
database-cache-overcrowdingenterprises.334.72.1.1.10.21.0The number of times a database is not placed into the cache when it is closed because lnDBCacheCurrentEntries equals or exceeds lnDBCacheMaxEntries*1.5. This number should stay low. If it begins to rise, you should increase the NSF_DbCache_Maxentries settingsw 10, c 20
replicator-statusenterprises.334.72.1.1.6.1.3.0Status of the Replicator task
router-statusenterprises.334.72.1.1.6.1.4.0Status of the Router task
replication-failedenterprises.334.72.1.1.5.4.0Number of replications that generated an error
server-availability-indexenterprises.334.72.1.1.6.3.19.0Current percentage index of server’s availability. Value range is 0-100. Zero (0) indicates no available resources; a value of 100 indicates server completely available

Interesting OIDs to plot for trend analysis

Interesting OIDs to plot for Trend Analysis
enterprises.334.72.1.1.4.2.0Number of messges received by router
enterprises.334.72.1.1.4.4.0Total number of mail messages routed since the server started
enterprises.334.72.1.1.4.5.0Number of messages router attempted to transfer
enterprises.334.72.1.1.4.8.0Notes server’s mail domain
enterprises.334.72.1.1.4.11.0Average size of mail messages delivered in bytes
enterprises.334.72.1.1.4.13.0Maximum number of server hops for mail delivery
enterprises.334.72.1.1.4.14.0Maximum size of mail delivered in bytes
enterprises.334.72.1.1.4.15.0Minimum time for mail delivery in seconds
enterprises.334.72.1.1.4.16.0Minimum number of server hops for mail delivery
enterprises.334.72.1.1.4.17.0Minimum size of mail delivered in bytes
enterprises.334.72.1.1.4.18.0Total mail transferred in kilobytes
enterprises.334.72.1.1.4.20.0Count of actual mail items delivered (may be different from delivered which counts individual messages)
enterprises.334.72.1.1.4.26.0Peak transfer rate
enterprises.334.72.1.1.4.27.0Peak number of messages transferred
enterprises.334.72.1.1.4.32.0Number of mail messages moved from MAIL.BOX via SMTP
cache cmd hit rateenterprises.334.72.1.1.15.1.24.0
cache db hit rateenterprises.334.72.1.1.15.1.26.0
hourly access denialsenterprises.334.72.1.1.11.6.0
req per 5 minenterprises.334.72.1.1.15.1.13.0
unsuccesfull runenterprises.334.72.1.1.11.9.0

Files and Scripts

Comments

18 responses to “Monitoring Lotus Notes/Domino Servers”

  1. Mike Avatar
    Mike

    Hi there, the .gz file above downloads as a zero yte file – could you refresh the file/link please?

  2. […] The Domino.mib is located in the “C:Program FilesIBMDomino” folder, and you can use this with PRTG, SNMPwalk or whatever tool/application you want. Tips for useful OID’s for Domino, can be found here: Ajitabh Pandey’s blog […]

  3. Evgeny Tsyganov Avatar
    Evgeny Tsyganov

    Hello, this link “http://www.barbich.net/websvn/wsvn/nagios/nagios/plugins/check_lotus_state.pl” is unavailable, how i can download it? Thanks fo help.

  4. mathieu Avatar
    mathieu

    Hi,
    I think i have a problem with the perl file.
    Can anyone upload the file please ?
    Thanks

  5. Manuel Peña Avatar
    Manuel Peña

    Excuseme could you send me the utils.pm file pls. I need it urgent to my mail pls

  6. Cristian Avatar
    Cristian

    Hello
    can you please post the scripts again or send me to mail
    thank you very much , but the link is broken

    * lotus-monitoring.tar.gz
    * lotus-commands.cfg
    * lotus-services.cfg

  7. Ajitabh Avatar

    The original site seems to be down, but if you look above I have provided a local download of the files. Download lotus-monitoring.tar.gz which has all the necessary plugins.

  8. Marcelo Barbosa Avatar
    Marcelo Barbosa

    The Link of plugin don’t exit more.

  9. Ajitabh Avatar

    Tom/Andre,

    I have fixed the links. Looks like file permissions got screwed up after a recent page.

  10. Andre Avatar

    Hi there.
    Could you fix the download link ? . Seems like the files are gone missing again 😉

  11. Tom Corcoran Avatar
    Tom Corcoran

    Hi

    Are these scripts not available anymore?

  12. Ajitabh Avatar

    Sorry about that, but its working now, it was the wp-cache plugin playing. Somehow the cache directory went read-only and the old path was cached there. It is working now, I have tested it. One thing you might want to note is that the lotus-monitoring.tar.gz will be downloaded as lotus-monitoringtar.gz, but it is definitely a tar-gziped archive, so you need to untar after gunzipping or you can also directly run the tar -xvzf lotus-monitoringtar.gz.

  13. Wim Savenberg Avatar
    Wim Savenberg

    if you could mail them it would be wonderfull … 😉

  14. Wim Savenberg Avatar
    Wim Savenberg

    sorry to inform you that the links are still not working …. :-[

  15. Ajitabh Avatar

    Thanks for notifying me. It was a broken link. I have fixed it now. Please download from the above links.

  16. Wim Savenberg Avatar
    Wim Savenberg

    I tried to download the following scripts. Unfortunatly they are not available anymore. Would you, by any chance, have these scripts
    Files and Scripts

    * lotus-monitoring.tar.gz
    * lotus-commands.cfg
    * lotus-services.cfg
    if so would you be so kind to send them to me ?

Leave a Reply