As we are nearing an official beta for plugins 2.1 release, I wanted to give you all the opportunity to see some of the changes for yourselves and maybe find a new bug or two, or request a feature of your own. Build instruction are below, and please note that you should only deploy these on testing systems and not in production until a full release has been made. If you have build issues please post them here, other issues with the plugins themselves once built should be a new thread in this forum please. Thanks for your time and effort!
Code: Select all
cd /tmp
git clone -b 2.1.0-beta-RC1 https://github.com/nagios-plugins/nagios-plugins.git nagios-plugins-beta
cd nagios-plugins-beta
./tools/setup
./configure --with-nagios-user=nagios --with-nagios-group=nagcmd --libexecdir=/usr/local/nagios/libexec
make
make install <- Only do this if you intend to run the with core or XI, and not just test them.
If you are getting make errors for missing po files or similar, you likely need to install automake, autoconf, libtool, and gettext packages. Then in the plugins root directory, run libtoolize -f and then re-run all steps from ./tools/setup and below.
Some items of interest, that I would like thoroughly tested are:
Many plugins with ssl usage - verify that ssl implementations are correct and working with expected protocols. A lot of changes were put into heartbleed, poodle, and other proper restrictions of allowed ciphers depending on the plugins usage. This is especially apparent with check_http.
Many changes and cleanup to base code shared between plugins. This may effect ini parsing, exiting, and some output messages. This was also a major part of coverity and gcc\clang cleanup.
check_procs - cgroups additions. More work is needed here to detect systems that do not support cgroups through ps commands, this only is an issue if -g is used on unsupported systems.
check_procs - additional HP-UX ps support.
check_http - chunked encoding is now supported without the use of additional flags. This is pretty awesome, but the patch may need some additional cleanup that further testing will show.
check_http - passing -k with host: ... now forces the use of your host header instead of plugins mangling and determining how it should be handled. Without a host: -k flag, normal -k operation should be in place.
check_log.sh - now has support for a warning value.
check_disk - if your system supports threading, check_disk will now thread when attempting to stat a disk. This prevents hanging on slow to respond file systems.
check_ssh - now supports ssh version checking
check_dig - now supports -4 and -6 flags
ALL plugins in /plugins/ have new timeout state changes. Please test the heck out of the code here as I will be too.