Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Releases: monitoring-plugins/monitoring-plugins

3.0.0-rc2

02 Jan 15:49
5c5809f

Choose a tag to compare

3.0.0-rc2 Pre-release
Pre-release

This is the second release candidate for version 3.0.0.

It contains mostly fixes to the 3.0.0-rc1 version and is also not a full release, but serves as a basis for test until we are mostly sure not to break production setups.

Changes

  • check_nt was removed
    check_nt is no long useful in current setups and hasn't been for some time. Therefore it was removed without a replacement.
  • check_ntp was removed
    check_ntp was marked as deprecated for a long time due to systematic problems. It should not be in use anywhere and gets now removed to reduce code size and avoid misleading users. The replacements are check_ntp_time and check_ntp_peer
  • Bugfix for check_ntp_time
    An errournous change in check_ntp_time made it fail in almost all use cases. This has been fixed
    Properly separate perfdata from different subchecks A missing separator caused errors in perfdata strings (from C plugins) where two different data points where not properly separated and showed up as a single invalid data point
  • check_curl: append the query string from parsed uri
    When using the old style follow method (-f follow) with check_curl the query string was not appended to the new target after redirect. This was fixed. (Thanks @inqrphl )
  • Fixing different problems on OpenBSD
    A few different things did prevent proper compilation and usage on OpenBSD, partly due to different naming conventions there. These are hopefully fixed now. Thanks to @oxzi and @sthen .
  • Gnulib update to stable-202507

3.0.0-rc1

02 Dec 14:27

Choose a tag to compare

3.0.0-rc1 Pre-release
Pre-release

Almost time for a new Monitoring Plugins release

This is a pre release since there are a lot of changes and we would like to give peope some time for testing and to find the new bugs :-)

The core parts of this release are significant changes to the C part of this project, which should be mostly internal and
not change the results in a significant way (meaning the input parameters mostly stay as they are and the exit code should remain the
same if the parameters are the same in the old version and context did not change).
The reality is, that big changes have unintented consequences which are not covered in the test cases or some consequences were not in our scope at all.
Therefore the pre release.

What has changed?

The broad picture

The relevant changes were done in the C part mostly and were introduced to make working on the project easier.
The code is now uniformly formatted with clang-format (config file is in this repository) and a lot of refactoring went into getting more uniform and ideal "dumber" code (meaning easier to read and to think about).
Also some steps were taken to
get to a uniform code base regarding the output.

The idea here is, that each run of a Monitoring Plugin consists of one or more individual "tests" which are summed to present
the overall result state. These "tests" can either be dependent on each other (if one can not connect to a server via network, building a TLS connection and building a HTTP exchange after that is not possible) or independent of each other (check_disk tests different filesystems independently).
This idea was inspired by some other Monitoring Plugins and feel like a good abstraction for the use case.
The consequence is, that there are now data structures which contain individual tests (a test result like OK or CRITICAL , some output and the perfdata part) and they are put together when everything else is done.

Practically the output is not anymore generated by each plugin individually, but centrally by a library (at least for those plugins which were already migrated to that new structure).
This allows to format the ouptut on stdout centrally, currently there is only the default format and an experimental JSON ouptut format (for testing purposes! not stable!).

Plugins with the new output

These Plugins are already migrated:

  • check_apt
  • check_by_ssh
  • check_cluster
  • check_curl
  • check_dbi
  • check_disk
  • check_ftp
  • check_http
  • check_imap
  • check_jabber
  • check_ldap
  • check_mrtg
  • check_mrtgtraf
  • check_mysql
  • check_mysql_query
  • check_nntp
  • check_nntps
  • check_ntp
  • check_ntp_peer
  • check_ntp_time
  • check_pgsql
  • check_pop
  • check_simap
  • check_smtp
  • check_snmp
  • check_spop
  • check_ssh
  • check_ssmtp
  • check_swap
  • check_tcp
  • check_udp
  • check_users

What else changed?

Of course some bugfixes and even small features found their way into the code, too

check_curl

check_snmp

check_snmp links directly agains net-snmp instead of executing snmpget and parsing the output.

check_dig

  • check_dig: add -E/--require-flags and -X/--forbid-flags by @Decstasy in #2165

general changes regarding the Plugins and the library

Read more

Monitoring Plugins v2.4.0 released!

24 Jul 21:14

Choose a tag to compare

