You may find yourself in the situation where when configuring nagios to monitor a MongoDB, it will complain that:

"CRITICAL - Unable to find host XXXXXXXX in replica set."

And you know for a fact that the replica set is fine. What has gone wrong then?

You have told nagios to monitor the IP address of the host in question, where in the replica set the host is found by its DNS name. Currently nagios-plugin-mongodb does not take this into account.

But according to pg_hba.conf I am not connecting using ident on localhost:

host all all 127.0.0.1/32 md5

or am I?

host all all ::1/128 ident

Because you know, ::1 is localhost also and you can easily overlook this. Never forget IPv6 even when dealing with localhost.

Nick Drake

2014/11/21

Δεν γράφω για την μουσική που ακούω εδώ και καιρό (δεν είμαι και κανένας ειδήμονας άλλωστε). Τα 30 τελευταία CD του Jazz & Tzaz δεν τα έχω ακούσει καν. Όμως χτες άκουσα αυτό το επεισόδιο στο 99 percent invisible για τον Nick Drake και ένα έχω να πω:

Ευτυχώς που υπάρχει η δισκογραφία του (η περισσότερη τέλος πάντων) στο Spotify.

Well here is one: Trying to deceive me. No I do not believe the error message returned from your remove.php:

There was an error processing your request; please manually send an email to with Unsubscribe as its subject

And you know why is that I do not believe you? Because I never subscribed via this email address.  In your newsletter you say you want to disrupt the industry (which industry you leave it vague). So far you’re only annoying.

I finished «Remote: Office Not Required«. It took me a bit longer than I expected, but I have more than three books open at the moment. I really liked the book. While one can find a rehash of ideas that exist also in «Getting Real» and «Rework«, I find it stronger. Especially now that I employ a quasi remote way of work. The most powerful message in the book is this:

For the remote worker, all that matters is work delivered.

So I guess, if you have ever felt as your work not being recognized, you have to try remote working. The book is about how to employ people working remote for you (and not blowing it up and therefore blame it on remote work) and for people that want to work remotely in order not to get lost because of distance. I spotted a few things that I do wrong; habbits that I have to change. Because this is what remote work is about: Installing proper habbits and corporate culture that can make it work. Working remotely and acting locally is a recipe for failure, so you need to read this book prior to starting any remote work program, or starting working remotely as a contractor or an employee.

I was showing the BlinkStick to kid[2] today and after a few blinks, I decided to make it speak Morse code. It was fun and quick, for I did not have to start from scratch. Morse code on a LED has done the same thing using a Raspberry Pi and a LED (I used their Morse code dictionary).

The Python code is available here: https://github.com/a-yiorgos/blinkstick-morse

stress test stress

2014/10/27

Διαβάζω πως τα stress test πήγαν καλά. Αυτό που δεν έχω διαβάσει ποτέ όμως, είναι ένα ρεπορτάζ που να λέει τι τεστ είναι αυτά, πως εκτελούνται και πως αξιολογούνται τα αποτελέσματα.

(Yes I can google that for me)

Follow

Get every new post delivered to your Inbox.

Join 1.676 other followers