Category Archives: Nagios

NagiosTV for Nagios 4

Here is the first release of NagiosTV for Nagios 4.

NagiosTV is an alternate user interface (UI) for the Nagios open source monitoring system.

This UI is designed to be viewed on a TV or on your desktop to quickly see if all your services are up or down. This is not meant to be a replacement for the Nagios web interface.

This version adds Flynn, the character from the game Doom. This is just a bit of added fun to bring some emotion to server monitoring. The more services are down, the more angry Flynn gets.
When I walk into my office in the morning, I take a look over at Flynn and see if he is happy or angry. If he is angry then you can fix whatever needs fixing to make him happy again.

Included is a Node.js server which can be used to serve the NagiosTV web interface, and to optionally proxy connections to your Nagios server.

Open Source on GitHub: https://github.com/chriscareycode/nagiostv-4

Shut off Nagios Notifications

$ cat shh.sh

#!/bin/sh
now=`date +%s`
commandfile='/var/lib/nagios3/rw/nagios.cmd'
echo "[%lu] DISABLE_NOTIFICATIONS\n" $now > $commandfile

Enabling notifications across the board is similar:

$ cat enable-notifications.sh

#!/bin/sh
now=`date +%s`
commandfile='/var/lib/nagios3/rw/nagios.cmd'
echo "[%lu] ENABLE_NOTIFICATIONS\n" $now > $commandfile

How to prevent multple “CHECK_NRPE: Socket timeout after 10 seconds” alerts

Nagios Monitor

In server monitoring with Nagios, nobody likes to get paged any more than necessary. This article will show you how to prevent multiple “CHECK_NRPE: Socket timeout after 10 seconds” alerts every time a host goes down.

In this circumstance, I’m not trying to get NRPE working. I’m trying to shut it up when there is an outage.

Continue reading How to prevent multple “CHECK_NRPE: Socket timeout after 10 seconds” alerts