Category: Nagios

  • NagiosTV for Nagios 4 October 2018 update

     I’m happy to share another great update for NagiosTV for Nagios 4

    NagiosTV showing some Host and Service problems

    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 entire Nagios web interface, but an alternate way to look at the “what’s down?” part.

    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.

    With this version, you just unzip the release into the built-in Nagios web user interface folder, and it runs alongside the built-in Nagios user interface. That’s it!

    Please give it a shot, and let me know how it works for you!

    Releases, installation instructions, and the source code can be found on GitHub at https://github.com/chriscareycode/nagiostv-react

    Some History

    Each time this project evolves it gets a little better and more easy to install. The original NagiosTV was essentially a database driven app that required MySQL, ndoutils package that would push the Nagios updates into the database, and the JavaScript frontend and PHP code to display the data. Needless to say there was a lot of stuff to set up to get this working.

    Nagios Core 4.0.7 and newer comes with new JSON CGI’s https://labs.nagios.com/2014/06/19/exploring-the-new-json-cgis-in-nagios-core-4-0-7-part-1/ out of the box which is a game changer for tapping into the Nagios data from a web application. No more need for ndoutils writing out to a database. No more installing 3rd party tools like status-json and MK livestatus to tap into Nagios data.

  • NagiosTV for Nagios 4

    NagiosTV showing one service down in the CRITICAL state

    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-react

  • 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
  • NagiosTV 0.2

    Watch one or more Nagios servers on a wall mounted TV (or your desktop)

    Here is a TV watching 5 Nagios servers at once:

    (more…)

  • 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.

    (more…)