Author Archives: John Frickson

Nagios Plugins 2.2.0 Released

The Nagios Plugins Development Team is proud to announce that nagios-plugins 2.2.0 has been released and is available for download.

Enhancements:

  • check_flexlm: if -F <license file> is not specified, will use LM_LICENSE_FILE environment var
  • check_load: Added per cpu load average message
  • check_smtp: add -L flag to support LMTP (LHLO instead of HELO/EHLO)

Fixes:

  • check_http: -e breaks -f
  • check_mrtg: Add state to status output
  • check_ping: ping runs 30 times when host is down
  • check_icmp: does not have the -p argument in the help
  • check_dns: Segfaulting with timeout > 26 sec
  • check_disk: missing -lrt on Solaris
  • check_http: segmentation fault
  • check_http: help text update for virtual hosts
  • check_snmp: Thresholds were being shown twice
  • check_hpjd: some jd 610 cards have a false flag that printer is offline
  • check_http: Handle reference redirect like //www.site.org/test
  • check_disk: alerts issued too soon
  • fix: Allocator sizeof operand mismatch
  • fix: Dead assignment
  • Shellcheck: fix most of the shellcheck warnings.
  • check_ntp: touch ntp servers at most once every seconds
  • check_dns: authoritative test (-A) is broken
  • check_dns: reports TXT records incorrectly
  • check_file_age: does not handle filenames WITHOUT space!
  • de,fr.po: fix syntax errors end-of-line within string
  • lib/parse_ini.c: fix gcc warning: implicit declaration of function ‘idpriv_temp_drop’ and ‘idpriv_temp_restore’
  • add openssl 1.1 support

Download Nagios-Plugins 2.2.0 here.

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.1.0 Released

The Nagios Plugins Development Team is proud to announce that nagios-plugins 2.1.0 has been released and is available for download.

As promised, both the findbin and timeout_state branches have included in this release. The nasty awk script for perl plugin paths has been removed and replaced with the functionality of FindBin.  Enhancements to the timeout (-t) switch were included in the timeout_state branch.  See below for details:

-t <interval>:<state>

Interval is a positive integer.
State is case insensitive and one of:
State name: ok/warning/critical/unknown
Or stateid: 0/1/2/3

For example:
-t 5:0 = 5 seconds timeout with state ok
-t :warning = default timeout with state warning
-t 5 = 5 second timeout with default state

Additionally, check_http now supports chunked-encoded pages, check_radius now supports the FreeRADIUS Client library, and  check_snmp now support IPv6.

There were many other small fixes from coverity and our fantastic community, as well as a large number of smaller enhancements,  bug fixes, localization fixes, and typo corrections.

Download Nagios-Plugins 2.1.0 here.

A full list of included enhancements and fixes are listed below:

SECURITY FIXES
ssl_utils.c – Disable SSLv3 & SSLv2 autonegotiation by default to limit poodle and other weak cipher attacks (sreinhardt)

ENHANCEMENTS
Timeout States Implemented – Plugins that support a timeout state will now also support specifying the exit state in case of timeout with the syntax -t <timeout>:<state> (abrist)
Perl plugins now use FindBin for path discovery, obsoleting the nasty AWK script (evgeni, abrist)
check_http.c – Added support for chunked transfer-encoding (koenwtje, dermoth, sreinhardt)
check_radius.c – Added support for the FreeRADIUS Client library (weiss)
check_snmp.c – Added thresholds to performance data (seemuellera)
check_snmp.c – Added new option (-N) for SNMPv3 context (Johannes Engel)
check_snmp.c – Added IPv6 support (abrist)
check_ldap.c – Added a new option (-U) for LDAP URI support (qris)
check_ifstatus.pl – Added new option (-n) to exclude interfaces (peelman, weiss)
check_file_age.pl – Performance data output added (hggh)
check_mailq.pl – Now supports sudo (Christopher Schultz, weiss)
check_log.sh – Added a new option (-w) defining upper value to return a warning code (arvanus)

Download Nagios-Plugins 2.1.0 here.

FIXES
check_by_ssh.c – Added –hostname support (sni)
check_dbi.c – Spelling corrections (sreinhardt)
check_dig.c – Fixed to work with dig/drill tools and ip version switch is now respected (abgandar)
check_disk.c – Fix for hanging filesystems (Gerhard Lausser)
check_disk.c – Partitions in problem state now reported in verbose mode (waja)
check_disk.c – Prevent large tide values from truncation (JesperForsberg)
check_dns.c – Server specific fixes and other cleanup (sreinhardt)
check_http.c – Some small changes for readability (koenwtje)
check_mrtgtraf.c – Added verbose output (sreinhardt)
check_mrtgtraf.c – Perfdata now complies with UOM definition (Bobzikwick)
check_ntp_peer.c – No longer uses uninitialized results for max state (sni)
check_procs.c – Rare race condition fixed (Mikael Falkvidd)
check_ssh.c – Now exits with CRITICAL when version/protocol string check fails to match (sni)
check_tcp.c – Help description of escape characters now correct (Sebastian Herbszt)
check_tcp.c – Fix to support Openfire servers with check_jabber (weiss)
check_ups.c – Spelling corrections (sreinhardt)
pst3.c – Fix for unclosed file handle in pst3 on Solaris (jwinkle01)
plugins-scripts/*.sh – Trusted path fixes (waja)
netutils.h – Decreased max path to 104 bytes to compensate for BSD paths (sreinhardt)
configure.ac – Fix for HP-UX ps command (Tontonitch)
lib/utils_cmd.c – Fix for potential segfault when ulimits are set to unlimited (nafets)
lib/parse_ini.c – Many small fixes from coverity scans and the community (sreinhardt, weiss)
lib/util_base.c – Code cleanup (sreinhardt)
lib/utils_base.c – Add EIUD to state retention path for multi-user permissions support (sreinhardt)
po/* – Spelling corrections (sreinhardt)
Multiple resource leaks fixed (sreinhardt)
Many other small fixes and cleanup caught by coverity (multiple contributors)

Download Nagios-Plugins 2.1.0 here.

TESTS
Many small fixes to tests (multiple contributors)

LOCALIZATION
Many small fixes for locales and localizations (multiple contributors)

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.

Download Nagios-Plugins 2.1.0 here.