The Monitoring Plugins Development Team is proud to announce version 2.4.0 of
the Monitoring Plugins! This release comes with various fixes provided by more
than 12 contributors. Many thanks to all of you!

For the list of notable changes in this release, see below.

Enhancements

General

Single Plugins

  • check_mailq: remove trailing whitespaces @sni
  • check_mailq: unify tabs/spaces @sni
  • check_oracle: Shellcheck fixes @RincewindsHat
  • check_ups: output ups.realpower if supported @sbraz
  • check_disk: add -n short option for --ignore-missing @sni
  • check_procs: Improve help text, mentioning excluded processes @shartge
  • check_procs: Generalise wording, remove mentioning of nrpe @shartge
  • check_curl: add haproxy protocol option @emriver
  • check_disk: increase alert precision @sni
  • check_ircd: IPv6 support @oxzi
  • check_nwstat: adds percentage used space
  • check_swap: Possibility to run check_swap without thresholds @Napsty
  • check_ups: additional alarm conditions @RincewindsHat
  • check_http/check_curl: added a --regex-state option to change the state of a regex check @andreasbaumann

Fixes

General

Single Plugins

  • check_dbi: Compiler warning for uninitialized variable @RincewindsHat
  • check_curl: Initialize pointer before usage @RincewindsHat
  • check_ntp: Initialize intermediate results in any case @RincewindsHat
  • check_tcp: Fixes an error with using the wrong type for a variable @RincewindsHat
  • check_mailq: exit on empty strings and exit early @sni
  • check_users: Change option for sanity checking arguments to avoid segfault @RincewindsHat
  • check_users: Update help to properly show that thresholds are ranges @RincewindsHat
  • check_users: fix segfault @RincewindsHat
  • check_dbi: Fix compiler warning for uninitialized variable @RincewindsHat
  • check_curl: Initialize pointer before usage @RincewindsHat
  • check_ntp: Initialize intermediate results in any case @RincewindsHat
  • check_ntp_peer: Fixes for Wmaybe-unitialized and some restructuring @RincewindsHat
  • check_dns: Remove unused variable @RincewindsHat
  • check_disk: fix ignore-missing in combination with includes @sni
  • check_procs: ignore our own children @shartge
  • check_http: Remove self assignment of a variable and add some comments @RincewindsHat
  • check_snmp: Remove unused variable @RincewindsHat
  • check_dhcp: Make implicit conversion explicit to dismiss warning @RincewindsHat
  • Ini Parser: Avoid freeing symbols from text section @RincewindsHat
  • check_icmp: keep performance data order in case of none-reachable hosts @sni
  • check_swap: Change another fake boolean to a real one @RincewindsHat
  • check_swap: Rename type since *_t is reserved for C standard types @RincewindsHat
  • check_ssh: Fix a typo in "remote-protocol parameter
  • check_ssh: Handle non-alpha software versions
  • check_ssh: properly parse a delayed version control string
  • check_disk: Fail on missing arguments for --warning and --critical and fix a test case @RincewindsHat
  • check_disk: Use new test function for percentage expressions @RincewindsHat
  • check_load: remove unused code @RincewindsHat
  • check_curl/check_http: clarified format of POST data @andreasbaumann

Full Changelog: v2.3.5...v2.4.0

Monitoring Plugins v2.3.5 released!

18 Oct 09:38

Choose a tag to compare

The Monitoring Plugins Development Team is proud to announce version 2.3.5 of
the Monitoring Plugins! This release comes just with a small fix preventing
the tarball from being built. Sorry for this.

For the list of notable changes in this release, see below.

Fixes

General

  • Include maxfd.h in lib Makefile

Please also have a look into the changes from the 2.3.4 release,
you might have missed.

v2.3.4

18 Oct 04:42

Choose a tag to compare

Monitoring Plugins v2.3.4 released!

The Monitoring Plugins Development Team is proud to announce version 2.3.4 of
the Monitoring Plugins! This release comes with various fixes provided by more
than 30 contributors. Many thanks to all of you!

For the list of notable changes in this release, see below.

Enhancements

General

  • Sync with the Gnulib code 668c0b8ffa
  • Set autoconf prerequisite version to 2.64
  • Remove sha1 and use sha256 in some parts of the plugin structure

