diff options
author | Jan Wagner <waja@cyconet.org> | 2023-10-17 15:20:22 +0200 |
---|---|---|
committer | waja <waja@users.noreply.github.com> | 2023-10-17 17:56:06 +0200 |
commit | 0d0b044c6d08a66b15257407b3906bcfba5d9fad (patch) | |
tree | 155e42c43a21e72886495376f268c520ea56456e | |
parent | e23a75d954311b3be429a9020e4d317b89615ee7 (diff) | |
download | monitoring-plugins-0d0b044.tar.gz |
Prepare release 2.3.4
-rw-r--r-- | NEWS | 175 | ||||
-rwxr-xr-x | NP-VERSION-GEN | 2 | ||||
-rw-r--r-- | THANKS.in | 13 | ||||
-rw-r--r-- | configure.ac | 2 |
4 files changed, 190 insertions, 2 deletions
@@ -1,5 +1,180 @@ | |||
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.4 18th Oct 2023 | ||
4 | ENHANCEMENTS | ||
5 | check_disk_smb: allow checking 0-sized resource (ex. IPC$) | ||
6 | check_icmp: Add support to Jitter, MOS and Score | ||
7 | check_icmp: Clean up plugin exit | ||
8 | check_mysql: Detect running mysqldump | ||
9 | check_disk: add ignore-missing option to return OK for missing fs | ||
10 | check_disk: add tests for new option --ignore-missing | ||
11 | check_icmp: Remove trailing whitespaces | ||
12 | check_icmp: Remove hardcoded DBL_MAX definition | ||
13 | check_icmp: Replace DBL_MAX with INFITY to check if value was set | ||
14 | check_mailq: separate submission queue | ||
15 | check_psql: add extra output | ||
16 | check_curl: using CURLOPT_REDIR_PROTOCOLS_STR instead of | ||
17 | CURLOPT_REDIR_PROTOCOLS for curl >= 7.85.0 | ||
18 | check_http: Implement special case test for zero size chunk only | ||
19 | check_radius: cope with radcli-1.3.1 RC_BUFFER_LEN | ||
20 | check_curl: added --cookie-jar and doing proper cleanup of libcurl | ||
21 | check_disk: still allow check of available disks with ignore-missing | ||
22 | param used | ||
23 | check_disk: add new tests for new ignore-missing feature | ||
24 | check_disk: use cleaner code for ignore-missing option | ||
25 | check_curl: in SSL host caching mode try to connect and bind and take | ||
26 | the first getaddrinfo result which succeeds | ||
27 | check_curl: Include all IPs from getaddrinfo() in curl DNS cache | ||
28 | check_procs: Implement --exclude-process to exclude specific processes | ||
29 | check_procs: add a test for the newly added -X option | ||
30 | check_snmp: simplify code | ||
31 | check_smtp: Add option to prefix PROXY header | ||
32 | check_smtp: Add support for SNI | ||
33 | check_snmp: Detect if fmtstr was set in edge cases | ||
34 | check_snmp: Implement option to ignore mib file parsing errors | ||
35 | check_snmp: Enhance regex in test to be more tolerant to follow up text | ||
36 | check_users: prefer systemd-logind over utmp | ||
37 | check_smtp: Add support for SMTP over TLS | ||
38 | check_smtp: set default port to smtps (465) for TLS | ||
39 | check_smtp: remove restriction of --proxy with --ssl | ||
40 | check_smtp: add new longoption --tls | ||
41 | check_smtp: Let port option always take precedence | ||
42 | check_smtp: add tests for --ssl | ||
43 | check_mysql: Initialize slaveresult to 0 and use strncat instead of | ||
44 | bsd strlcat | ||
45 | check_disk: Mention -A and long options in error message about | ||
46 | missing thresholds | ||
47 | check_disk: More spacing to separate examples | ||
48 | check_disk: Add some general usage hints | ||
49 | check_disk: Add -C to general usage hints | ||
50 | check_icmp: remove root check | ||
51 | check_disk: make -X a regex list | ||
52 | check_disk: Change usage for --include-type to indicated regexes are | ||
53 | now possible | ||
54 | check_dhcp: Add dhcp rogue detection | ||
55 | |||
56 | FIXES | ||
57 | check_disk: Remove weird code (workaround?) which broke with gnulib | ||
58 | update | ||
59 | check_http: Handle chunked encoding without actual content correctly | ||
60 | check_curl: fixed regerror is MAX_INPUT_BUFFER writing into too small | ||
61 | errbuf | ||
62 | check_curl: better cleanup of curl structures and buffers | ||
63 | check_curl: fixed double frees when doing old-style redirects | ||
64 | check_curl: changed #else/#if to #elif in libcurl library checks | ||
65 | check_curl: using real boolean | ||
66 | check_icmp: Fix compiler warning | ||
67 | check_disk: fix tests by setting correct test number and escaping line | ||
68 | end regex | ||
69 | check_disk: fix ugly output with -e option and adapt tests accordingly | ||
70 | check_curl: fixed a wrong compare and a wrong size in strncat | ||
71 | check_curl: removed a superfluous variable | ||
72 | check_snmp: disable multiplier when unused | ||
73 | check_swap: Remove unnecessary and problematic includes | ||
74 | check_curl: including netinet/in.h (for FreeBSD), fixed an ambiguous | ||
75 | compare warning | ||
76 | check_log/check_oracle/check_sensors: fixed the outputs of the | ||
77 | --versions options | ||
78 | check_nwstats: Fix 'requres' typo | ||
79 | Fix a lot of typos reported by codespell | ||
80 | check_http: Remove unused variable | ||
81 | check_curl: Avoid unnecessary malloc and use stack instead | ||
82 | check_nt: change encoding from latin1 to utf8 | ||
83 | check_mysql: Fixed typo of encryption | ||
84 | check_disk: Display SI units correctly | ||
85 | check_mysql: handle ER_ACCESS_DENIED_NO_PASSWORD_ERROR if ignore_auth=1 | ||
86 | check_smtp: add missing -r option in usage | ||
87 | check_http: Fix unchunking body fails when no body is present | ||
88 | check_snmp: Remove dead, commented code | ||
89 | check_radius: Change help to emphasize the necessity of a config file | ||
90 | check_wave: Use compile time determined path to snmpget | ||
91 | check_disk: Remove some dead variables | ||
92 | check_disk: Remove some dead variables | ||
93 | check_mysql: Add mysql_close to avoid spamming the server logs | ||
94 | check_disk: Fix printf format string | ||
95 | check_dhcp: Remove unnecessary type defines | ||
96 | check_dhcp: Homogenize whitespace usage | ||
97 | check_dhcp: Use real booleans | ||
98 | check_dhcp: Comment some endifs to make comprehension easier | ||
99 | check_dhcp: Remove trailing lines | ||
100 | check_dhcp: New variable is actually a boolean | ||
101 | check_dhcp: Make some booleans nicer | ||
102 | check_icmp: fix host count on when checking multiple hosts | ||
103 | check_icmp: remove sun ifdef | ||
104 | check_icmp: check malloc | ||
105 | check_ircd: use pack_sockaddr_in rather than hand-rolled | ||
106 | check_icmp: Refactor get_threshold2 to be barely understandable | ||
107 | check_icmp: Change function type of get_thresholds to better reflect the | ||
108 | options | ||
109 | check_icmp: Remove useless return after crash | ||
110 | check_icmp: Do some actual error checking on the threshold parser | ||
111 | check_icmp: Refactor new threshold parser | ||
112 | check_icmp: Initialise threshold variables properly | ||
113 | check_icmp: fix sign compare compiler warnings | ||
114 | check_icmp: fix unused variables compiler warning | ||
115 | check_icmp: More consequent booleans | ||
116 | check_icmp: Do some code formatting | ||
117 | check_icmp: Remove preprocessor macro | ||
118 | check_icmp: Add some more comments about the MOS score | ||
119 | check_curl: Fix -Wcast-function-type compiler warnings | ||
120 | check_http: Whitespace fixes | ||
121 | check_curl: fix compiler warnings for unused variables | ||
122 | check_ldap: fix compiler warnings for unused variables | ||
123 | check_http: Fixes for compiler warning -Wparentheses | ||
124 | check_procs: Fixes for compiler warning -Wparentheses | ||
125 | check_dhcp: Fix for -Wunused-but-set-variable | ||
126 | |||
127 | GENERAL | ||
128 | Sync with the latest Gnulib code 668c0b8ffa | ||
129 | Set autoconf prerequisite version to 2.64 | ||
130 | Remove sha1 and add sha256 | ||
131 | Replace sha1 with sha256 in utils_base | ||
132 | remove gl/c++defs, replace gl/gettext with gl/gettext-h | ||
133 | Add gl/c++defs | ||
134 | Do not ignore /gl/warn-on-use.h and gl/arg-nonnull.h | ||
135 | sslutils.c: Move function after a function it uses to avoid forward | ||
136 | declarations | ||
137 | Link plugins against libcrypto to make hashes available | ||
138 | Also link LIB_CRYPTO against tests | ||
139 | Fix hashes in tests since we are using sha256 now | ||
140 | fallback to SSL_CTX_use_certificate_file for gnutls | ||
141 | Remove .deps files and folder | ||
142 | Ignore .dirstamp files in gnulib | ||
143 | Make preprocessor fallback for gnutls more readable | ||
144 | utils_disk: add name_prev pointer to struct parameter_list | ||
145 | Actually build check_mssql too | ||
146 | Implicit function declarations | ||
147 | Fixes for -Wunused | ||
148 | Fixes for -Wimplicit-fallthrough | ||
149 | Fixes for -Wunused-parameters | ||
150 | Fixes for -Wuninitialized | ||
151 | Fixes for -Wrestrict | ||
152 | Replace deprecated TLS client functions | ||
153 | Use default OPENSSL sha functions if available | ||
154 | Fix hash creation | ||
155 | Fixes for -Wnonnull-compare | ||
156 | Fixes for Waddress | ||
157 | Try fixing deprecated functions in libdbi | ||
158 | Refix spelling issues | ||
159 | Changing remaining sscanf format specifier to unsigned long | ||
160 | Avoid mounting when searching for matching mount points | ||
161 | Add xgettext option to not put file positions in translation files | ||
162 | Add dynamic path to snmpget to perl utils | ||
163 | Change encoding of german translation file to utf8 | ||
164 | Remove note about comments, we will accept // comments | ||
165 | Switch guidelines to use bool instead of int for booleans | ||
166 | Rework maxfd/open_max to avoid unused variables | ||
167 | Place _cmd_pids in object not header to avoid unused variables | ||
168 | open_max is a library function now, it should be mp_open_max | ||
169 | Remove check for RETSIGTYPE in autoconf stuff | ||
170 | Document new np_add_regex more and add error handling | ||
171 | Fix some more typos | ||
172 | Fix missing include in plugins/runcmd.c | ||
173 | Fix spelling stuff | ||
174 | Update configure.ac | ||
175 | Whitespace fixes in lib | ||
176 | Replace all old school booleans in lib witch C99 ones | ||
177 | |||
3 | 2.3.3 2nd Feb 2023 | 178 | 2.3.3 2nd Feb 2023 |
4 | ENHANCEMENTS | 179 | ENHANCEMENTS |
5 | using PRId64 and PRIu64 instead of %ld directly | 180 | using PRId64 and PRIu64 instead of %ld directly |
diff --git a/NP-VERSION-GEN b/NP-VERSION-GEN index c353b1d1..06a3eafa 100755 --- a/NP-VERSION-GEN +++ b/NP-VERSION-GEN | |||
@@ -6,7 +6,7 @@ | |||
6 | SRC_ROOT=`dirname $0` | 6 | SRC_ROOT=`dirname $0` |
7 | 7 | ||
8 | NPVF=NP-VERSION-FILE | 8 | NPVF=NP-VERSION-FILE |
9 | DEF_VER=2.3git | 9 | DEF_VER=2.3.4 |
10 | 10 | ||
11 | LF=' | 11 | LF=' |
12 | ' | 12 | ' |
@@ -406,3 +406,16 @@ Wolfgang Nieder | |||
406 | andrew bezella | 406 | andrew bezella |
407 | Lorenz Gruenwald | 407 | Lorenz Gruenwald |
408 | John Morrissey | 408 | John Morrissey |
409 | Arkadiusz Miśkiewicz | ||
410 | Björn Berg | ||
411 | Franz Schwartau | ||
412 | Gerardo Malazdrewicz | ||
413 | Kristian Schuster | ||
414 | Patrick Cervicek | ||
415 | Patrick Uiterwijk | ||
416 | Platon Pronko | ||
417 | Stefan Taferner | ||
418 | Stuart Henderson | ||
419 | Thoralf Rickert-Wendt | ||
420 | Thorsten Kukuk | ||
421 | Matthias Döhler | ||
diff --git a/configure.ac b/configure.ac index b5374b23..dea15097 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -1,6 +1,6 @@ | |||
1 | dnl Process this file with autoconf to produce a configure script. | 1 | dnl Process this file with autoconf to produce a configure script. |
2 | AC_PREREQ(2.64) | 2 | AC_PREREQ(2.64) |
3 | AC_INIT(monitoring-plugins,2.3git) | 3 | AC_INIT(monitoring-plugins,2.3.4) |
4 | AC_CONFIG_SRCDIR(NPTest.pm) | 4 | AC_CONFIG_SRCDIR(NPTest.pm) |
5 | AC_CONFIG_FILES([gl/Makefile]) | 5 | AC_CONFIG_FILES([gl/Makefile]) |
6 | AC_CONFIG_AUX_DIR(build-aux) | 6 | AC_CONFIG_AUX_DIR(build-aux) |