Version 2.0 Released
Holger Weiß, July 11, 2014
The Monitoring Plugins Development Team is proud to announce the first release under the new project name: Version 2.0 of the Monitoring Plugins! This release comes with various enhancements and fixes provided by more than twenty contributors. Many thanks to all of you!
Let me also take the chance to welcome our newest team member, Sam Kottler. He already did lots of patch review for this release, and his expertise will no doubt help us a lot in the future, so we're really happy to have him on board!
One of the significant changes in the new release is that the Extra-Opts feature is now enabled by default. This lets you use a configuration file to specify plugin options. See the documentation for details.
For the list of other major changes in this release, see below. Note that a few of them might break certain configurations (hence the major version bump). Those are mentioned at the bottom of that list, so please be sure to check whether they might affect you.
You can get the tarball from our download page.
Enhancements
check_mailq
now supports auto detection of qmail, postfix, exim and nullmailer with fallback to sendmailcheck_ide_smart
now defaults to plugin output, original output appended with-v
- Extra-Opts are now enabled by default
check_swap
now supports a configurable state when there is no swapcheck_radius
now supports the FreeRADIUS Client library- New
check_mysql_query
-f
option to specify a client options file - New
check_mysql_query
-g
option to specify a client options group - Add performance data to
check_mysql_query
- New
check_file_age
-i
/--ignore-missing
option to returnOK
on nonexistent files - Make
check_ping
,check_users
, andcheck_disk
work on Windows - New
check_ssh
-P
option to specify the expected SSH protocol version check_dns
now emits the warning and critical thresholds with the performance data
Fixes
- Don't let e.g.
check_http
's-C
option reset SSL version if e.g.-S
1
-C
5
is specified - Don't have
check_http
's-N
option expect an argument check_ide_smart
could disable offline auto-tests but could not re-enable them. For this reason all SMART command modes have been disabledcheck_dig
: fix wrong IPv6 arguments order (Stéphane Bortzmeyer)check_dig
: make sure not to give up too early when a timeout is specified with-t
check_log
: don't stumble over log lines that include a%
charactercheck_nt
: addUPTIME
to perfdata- Handle SNMPv3
noAuthNoPriv
properly withcheck_snmp
- Fix compilation with GnuTLS
Warnings
- New default installation prefix:
/usr/local
instead of/usr/local/nagios
check_snmp
now evaluates negative values properly, which means it might returnCRITICAL
in cases where it used to returnOK
. If this is undesired, the warning/critical threshold(s) must be fixed by specifying e.g.~:100
instead of100
check_procs
now ignores its parent process to avoid unexpected results when invoked via certain shellsutils.sh
no longer definesECH
check_ide_smart
-q
/--quiet
and-n
/--nagios
(Nagios-compatible output) are now deprecated but accepted for backward-compatibilitycheck_ide_smart
-0
/--auto-off
,-1
/--auto-on
and-i
/--immediate
: options have been disabled because they were broken- State retention: the
NAGIOS_PLUGIN_STATE_DIRECTORY
environment variablew has been renamedMP_STATE_PATH
. The old variable will continue to work in v2.0.x - Add the UID of the invoking user to the state retention file path. This helps solving permission issues when different users run the same plugin
check_swap
used to allow returningOK
on a system without swap when only percent thresholds were used. This is no longer the case and one must now use-n
/--no-swap=<state>
- The Perl and Shell plugins now use the
PATH
specified via./configure
's--trusted-path
option, or/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
by default