- update to 2.3.5
FIXES
* Include maxfd.h in lib Makefile
included in 2.3.4
ENHANCEMENTS
* 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
* 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
OBS-URL: https://build.opensuse.org/request/show/1130995
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=115
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
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=101
- add patch monitoring-plugins-check_swap-fix_comment.patch
simply fix the plugin name in the comment
- monitoring-plugins-check_swap-fix_zero_output.patch
improve the output if the swap has zero size
- monitoring-plugins-check_swap-return_unknown.patch
use unknown exit code for help/version in plugins
- updated context in
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=96
+ monitoring-plugins-wrong_return_in_check_swap.patch
+ monitoring-plugins-check_swap-fix_comment.patch
+ monitoring-plugins-check_swap-return_unknown.patch
+ monitoring-plugins-check_swap-fix-n.patch
- include upstream fixes for check_swap
- add patch monitoring-plugins-check_swap-fix_comment.patch
simply fix the plugin name in the comment
- monitoring-plugins-check_swap-fix_zero_output.patch
improve the output if the swap has zero size
- monitoring-plugins-check_swap-return_unknown.patch
use unknown exit code for help/version in plugins
- add patch monitoring-plugins-check_swap-fix-n.patch
check_swap fix behaviour for "-n" if 0 free swap is left
from git commit 6995b510759cf531d70745b7d0c6e8a0d9010b06
(bug#1175828)
- updated context in
monitoring-plugins-wrong_return_in_check_swap.patch
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=94
want to analize logs generated by (r)syslog or journald
Renamed patches:
- renamed monitoring-plugins-1.4.6-no_chown.patch to
monitoring-plugins-1.4.6-Makefile_-_no_chown.patch to make it
easier to detect the patched file
- renamed monitoring-plugins-2.1.1-check_logfile.patch to
monitoring-plugins-2.1.1-check_log_-_quoting.patch to make it
easier to detect the patched file and reason for the patch
New patches:
- add monitoring-plugins-2.3.1-check_snmp_segfaults.patch:
check_snmp will segfaults at line 489 if number of lines returned
by SNMPD is greater than number of defined thresholds
-> https://github.com/monitoring-plugins/monitoring-plugins/pull/1589
- added monitoring-plugins-2.3.1_-_check_snmp_hang_on_STDERR_workaround.patch:
When the MIBs are not quite right, snmpget outputs lots of errors on
STDERR before getting down to business.
If this is enough to fill the pipe buffer, snmpget hangs waiting for
it to be cleared, which it never will be because check_snmp is
waiting for snmpget to output something on STDOUT.
This simple fix from s2156945 for this is to read STDERR before STDOUT.
cmd_run_array from utils_cmd.c is also used by plugins/check_by_ssh
and plugins/negate but you're likely to get lots of errors or lots
of output, not both at the same time.
The real fix is probably to do a select() and read from both as
they come in.
https://github.com/monitoring-plugins/monitoring-plugins/issues/1706
- added monitoring-plugins-2.3.1-check_dhcp_-_detect_rogue_dhcp_servers.patch:
feature enhancement from Patrick Cervicek for check_dhcp, which allows
to detect rogue DHCP servers. Use it with the "-x" flag, example:
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=90
Enhancements
* check_curl: Add an option to verify the peer certificate & host using the system CA's
Fixes
* check_icmp: fix simple typo, conspicuosly -> conspicuously
* check_curl: fixed help, usage and errors for TLS 1.3
* check_curl: fixed a potential buffer overflow in url buffer
* check_dns: split multiple IP addresses passed in one -a argument
* check_curl: added string_statuscode function for printing HTTP/1.1 and HTTP/2 correctly
* check_curl: fix crash if http header contains leading spaces
* check_curl: display a specific human-readable error message where possible
* check_pgsql: Using snprintf which honors the buffers size and guarantees null termination.
* check_snmp: put the "c" (to mark a counter) after the perfdata value
* check_http: Increase regexp limit
* check_http: make -C obvious
* check_curl: Increase regexp limit (to 1024 as in check_http)
* check_curl: make -C obvious (from check_http)
- refreshed patches:
+ monitoring-plugins-1.4.6-no_chown.patch
+ monitoring-plugins-2.1.1-check_logfile.patch
+ monitoring-plugins-2.2-mariadb_102_build_fix.patch
+ monitoring-plugins-2.3-check_ntp_perf_absolute.patch
+ monitoring-plugins-too_few_arguments_for_check_disk.patch
+ monitoring-plugins-wrong_return_in_check_swap.patch
+ monitoring-plugins.check_hpjd.c-64bit-portability-issue.patch
+ monitoring-plugins.check_snmp.arrayaddress.patch
- add sha1 checksum file as source
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=85
Enhancements
* check_dns: allow 'expected address' (-a) to be specified in CIDR notation (IPv4 only).
* check_dns: allow for IPv6 RDNS
* check_dns: Accept CIDR
* check_dns: allow unsorted addresses
* check_dns: allow forcing complete match of all addresses
* check_apt: add --only-critical switch
* check_apt: add -l/--list option to print packages
* check_file_age: add range checking
* check_file_age: enable to test for maximum file size
* check_apt: adding packages-warning option
* check_load: Adding top consuming processes option
* check_http: Adding Proxy-Authorization and extra headers
* check_snmp: make calcualtion of timeout value in help output more clear
* check_uptime: new plugin for checking uptime to see how long the system is running
* check_curl: check_http replacement based on libcurl
* check_http: Allow user to specify HTTP method after proxy CONNECT
* check_http: Add new flag --show-body/-B to print body
* check_cluster: Added data argument validation
* check_icmp: Add IPv6 support
* check_icmp: Automatically detect IP protocol
* check_icmp: emit error if multiple protocol version
* check_disk: add support to display inodes usage in perfdata
* check_hpjd: Added -D option to disable warning on 'out of paper'
* check_http: support the --show-body/-B flag when --expect is used
* check_mysql: allow mariadbclient to be used
* check_tcp: add --sni
* check_dns: detect unreachable dns service in nslookup output
Fixes
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=84
update to current git as of 20200520T233014.cadac85e
changes summarized
* detect unreachable dns service in nslookup output
* check_curl: host_name may be null
* update test parameter according to check_http
* check_curl: use CURLOPT_RESOLVE to fix connecting to the right ip
* workaround for issue #1550 - better use "ping -4" instead
of "ping" if supported
* Use size_t instead of int when calling sysctl(3)
* check_tcp: add --sni
* Fix timeout_interval declarations
* check_curl: NSS, parse more date formats from certificate (in
-C cert check)
* check_curl: more tolerant CN= parsing when checking
certificates (hit on Centos 8)
* setting no_body to TRUE when we have a HEAD request
* some LIBCURL_VERSION checks around HTTP/2 feature
* added --http-version option to check_curl to choose HTTP
* improved curlhelp_parse_statusline to handle both HTTP/1.x
and HTTP/2
* check_curl: updates embedded picohttpparser to newest git
version
* setting progname of check_curl plugin to check_curl (at least
for now)
* Allow mariadbclient to be used for check_mysql
* fix maxfd being zero
* include -P switch in help
* check_swap: repaired "-n" behaviour
* improve command examples for 'at least' processes
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=72