Category Archives: Releases

Nagios Plugins 2.0.1 Released

The Nagios Plugins Development Team is proud to announce that nagios-plugins 2.0.1 has been released and is available for download. This is mostly a maintenance release, focusing on check_dns stability and some bugs in the new check_uptime plugin. A full list of included enhancements and fixes are listed below:

ENHANCEMENTS

  • check_snmp.c – Added thresholds to performance data (jccomputing)
  • check_http.c – Added */* MIME support (Alex Gottschalk)
  • check_mailq.pl – Added autodetection for mailq implementation (evgeni)
  • check_mailq.pl – Added autodetected version to output (evgeni)

FIXES

  • check_dns.c – Record type corrections for default check (sreinhardt)
  • utils.c – Changed comment type – now supported by AIX and should no longer fail compile (hkpatv)
  • check_uptime.c – Fixed timeout option (abrist)
  • check_uptime.c – Fixed help output and updated verbose usage (abrist)
  • check_uptime.c – Removed executable permissions on check_uptime.c (abrist)
  • check_uptime.c – Removed old code (madrisian)
  • check_pgsql.c – Fixed help output (weiss)
  • lib/Makefile.am – Avoid deprecated includes (madrasian)
  • lib/tests/Makefile.am – Avoid deprecated includes (madrasian)
  • plugins/Makefile.am – Avoid deprecated includes (madrasian)
  • check_apt.c – Removed the verbose flag suggestion (skottler)
  • check_oracle.c – Changed regex to compensate for tns string match edge cases (waja)
  • check_snmp.c – Always privides the security name when noAuthPriv is specified (catharsis)

Thanks to all who have contributed toward this release. If you need assistance installing or using the plugins, please visit our general support forum. Bug reports, feature requests, and additional comments are welcome and may be posted to our plugin development forum.

Nagios Plugins 2.0 Released

The Nagios Plugins Development Team is proud to announce that nagios-plugins 2.0 has been released and is available for download.  In addition to numerous bug fixes and new options, we have included a new plugin – check_uptime (only supported on Linux at the moment – more platforms to follow in the future).

ADDITIONS

  • check_uptime – New plugin (only supports Linux due to dependency on clock.gettime()).  More supported platforms to follow.

ENHANCEMENTS

  • check_mysql_query – Added performance data (sreinhardt)
  • check_file_age – New option -i/–ignore-missing which returns OK if file is missing (waja)
  • check_nt – Added performance data to UPTIME -l seconds|minutes|hours|days (abrist)
  • check_hpjd – New -p option for port specification (abrist)
  • check_disk – new -n option for multi-line output (tmcnag)
  • check_mysql_query – New -f/-g options for reading for mysql options file (awiddersheim)
  • check_mailq – New -M option for nullmailer support in the mailserver (Luca Corti)
  • check_dig – New -r option for specifying number of retries (abrist)
  • check_ntp_peer – Added state output for each checked metric (abrist)
  • check_dns – Warning and critical thresholds added to perfdata (jccomputing) (abrist)
  • check_dns – New -q options for several query types (AAAA,TXT,SRV,MX) (sreinhardt)
  • check_tcp – Status output now includes hostname when host_specified is set (madrisan)
  • check_mysql – New -n/–ignore_auth option to ignore authentication failure (Julius Kriukas)
  • check_ssh – New -P/–remote-protocol option to monitor the ssh protocol version (monitoring-user)
  • check_ntp – New -o/–time-offset option to compensate for the ntp server’s offset relative to the local server (monitoring-user)
  • configure.ac – Added support for –disable-maintainer-mode (weiss)

FIXES

  • check_http – The -C option no longer resets SSL version if e.g. -S 1 -C 5 is specified
  • check_ide_smart – Now defaults to nagios-compatible output (sreinhardt)
  • Fixed misleading timeout message for non-network plugins (sreinhardt)
  • check_swap – Now fails with 100% usage and a new status output when swap is disabled or missing (abrist)
  • check_ifstatus – Removed commas from perfdata – should now output valid perfdata in nagios format (waja)
  • check_ping – Now gracefully handle the “time of day goes back” error.  This issue is rare, most will not notice the change (waja)
  • check_disk – Help output was clarified that it supports mount paths or partitions instead of just paths and partitions (waja)
  • check_ide_smart – Fixed attribute comparison (waja)
  • check_ntp_time – Fixed average time calculation (larsi)
  • NPTest.cache – Empty or Missing file no longer blocks writing to the file (dermoth)
  • parse.ini – Fixed newlines in output (dermoth)
  • check_dig – Fixed wrong IPv6 arguments order (Stéphane Bortzmeyer)
  • check_dig – Now honors timeout value specified by switch -t (Jethro Carr) (abrist)
  • configure.in – Renamed to configure.ac to avoid deprecation warning (abrist)
  • configure.ac – The option –enable-extra-opts is now enabled by default (dermoth)
  • check_snmp – Now handles negative values properly (Stephane Lapie)

WARNINGS

  • check_procs – Now ignores its parent process to avoid unexpected results when invoked via certain shells
  • utils.sh – No longer defines ECHO (weiss)
  • check_ide_smart now default to nagios output, -n kept for legacy support (sreinhardt)
  • check_ntp_peer – Status output changed, now includes individual state for offset, truechimers, stratum, and jitter (abrist)
  • check_tcp – Status output has changed, now includes hostname (madrisan)

TESTS

  • check_procs – Performance data tests added (dermoth)
  • check_snmp – Added tests for negative thresholds (dermoth)
  • check_hpjd – Added tests for port options (abrist)
  • check_dns – Added new tests for query types (abrist)
  • check_pop – Added option to enable ssl for the test (abrist)
  • check_jabber – Fixed status output tests to account for hostname (abrist)
  • check_procs – Tests no longer fail if uid 501 is not present (sni)
  • check_mysql – Test prompts clarified (dermoth)
  • check_file_age – Added tests for –ignore-missing (waja)

OTHER

  • Numerous small typos fixed.
  • Help output has been changed in many places for clarity and verbosity.

Thanks to all who have contributed toward this release. If you need assistance installing or using the plugins, please visit our general support forum. Bug reports, feature requests, and additional comments are welcome and may be posted to our plugin development forum.

Nagios Plugins 1.5 Released

The Nagios Plugins Development Team is proud to announce version 1.5 of the Nagios Plugins! This release comes with the new check_dbi plugin written by Sebastian Harl, and includes lots of enhancements and fixes provided by more than forty contributors. Many thanks to all of you!

Special kudos go to Sven Nierlein for fixing numerous bugs, reviewing many pull requests, bringing our test suite back into shape, and setting up automated tests on a variety of platforms. This helped us spotting lots of bugs before the release. Let me also thank Ton Voon for doing the unenviable work of updating the bundled Perl modules; and our newest team member Jan Wagner for all his help with patch review.

See below for a list of major changes. Note that the new check_http version introduces two minor backwards incompatibilities mentioned at the end of that list, so please be sure to check whether they might affect you.

You can get the tarball from our download page.

Enhancements

  • New check_dbi plugin for checking an (SQL) database using DBI
  • Let OpenSSL load its configuration file (see the OPENSSL_config(3) man page)
  • Add performance data to check_apt
  • Add performance data to check_procs
  • Added -4/-6 options to check_dig
  • New check_oracle --connect option to perform real login
  • New check_nagios -t option to override the default timeout
  • New check_disk -f/--freespace-ignore-reserved option to ignore space reserved for root
  • New check_disk -N/--include-type option to limit the filesystem types to check
  • Allow for building the plugins in parallel
  • Add --without-{dbi,ldap,radius} options to ./configure
  • Made Verbose output of check_sensors compliant
  • New switch -E/--extended-perfdata for check_http to print additional performance data
  • New check_http -d option to specify a string to expect within the response headers
  • New check_http -J/-K options for client certificate authentication support
  • Add support for executing queries to check_pgsql
  • Let check_pgsql accept a UNIX socket directory as hostname
  • New check_pgsql -o option to specify additional connection parameters
  • New check_fping -S option to specify the source IP address
  • New check_fping -I option to specify the interface to bind to
  • Let check_fping support IPv6
  • New check_procs -k option to ignore kernel threads (on Linux)
  • Let check_procs use /proc/<PID>/exe (if available) instead of getpid(2), unless -T is specified
  • Let check_mysql support SSL
  • Let check_mysql add perfromance metrics for all checks
  • New check_mysql -f option to specify a client options file
  • New check_mysql -g option to specify a client options group
  • New check_snmp --offset option to allow for adding/substracting an offset value to sensor data
  • Let check_snmp support an arbitrary number of OIDs
  • Let check_ide_smart support NetBSD

Fixes

  • Change the MAIL FROM command generated by check_smtp to be RFC compliant
  • Fix compilation of check_http without SSL support
  • Fix check_snmp reversed threshold ranges (backward-compatibility)
  • Fix check_snmp memory violation when using more than 8 OIDs
  • Fix check_apt security regular expression
  • Fix check_http handling extra header (-k) containing semicolons
  • Fix check_apt handling unknown exit codes from apt-get
  • Fix deprecated imports of check_nmap.py

Warnings

  • check_http behaviour of -k/--header changed since it does not separate multiple headers by semicolons anymore. Use multiple -k switches instead.
  • check_http‘s --proxy_authorization option is now called --proxy-authorization (it was always documented this way)
  • The contrib directory has been removed. These days, sites such as Nagios Exchange serve as much better places for publishing plugins not maintained by the Nagios Plugins Development Team.