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_mailqnow supports auto detection of qmail, postfix, exim and nullmailer with fallback to sendmailcheck_ide_smartnow defaults to plugin output, original output appended with-v- Extra-Opts are now enabled by default
check_swapnow supports a configurable state when there is no swapcheck_radiusnow supports the FreeRADIUS Client library- New
check_mysql_query-foption to specify a client options file - New
check_mysql_query-goption to specify a client options group - Add performance data to
check_mysql_query - New
check_file_age-i/--ignore-missingoption to returnOKon nonexistent files - Make
check_ping,check_users, andcheck_diskwork on Windows - New
check_ssh-Poption to specify the expected SSH protocol version check_dnsnow emits the warning and critical thresholds with the performance data
Fixes
- Don't let e.g.
check_http's-Coption reset SSL version if e.g.-S1-C5is specified - Don't have
check_http's-Noption expect an argument check_ide_smartcould 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-tcheck_log: don't stumble over log lines that include a%charactercheck_nt: addUPTIMEto perfdata- Handle SNMPv3
noAuthNoPrivproperly withcheck_snmp - Fix compilation with GnuTLS
Warnings
- New default installation prefix:
/usr/localinstead of/usr/local/nagios check_snmpnow evaluates negative values properly, which means it might returnCRITICALin cases where it used to returnOK. If this is undesired, the warning/critical threshold(s) must be fixed by specifying e.g.~:100instead of100check_procsnow ignores its parent process to avoid unexpected results when invoked via certain shellsutils.shno longer definesECHcheck_ide_smart-q/--quietand-n/--nagios(Nagios-compatible output) are now deprecated but accepted for backward-compatibilitycheck_ide_smart-0/--auto-off,-1/--auto-onand-i/--immediate: options have been disabled because they were broken- State retention: the
NAGIOS_PLUGIN_STATE_DIRECTORYenvironment 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_swapused to allow returningOKon 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
PATHspecified via./configure's--trusted-pathoption, or/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/binby default
