diff options
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 205 |
1 files changed, 195 insertions, 10 deletions
@@ -1,15 +1,201 @@ | |||
1 | This file documents the major additions and syntax changes between releases. | 1 | This file documents the major additions and syntax changes between releases. |
2 | 2 | ||
3 | 2.3 [...] | 3 | 2.3.3 2nd Feb 2023 |
4 | ENHANCEMENTS | ||
5 | using PRId64 and PRIu64 instead of %ld directly | ||
6 | check_http: Make faster with larger files | ||
7 | check_snmp: add 'multiplier' to modify current value | ||
8 | check_http: Implement chunked encoding decoding | ||
9 | check_http/check_curl: add chunked encoding test | ||
10 | check_log: Added --exclude to exclude patterns | ||
11 | check_log: Add tests | ||
12 | check_disk: Clarify usage possibilities | ||
13 | |||
14 | FIXES | ||
15 | fixed two PRId64 to PRIu64 in perfdata_uint64 | ||
16 | check_pgsql: Removing is_pg_dbname altogether,using postgres API. | ||
17 | check_http: Remove superfluous CRLF in HTTP-Requests | ||
18 | check_curl: detect ipv6 | ||
19 | check_icmp: fix parsing help/version long options | ||
20 | check_http: fix test plan | ||
21 | check_disk: Find accessible mount path if multiple are available | ||
22 | check_apt: Fix unknown escape sequence error output | ||
23 | check_curl: fix checking large bodys | ||
24 | check_snmp: Improve tests for check_snmp & multiply option | ||
25 | check_snmp: always apply format when applying multiplier | ||
26 | check_http: Use real booleans instead of ints | ||
27 | check_http: Document process_arguments a little bit better | ||
28 | check_http: Remove dead code | ||
29 | check_http: Fix several bug in the implementation of unchunking | ||
30 | check_http: Reformat a part to increase readability | ||
31 | check_apt: Put upgrade options in the root sections | ||
32 | check_apt: Fix comment | ||
33 | check_apt: Use real booleans | ||
34 | check_mailq: Fixing nullmailer regex | ||
35 | check_snmp: Fix regex matches | ||
36 | check_log: Fixed a bug when using --all | ||
37 | check_log: Cleaned up duplicated code in the args | ||
38 | check_http: Fix memory reallocation error in chunk decoding logic | ||
39 | check_http: Add space for ending NULL byte in array for chunked encoding | ||
40 | |||
41 | 2.3.2 20th Oct 2022 | ||
42 | GENERAL | ||
43 | Use netcat-openbsd for debian explicitly (by @RincewindsHat #1704) | ||
44 | Replace egrep with grep -E (by @RincewindsHat #1791) | ||
45 | Use silent automake by default (by @RincewindsHat #1747) | ||
46 | |||
47 | SINGLE PLUGINS | ||
48 | check_by_ssh: added option to exit with an warning, if there is output on STDERR (by @nafets #1301) | ||
49 | check_by_ssh: Add "-U" flag (#1123). (by @archiecobbs #1774) | ||
50 | check_by_ssh: Let ssh decide if a host is valid, enables usage of ssh .config file (by @RincewindsHat #1691) | ||
51 | check_curl: Add an option to check_curl to verify the peer certificate & host using the system CA's (by @bazzisoft #1669) | ||
52 | check_curl: fixed -ffollow for HTTP/2.0 (Fixes #1685): added major_version parsing to PicoHTTPParser (by @andreasbaumann #1742) | ||
53 | check_curl: fixes check_curl: "CRITICAL - Cannot retrieve certificate subject." (by @andreasbaumann #1689) | ||
54 | check_curl: fix if http header contains leading spaces (by @sni #1666) | ||
55 | check_curl: Update check_curl.c to display a specific human-readable error message where possible (by @bazzisoft #1668) | ||
56 | check_curl: verify certificates option should not force SSL to be used (by @bazzisoft #1688) | ||
57 | check_disk: Description for -M was the wrong way around (by @RincewindsHat #1746) | ||
58 | check_disk: Fixing the stuff that is broken on btrfs (by @waja #1388) | ||
59 | check_disk: Fix perfdata for big values for check disk (by @RincewindsHat #1714) | ||
60 | check_disk_smb: Add configfile feature (by @Napsty #1402) | ||
61 | check_disk_smb: Add timeout (by @cdruee #1770) | ||
62 | check_dns: Add --expect-nxdomain (by @Jonny007-MKD #1623) | ||
63 | check_dns: split multiple IP addresses passed in one -a argument (by @DerDakon #1649) | ||
64 | check_file_age: Make size parameter a little bit more intelligible (by @RincewindsHat #1730) | ||
65 | check_fping: Implements 'host-alive' mode (Closes. #1027) (by @waja #1740) | ||
66 | check_game: Update Url to qstat (by @RincewindsHat #1725) | ||
67 | check_http: changed 'STATE_CRITICAL' to 'STATE_WARNING' for infinite loop (by @xFuture603 #1690) | ||
68 | check_http: Increase regexp limit (by @hydrapolic #1566) | ||
69 | check_http: Support http redirect (by @waja #1449) | ||
70 | check_icmp: buffer offerflow (by @RincewindsHat #1733) | ||
71 | check_icmp: delay set_source_ip() until address_family is detected (by @ghciv6 #1735) | ||
72 | check_icmp: Fix "Invalid Argument" from sendmsg() under FreeBSD 13.1 and "setsockopt failed" for TTL setting (by @eriksejr #1771) | ||
73 | check_icmp: Fix pkt perfdata in check_host mode (by @sjoegren #1721) | ||
74 | check_ldap: Allows check_ldap to read password from environment variable (by @mullumaus #1724) | ||
75 | check_load: add LOAD prefix to load plugin (by @haraldj #1694) | ||
76 | check_load: Display total and scaled load values if check_load scales the values (by number of CPUs by @RincewindsHat #1778) | ||
77 | check_log: Missing oldlog now aborts check_log (by @RincewindsHat #1732) | ||
78 | check_mailq: Add mailq -C option for config dir or config file (by @leeclemens #1490) | ||
79 | check_mailq: Check mailq domain specific warnings (by @RincewindsHat #1731) | ||
80 | check_mailq: Fix regexp for nullmailer "mailq" output (by @darksoul42 #1493) | ||
81 | check_mysql: fix segfaults with mysql-connector-c #1562 (by @ghciv6 #1644) | ||
82 | check_pgsql: add --queryname parameter to check_pgsql (by @datamuc #1741) | ||
83 | check_ping: Do not show RTA if no connection was possible (by @RincewindsHat #1697) | ||
84 | check_ping: understang ping6 output from iputils package (by @glensc #1412) | ||
85 | check_proc: Fix check proc ps detection (by @sni #1712) | ||
86 | check_procs: exchange needle and haystack in strstr() for proper st… (by @wolfgangkarall #1654) | ||
87 | check_smtp: add -L flag to support LMTP (LHLO instead of HELO/EHLO). (by @ghen2 #1715) | ||
88 | check_snmp: Added option for null zero length string exit codes (by @FracKenA #1496) | ||
89 | check_snmp: fix performance thresholds when using multiple oids (by @sni #1722) | ||
90 | check_snmp fix segfaults (by @adrb #1589) | ||
91 | check_snmp: put the "c" (to mark a counter) after the perfdata value (by @lausser #1465) | ||
92 | check_swap: fix parsing swap values (by @sni #1780) | ||
93 | check_swap: Fix perfdata for check swap (by @RincewindsHat #1707) | ||
94 | check_swap: Fix unit for total in perfdata (by @RincewindsHat #1779) | ||
95 | check_swap: Handle cached swap (by @mdavranche #1642) | ||
96 | check_swap: Small fix to threshold validation and style (indentation) fixes (by @RincewindsHat #1723) | ||
97 | check_ups: Fix possible overflow in check_ups (by @phibos #1727) | ||
98 | check_uptime: Add option to report uptime in days instead of seconds (by @amotl #1750) | ||
99 | check_uptime: Fix/improve output message "Uptime is ..." (by @amotl #1751) | ||
100 | |||
101 | MULTIPLE PLUGINS | ||
102 | check_http, check_curl: added --max-redirs=N option (feature #1684) (by @andreasbaumann #1744) | ||
103 | check_http, check_curl: Enhancement --continue-after-certificate (backport from nagios-plugins) (by @andreasbaumann #1762) | ||
104 | check_http, check_curl: Remove check_http and check_curl test which are somehow always failing (by @RincewindsHat #1777) | ||
105 | check_log, check_oracle, check_sensors: Several fixes shellcheck complaining about (by @waja #1459) | ||
106 | sslutils: use chain from client certificates (by @tobiaswiese #1664) | ||
107 | |||
108 | NON FUNCTIONAL CHANGES | ||
109 | Trivial source code whitespace formatting fixes to standard. (by @ziesemer #1424) | ||
110 | docs: fix simple typo, conspicuosly -> conspicuously (by @timgates42 #1652) | ||
111 | Migrate to GitHub actions (by @jacobbaungard #1686) | ||
112 | Point to Icinga Exchange instead of dead Monitoring Exchange (by @RincewindsHat #1737) | ||
113 | github actions: fix check_users test case (by @sni #1713) | ||
114 | Add CodeQL checks (by @phibos #1682) | ||
115 | Fix some QL problems (by @RincewindsHat #1729) | ||
116 | Update CodeQL and update runner before installing (by @RincewindsHat #1775) | ||
117 | check_disk: Check disk compiler warnings (by @RincewindsHat #1758) | ||
118 | check_disk: Trivial printf fix and a little bit of code style (by @RincewindsHat #1695) | ||
119 | check_http: Docs: make -C obvious (by @stblassitude #1554) | ||
120 | check_ifoperstatus: Re-attach a comment to where it actually belongs (by @peternewman #1699) | ||
121 | check_ircd: Restrict the nickname length of the test user for check_ircd (by @RincewindsHat #1710) | ||
122 | check_load: Check load compiler warnings (by @RincewindsHat #1759) | ||
123 | check_log: Modernize check log (by @RincewindsHat #1692) | ||
124 | check_mailq: remove duplicate W=i/C=i args in check_mailq.pl (by @ichdasich #1755) | ||
125 | check_ntp: Check ntp remove unused variables (by @RincewindsHat #1781) | ||
126 | check_pgsql: Using snprintf which honors the buffers size and guarantees null termination. (Closes: #1601) (by @waja #1663) | ||
127 | check_procs: Fix double percentage sign in usage (by @RincewindsHat #1743) | ||
128 | check_sensors.sh: Make shellcheck happier (by @RincewindsHat #1679) | ||
129 | check_snmp: Fixed option description authpassword -> authpasswd + whitespaces (by @RincewindsHat #1676) | ||
130 | check_swap: Check swap compiler warnings (by @RincewindsHat #1756) | ||
131 | |||
132 | 2.3.1 10 April 2021 | ||
133 | ENHANCEMENTS | ||
134 | check_curl: Add an option to verify the peer certificate & host using the system CA's | ||
135 | |||
136 | FIXES | ||
137 | check_icmp: fix simple typo, conspicuosly -> conspicuously | ||
138 | check_curl: fixed help, usage and errors for TLS 1.3 | ||
139 | check_curl: fixed a potential buffer overflow in url buffer | ||
140 | check_dns: split multiple IP addresses passed in one -a argument | ||
141 | check_curl: added string_statuscode function for printing HTTP/1.1 and HTTP/2 correctly | ||
142 | check_curl: fix crash if http header contains leading spaces | ||
143 | check_curl: display a specific human-readable error message where possible | ||
144 | check_pgsql: Using snprintf which honors the buffers size and guarantees null termination. | ||
145 | check_snmp: put the "c" (to mark a counter) after the perfdata value | ||
146 | check_http: Increase regexp limit | ||
147 | check_http: make -C obvious | ||
148 | check_curl: Increase regexp limit (to 1024 as in check_http) | ||
149 | check_curl: make -C obvious (from check_http) | ||
150 | check_curl: backported --show-body/-B to print body (from check_http) | ||
151 | |||
152 | 2.3 10th December 2020 | ||
4 | ENHANCEMENTS | 153 | ENHANCEMENTS |
5 | check_dns: allow 'expected address' (-a) to be specified in CIDR notation | 154 | check_dns: allow 'expected address' (-a) to be specified in CIDR notation |
6 | (IPv4 only). | 155 | (IPv4 only). |
7 | check_dns: allow for IPv6 RDNS | 156 | check_dns: allow for IPv6 RDNS |
157 | check_dns: Accept CIDR | ||
158 | check_dns: allow unsorted addresses | ||
159 | check_dns: allow forcing complete match of all addresses | ||
160 | check_dns: option to expect NXDOMAIN | ||
8 | check_apt: add --only-critical switch | 161 | check_apt: add --only-critical switch |
9 | check_apt: add -l/--list option to print packages | 162 | check_apt: add -l/--list option to print packages |
163 | check_file_age: add range checking | ||
164 | check_file_age: enable to test for maximum file size | ||
165 | check_apt: adding packages-warning option | ||
166 | check_load: Adding top consuming processes option | ||
167 | check_http: Adding Proxy-Authorization and extra headers | ||
168 | check_snmp: make calculation of timeout value in help output more clear | ||
169 | check_uptime: new plugin for checking uptime to see how long the system is running | ||
170 | check_curl: check_http replacement based on libcurl | ||
171 | check_http: Allow user to specify HTTP method after proxy CONNECT | ||
172 | check_http: Add new flag --show-body/-B to print body | ||
173 | check_cluster: Added data argument validation | ||
174 | check_icmp: Add IPv6 support | ||
175 | check_icmp: Automatically detect IP protocol | ||
176 | check_icmp: emit error if multiple protocol version | ||
177 | check_disk: add support to display inodes usage in perfdata | ||
178 | check_hpjd: Added -D option to disable warning on 'out of paper' | ||
179 | check_http: support the --show-body/-B flag when --expect is used | ||
180 | check_mysql: allow mariadbclient to be used | ||
181 | check_tcp: add --sni | ||
182 | check_dns: detect unreachable dns service in nslookup output | ||
10 | 183 | ||
11 | FIXES | 184 | FIXES |
12 | Fix regression where check_dhcp was rereading response in a tight loop | 185 | Fix regression where check_dhcp was rereading response in a tight loop |
186 | check_dns: fix error detection on sles nslookup | ||
187 | check_disk_smb: fix timeout issue | ||
188 | check_swap: repaired "-n" behaviour | ||
189 | check_icmp: Correctly set address_family on lookup | ||
190 | check_icmp: Do not overwrite -4,-6 on lookup | ||
191 | check_smtp: initializes n before it is used | ||
192 | check_dns: fix typo in parameter description | ||
193 | check_by_ssh: fix child process leak on timeouts | ||
194 | check_mysql: Allow sockets to be specified to -H | ||
195 | check_procs: improve command examples for 'at least' processes | ||
196 | check_swap: repaired "-n" behaviour | ||
197 | check_disk: include -P switch in help | ||
198 | check_mailq: restore accidentally removed options | ||
13 | 199 | ||
14 | 2.2 29th November 2016 | 200 | 2.2 29th November 2016 |
15 | ENHANCEMENTS | 201 | ENHANCEMENTS |
@@ -50,7 +236,7 @@ This file documents the major additions and syntax changes between releases. | |||
50 | check_ssh now returns CRITICAL for protocol/version errors | 236 | check_ssh now returns CRITICAL for protocol/version errors |
51 | If a plugin is invoked with -h/--help or -V/--version, the exit status | 237 | If a plugin is invoked with -h/--help or -V/--version, the exit status |
52 | is now UNKNOWN | 238 | is now UNKNOWN |
53 | The superseeded check_ntp.pl was removed, please use check_ntp_peer or | 239 | The superseded check_ntp.pl was removed, please use check_ntp_peer or |
54 | check_ntp_time instead | 240 | check_ntp_time instead |
55 | 241 | ||
56 | 2.1.2 16th October 2015 | 242 | 2.1.2 16th October 2015 |
@@ -77,7 +263,7 @@ This file documents the major additions and syntax changes between releases. | |||
77 | New check_mysql -n option to ignore authentication failures | 263 | New check_mysql -n option to ignore authentication failures |
78 | Added IP and port or socket name to error messages | 264 | Added IP and port or socket name to error messages |
79 | New check_ntp_time -o option to add expected offset | 265 | New check_ntp_time -o option to add expected offset |
80 | check_disk shows now troubled partions in verbose mode | 266 | check_disk shows now troubled partitions in verbose mode |
81 | check_dig has now support for drill and dig | 267 | check_dig has now support for drill and dig |
82 | check_dig has now support for -6 option | 268 | check_dig has now support for -6 option |
83 | Add performance data to check_file_age | 269 | Add performance data to check_file_age |
@@ -171,10 +357,10 @@ This file documents the major additions and syntax changes between releases. | |||
171 | New check_procs -k option to ignore kernel threads (on Linux) | 357 | New check_procs -k option to ignore kernel threads (on Linux) |
172 | Let check_procs use /proc/<PID>/exe (if available) instead of getpid(2), unless -T is specified | 358 | Let check_procs use /proc/<PID>/exe (if available) instead of getpid(2), unless -T is specified |
173 | Let check_mysql support SSL | 359 | Let check_mysql support SSL |
174 | Let check_mysql add perfromance metrics for all checks | 360 | Let check_mysql add performance metrics for all checks |
175 | New check_mysql -f option to specify a client options file | 361 | New check_mysql -f option to specify a client options file |
176 | New check_mysql -g option to specify a client options group | 362 | New check_mysql -g option to specify a client options group |
177 | New check_snmp --offset option to allow for adding/substracting an offset value to sensor data | 363 | New check_snmp --offset option to allow for adding/subtracting an offset value to sensor data |
178 | Let check_snmp support an arbitrary number of OIDs | 364 | Let check_snmp support an arbitrary number of OIDs |
179 | Let check_ide_smart support NetBSD | 365 | Let check_ide_smart support NetBSD |
180 | 366 | ||
@@ -189,7 +375,7 @@ This file documents the major additions and syntax changes between releases. | |||
189 | Fix deprecated imports of check_nmap.py | 375 | Fix deprecated imports of check_nmap.py |
190 | 376 | ||
191 | WARNINGS | 377 | WARNINGS |
192 | check_http behaviour of -k/--header changed since it does not seperate multiple headers by semicolons anymore. Use multiple -k switches instead. | 378 | check_http behaviour of -k/--header changed since it does not separate multiple headers by semicolons anymore. Use multiple -k switches instead. |
193 | check_http's --proxy_authorization option is now called --proxy-authorization (it was always documented this way) | 379 | check_http's --proxy_authorization option is now called --proxy-authorization (it was always documented this way) |
194 | The contrib directory has been removed from this distribution | 380 | The contrib directory has been removed from this distribution |
195 | 381 | ||
@@ -340,7 +526,7 @@ This file documents the major additions and syntax changes between releases. | |||
340 | check_ntp and check_ntp_peer now show proper jitter/stratum thresholds longopts in --help | 526 | check_ntp and check_ntp_peer now show proper jitter/stratum thresholds longopts in --help |
341 | check_dns now allow to repeat -a to match multiple possibly returned address (common with load balancers) | 527 | check_dns now allow to repeat -a to match multiple possibly returned address (common with load balancers) |
342 | check_mysql and check_radius now try clearing password in processlist just like check_mysql_query | 528 | check_mysql and check_radius now try clearing password in processlist just like check_mysql_query |
343 | check_mysql and check_mysql_query now support sockets explicitely (-s, --socket) | 529 | check_mysql and check_mysql_query now support sockets explicitly (-s, --socket) |
344 | negate now has the ability to replace the status text as well (-s, --substitute) | 530 | negate now has the ability to replace the status text as well (-s, --substitute) |
345 | Added performance data to check_ping | 531 | Added performance data to check_ping |
346 | Added support for --extra-opts in all C plugins (disabled by default, see configure --help) | 532 | Added support for --extra-opts in all C plugins (disabled by default, see configure --help) |
@@ -380,7 +566,7 @@ This file documents the major additions and syntax changes between releases. | |||
380 | New check_disk option -L: Only check local filesystems, but call stat() on remote ones, too. | 566 | New check_disk option -L: Only check local filesystems, but call stat() on remote ones, too. |
381 | Thus accessibility of remote filesystems can be checked without any threshold comparison. | 567 | Thus accessibility of remote filesystems can be checked without any threshold comparison. |
382 | Check_disk's --help now prints some examples for the new features introduced in 1.4.8 | 568 | Check_disk's --help now prints some examples for the new features introduced in 1.4.8 |
383 | New check_disk -i/-I option to ignore pathes/partitions based on regular expressions | 569 | New check_disk -i/-I option to ignore paths/partitions based on regular expressions |
384 | New check_disk -A option to select all filesystems explicitly | 570 | New check_disk -A option to select all filesystems explicitly |
385 | WARNING: check_disk's -E option must now be passed before -p or -r/-R arguments | 571 | WARNING: check_disk's -E option must now be passed before -p or -r/-R arguments |
386 | Passing -E after -p or -r results in UNKNOWN state, now | 572 | Passing -E after -p or -r results in UNKNOWN state, now |
@@ -429,7 +615,7 @@ This file documents the major additions and syntax changes between releases. | |||
429 | Fixed MKINSTALLDIRS problem in po/ | 615 | Fixed MKINSTALLDIRS problem in po/ |
430 | ./configure now detects if possible to compile check_mysql | 616 | ./configure now detects if possible to compile check_mysql |
431 | Fixed broken HELO in check_smtp | 617 | Fixed broken HELO in check_smtp |
432 | check_icmp now allows to set a minimum number of hosts required for successs (-m) | 618 | check_icmp now allows to set a minimum number of hosts required for success (-m) |
433 | check_icmp fix for *BSD when running for long time | 619 | check_icmp fix for *BSD when running for long time |
434 | check_ping times out 1 second quicker if host is unreachable | 620 | check_ping times out 1 second quicker if host is unreachable |
435 | Root plugins installed with world executable | 621 | Root plugins installed with world executable |
@@ -487,4 +673,3 @@ This file documents the major additions and syntax changes between releases. | |||
487 | check_swap % thresholds changed to measure amount free, instead of amount used | 673 | check_swap % thresholds changed to measure amount free, instead of amount used |
488 | check_disk syntax changes for -p, -m/-M, defaults to MB instead of kB | 674 | check_disk syntax changes for -p, -m/-M, defaults to MB instead of kB |
489 | check_procs -C expects no path for the command name | 675 | check_procs -C expects no path for the command name |
490 | |||