Getting Nagios to monitor Domino using SNMP

Category Domino
I have succesfully configured a Domino server (R9) to play nice with SNMP.
And I have configured a Nagios server to query status on numerous parameters on the Domino server.
Here is a screen dump from my Nagios Service status page
The blue ones are Domino specific.
The two red ones are the ones I am glad to have working. At the moment there are 0 mails pending og the availability index is 99. Which is good.
A picture named M2

I got it working by dusting off my German skills and reading this blog entry; Monitoring von IBM Domino-Servern mit Nagios.

The blog was not a perfect fit for my needs. The author includes instructions on doing some deep probing of the Domino server that I did not need, like how many documents are found in a specific View in a certain Notes Database - using DIIOP. So I had to disable some of the Service examples that are in the download package. Also, there are some minor errors in the samples.
You do need to download the example package to understand how things are done.

I wrote some more on Nagios a while back: Nerd alert: Home server with Nagios, Pushover and Blink(1) warnings.


DomDisc 1.4 beta with notifications

Category Android
This week I was happy to be presenting at the DanNotes user group meeting in Korsør, Denmark. This was on november 27th.
I had a one hour slot where I told the audience about how I had done the central bits in the DomDisc Android app - the Open Sourced app that is available from openntf.org. The central bits being authenticating with IBM Domino and reading and writing data using the IBM Domino Data Service API. All from a Native Android app.
If you are interested, I put my slides on Slideshare. They are in Danish, but I think that people lacking in that particular linguistic area will probably be able to get something from clicking through them.
During the presentation I was showing how to do a code change in the app.
I added a feature that I have found missing in the app: Notifications when the app has replicated succesfully.
Based on that code I have just updated the (more official) DomDisc code with some notification capabilities.
You can opt in or out. If you want the notifications, you can configure the app to notify. Including the option to push the notifications to your Pebble Smartwatch.
The app can tell you if replication has been failing for an app. It can also tell you when new discussion entries have been added to the local database.
A picture named M2

If you would like to try out this beta, you will need to be a member of the Google+ DomDisc for Android community.
The code is also in the GitHub development-tree


Domino Data Service API changes @href content with Domino 9.0.1

Category Domino
I just noticed an important change in the Domino Data Service API that I am pretty sure has happened when I upgraded a Domino server to the latest release - 9.0.1.
I also am pretty sure that it had not yet changed in version 9.0.

I am accessing the http://hostname/path/database.nsf/api/data/documents URL in order to get a list of all documents in the database.

This will get me a very compact JSON representation of the documents. For each document I get a @modified, a @unid and a @href.
What has changed is the contents of the @href field.

Here is the output from an IBM Domino 9.0.1 server:
A picture named M2
And here is the output from a server that is (at this moment) IBM Domino version 9.0:
A picture named M3
The URL in the @href field has switched from being absolute to being relative.

If you are using this way of retrieving lists of documents you will likely want to change your code. Making sure that you prefix relative URLs with a fitting protocol, hostname and possibly a port too before accessing the documents that the @href points to.

I have had a look in the documentation for the API, and it looks like it has changed too.
Here is the Document collection GET for version 9.0.1. Look at the sample output.
And here is the same bit for Document collection GET for version 8.5.3. Again - check the sample output.

If you want to have a look at the Domino Data Service API, here is a General Domino Data Service reference.


Nerd alert: Home server with Nagios, Pushover and Blink(1) warnings

Category Server Monitoring
I had some time for tuning my home server setup this weekend and this led to me now having Nagios-monitoring of my virtualized home servers.
A picture named M2
Note that I have set up scripts for monitoring my son's Minecraft server and our MythTV backend server.
But not only that!!
I have the Nagios server pushing warning/failure/recovery messages through the Pushover- service to my Smartphone.
And I have also set up a script that will switch the colour of a ThingM Blink(1) USB Led that is plugged in the physical machine based on what the Nagiso status page shows.
Here everything is OK - green.
A picture named M3

Previous Document
Previous Document
Next Document
Next Document
Return to View
    A picture named M6




Profile for jbruntt

Jens vægt-o-meter

12/08-06: 96,9 kg
14/10-06: 90,1 kg
14/08-07: 94,3 kg
07/11-07: 88,9 kg
09/11-08: 96,3 kg
03/02-09: 93,6 kg
09/08-09: 96,7 kg
30/12-09: 89.6 kg
25/01-10: 88.9 kg
09/03-10: 87.3 kg
26/08-10: 84.2 kg
15/09-10: 84.8 kg
02/01-11: 86.1 kg
28/09-11: 85.9 kg
05/06-12: 85.8 kg
05/06-13: 84.9 kg