Aug 242010


Since july, the new version of Nagios plugins is available. We’ll update/install it.

cd /usr/local/src
sudo wget
sudo tar xvfz nagios-plugins-1.4.15.tar.gz
cd nagios-plugins-1.4.15
sudo ./configure --prefix=/usr/local/nagios --with-nagios-user=nagios --with-nagios-group=nagios
sudo make
sudo make install
cd /usr/local/src

For information purpose, here is the changelog:

New check_ntp_peer -m and -n options to check the number of usable time sources (“truechimers”)
New check_disk_smb -a option which allows for specifying the IP address of the remote server
New check_radius -N option which allows for specifying the value of the NAS-IP-Address attribute
New check_snmp –rate option to store differences between invocations. Saves state in PREFIX/var/{plugin}
check_snmp -l label option now also changes the perfdata label. See WARNINGS
check_snmp has an –invert-search option which reverses status of the string and regexp searches
check_http now displays the missing search string and the URL in the output when failed (Duncan Ferguson – #2999924)
Updated Nagios::Plugin perl module
Updated gnulib to June 2010

Fix check_ircd binding to wrong interface (#668778)
Add proxy-authorization option to check_http (Marcel Kuiper – #1323230, Bryan Irvine – #2863925)
check_icmp now increment the sequence counter in each packet
Fix usage of repeated -o options in check_snmp
Try to detect arguments passed via –with-ping[6]-command and set options accordingly (#2908236)
Fix memory leak in check_http for large pages (Jimmy Bergman – #2957455)
Fix compilation with GCC 2.96 (Konstantin Khomoutov – #2977105)
Fix regression introduced in #1867716 where partially valid performance strings would not be printed anymore
Fix regression in check_http ssl checks on some servers – make SNI an option
Fix guest mode support in check_disk_smb
Fix check_disk_smb and check_ircd failures when run via ePN
check_ldap now allows for specifying an empty LDAP base
Fix compilation error of pst3 in Solaris 8
Fix check_radius returning OK on unexpected results (Craig Leres – #2911752)
Fix translations when extra-opts aren’t enabled (Jan Wagner – #2832884)
Fix parsing of multi-line strings in check_snmp (broken in 1.4.14) and enhance output in such case (#2832451)
Fix detection of pst3 64-bit compile flags with Sun CC
Fix cmd_run overwriting the environment, which would break some commands that needed it
Allow check_ifstatus to accept version=2c – used to only allow version=2 (Brian Landers)
Fix examples in check_disk, where it implied was possible to suffix unit values to warn/crit parameters

Updated developer documentation to say that performance labels should not have an equals sign or single quote in the label
check_http 1.4.14 introduced SSL SNI support – you now have to enable it explicitly with “–sni”
check_snmp -l label option is also used for the performance label. This could change history from previous uses