I was recently contacted by Packt Publishing and asked to review their book Instant Nagios Starter, by Michael Guthrie. I've actively used Nagios (and forks) for well over a decade now, and have even contributed some code development to it, so I'm intimately familiar with installing, configuring, and managing Nagios environments.
Nagios is an extremely powerful and flexible monitoring platform, and those two attributes also result in it also being a fairly complex piece of software to configure if you've never dealt with it before. This book does an excellent job of walking you through the steps of installation and basic configuration of Nagios on a CentOS/RHEL system.
Nagios, as with just about any complex piece of software, relies on a number of system configuration settings, files in multiple locations, etc. to run properly. Instant Nagios Starter does an excellent job of walking you through each and every dependency so that you can get a basic Nagios server up and running in no time at all. If you're new to Nagios, or need to spin up a new Nagios server and may have only ever worked with existing Nagios setups in the past, then this guide will save you a lot of time and potential aggravation in getting started.
The title of this book is extremely accurate - it will get you started with Nagios in almost no time at all. If you're looking for anything beyond the basics of setting up Nagios then you'll want something a bit more in depth, and Packt Publishing has you covered there as well since they also have a number of other books on the subject.
Perhaps the only thing that would make this book more valuable would be if Packt Publishing offered a download of a VMWare CentOS instance with Nagios pre-installed (or partially installed) for those who don't want to waste any time installing linux first.
I use Nagios (actually Icinga) at work and do a lot of tinkering with it. I recently needed to modify the check_dig command to allow for verifying whether a response is authoritative or not. This is apparently something that's asked for a lot according to some Google searching that I've done, so I wrote a quick patch, and I've submitted it to the Nagios Plugin project on Sourceforge. Hopefully they'll accept it, but in the meantime I thought I'd post it here as well so others can make use of it if the have a need for it.
The patch is available two ways depending on your preference. You can just download a patched version of nagios-plugins-1.4.15.tar.gz, build the plugins as you normally would, and be on your way. Or you can download the official version of nagios-plugins-1.4.15.tar.gz from Sourceforge and just apply this check_dig patch. To apply the patch:
[brucep@carbon:~/tmp] tar xvzf nagios-plugins-1.4.15.tar.gz
[brucep@carbon:~/tmp] gunzip check_dig.patch.gz
[brucep@carbon:~/tmp] patch -p0 < check_dig.patch # Note, that's a zero, not the letter o.
Assuming the patch command doesn't report any problems you should be all set. Just rebuild the plugins and you're good to go. This adds a '-e' option to the command line. If you use -e then check_dig will verify that the flags header from dig contains the 'aa' flag. If the 'aa' flag isn't found then check_dig will return a CRITICAL error.
If you'd like to keep track of the status of the patch on Sourceforge you can check it here.