Single Plugins

  • check_curl: added --cookie-jar and doing proper cleanup of libcurl
  • check_curl: Include all IPs from getaddrinfo() in curl DNS cache
  • check_dhcp: Add dhcp rogue detection
  • check_disk: add ignore-missing option to return OK for missing fs
  • check_disk_smb: allow checking 0-sized resource (ex. IPC$)
  • check_disk: The options to include or exclude specific file systems now allow the usage of regex(7)
  • check_icmp: Add support to Jitter, MOS and Score
  • check_mysql: Detect running mysqldump and handle it more gracefully
  • check_procs: Implement --exclude-process to exclude specific processes
  • check_smtp: add new longoption --tls
  • check_smtp: Add option to prefix PROXY header
  • check_smtp: Add support for SMTP over TLS
  • check_smtp: Add support for SNI
  • check_snmp: Implement option to ignore mib file parsing errors
  • check_users: prefer systemd-logind over utmp

Fixes

General

  • A lot of compiler warnings were fixed
  • Some code was refactored a little bit

Single Plugins

  • check_disk: Display SI units correctly
  • check_ircd: use pack_sockaddr_in rather than hand-rolled
  • check_log/check_oracle/check_sensors: fixed the outputs of the help functionality
  • check_mysql: Add mysql_close to avoid spamming the server logs
  • check_smtp: add missing -r option in usage
  • check_snmp: disable multiplier when unused
  • check_wave: Use compile time determined path to snmpget

v2.3.3

02 Feb 10:39

Choose a tag to compare

Monitoring Plugins v2.3.3 released!

The Monitoring Plugins Development Team is proud to announce version 2.3.3 of
the Monitoring Plugins! This release comes with various fixes provided by more
than 16 contributors. Many thanks to all of you!

What's Changed

Enhancements

General

  • using PRId64 and PRIu64 instead of %ld directly

Single Plugins

  • check_http: Make faster with larger files
  • check_snmp: add 'multiplier' to modify current value
  • check_http: Implement chunked encoding decoding
  • check_http/check_curl: add chunked encoding test
  • check_log: Added --exclude to exclude patterns
  • check_log: Add tests
  • check_disk: Clarify usage possibilites

Fixes

General

  • fixed two PRId64 to PRIu64 in perfdata_uint64

Single Plugins

  • check_pgsql: Removing is_pg_dbname alltogether,using postgres API.
  • check_http: Remove superflous CRLF in HTTP-Requests
  • check_curl: detect ipv6
  • check_icmp: fix parsing help/version long options
  • check_http: fix test plan
  • check_disk: Find accessible mount path if multiple are available
  • check_apt: Fix unknown escape sequence error output
  • check_curl: fix checking large bodys
  • check_snmp: Improve tests for check_snmp & multiply option
  • check_snmp: always apply format when applying multiplier
  • check_http: Use real booleans instead of ints
  • check_http: Document process_arguments a little bit better
  • check_http: Remove dead code
  • check_http: Fix several bug in the implementation of unchunking
  • check_http: Reformat a part to increase readability
  • check_apt: Put upgrade options in the root sections
  • check_apt: Fix comment
  • check_apt: Use real booleans
  • check_mailq: Fixing nullmailer regex
  • check_snmp: Fix regex matches
  • check_log: Fixed a bug when using --all
  • check_log: Cleaned up duplicated code in the args
  • check_http: Fix memory reallocation error in chunk decoding logic
  • check_http: Add space for ending NULL byte in array for chunked encoding

v2.3.2

21 Oct 12:05

Choose a tag to compare

Monitoring Plugins v2.3.2 is out!

What's Changed

General

Single Plugins

Read more

Monitoring Plugins 2.3.1 released!

11 Apr 09:29

Choose a tag to compare

The Monitoring Plugins Development Team is proud to announce version 2.3.1 of the Monitoring Plugins!
This release comes with various fixes provided by more than ten contributors, mostly for check_curl. Many thanks to all of you!

For the list of notable changes in this release, see:

https://www.monitoring-plugins.org/news/release-2-3-1.html

Happy monitoring!

Monitoring Plugins 2.3 released!

10 Dec 14:08

Choose a tag to compare

The Monitoring Plugins Development Team is proud to announce version 2.3
of the Monitoring Plugins! This release comes with various enhancements
and fixes provided by more than fourty contributors. Many thanks to all
of you!

For the list of notable changes in this release, see:

https://www.monitoring-plugins.org/news/release-2-3.html

Happy monitoring!