Jeg har købt et TomTom Cardio Runner løbeur

Category Danish Løb
Jeg er kommet til at købe et nyt løbeur: TomTom Cardio Runner.
Anmeldelse hos DC RainMaker

Det interessante er, at den måler puls ved hjælp af en helt anden teknologi. Den sender lys gennem huden fra urets bagside, og så detekterer den puls som farveændring - når blodet skubbes igennem.

Jeg har haft alt for mange problemer med at få de chest-straps til at virke som ellers er standarden for at måle puls mens man løber. Så derfor skulle der ske noget nyt

Jeg har løbet 600 meter med det, og umidelbart så det helt fint ud.


POSTing to a Domino server using curl

Category Domino
curl is a command line tool that will let you execute all kinds of requests that will make the computer you are at interact with services on the LAN or internet.

I have had a need to post data to a IBM Notes database hosted on Domino - using just the command line.

Here are the raw example commands to do just that.

First I needed to login to the server. The Domino server I was accessing was configured to use session authentication, using DomAuthSessID, but the example here would work with LtpaToken too.

curl --data "username=jbr&password=secret" -c cookie.txt "https://www.host.dk/names.nsf?login

This command will log you in and put the cookie that is issued by the server in a file called cookie.txt.

Then here is how to post to a Discussion database type IBM Notes database.

curl --data "subject=testsubject&body=testbody" --cookie cookie.txt "https://www.host.dk/pathtodiscussion/discussion.nsf/MainTopic?CreateDocument"


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





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