Lorenz Kästle
eca51d0787
check_time: style + linter fixes
2024-10-31 14:12:27 +01:00
Lorenz Kästle
a54dd50895
check_time: do not export local variables
2024-10-31 14:10:27 +01:00
Lorenz Kästle
e4e7c00647
check_time: clang-format
2024-10-31 14:09:45 +01:00
RincewindsHat
c1f337c653
check_tcp: style + linter fixes
2024-10-31 14:08:31 +01:00
RincewindsHat
ec70b39672
check_tcp: update_copyright
2024-10-31 14:02:57 +01:00
RincewindsHat
0be4dede6e
check_tcp: clang-format
2024-10-31 14:02:13 +01:00
RincewindsHat
b6d920da55
check_snmp: style + linter fixes
2024-10-31 14:01:12 +01:00
RincewindsHat
04471ba48d
check_snmp: update copyright
2024-10-31 13:56:28 +01:00
RincewindsHat
50f6ae2c64
check_snmp: clang-format
2024-10-31 13:56:00 +01:00
RincewindsHat
b033e670c6
check_real: update copyright
2024-10-31 13:47:49 +01:00
RincewindsHat
5dcd63f110
check_real: style and linter fixes
2024-10-31 13:47:20 +01:00
RincewindsHat
5b3c12025b
check_real: clang-format
2024-10-31 13:43:05 +01:00
RincewindsHat
b227a9f854
check_ping: linter fixes
2024-10-31 13:42:06 +01:00
RincewindsHat
6d4e76680c
check_ping: do not export local symbols
2024-10-31 13:39:35 +01:00
RincewindsHat
bf53f05ebf
check_ping: update copyright
2024-10-31 13:39:22 +01:00
RincewindsHat
f60f83a522
check_pgsql: print_usage must be exported
2024-10-31 13:35:48 +01:00
RincewindsHat
8eb6860578
check_ping: clang-format
2024-10-31 13:34:11 +01:00
RincewindsHat
0a3fcf0d97
check_pgsql: diverse style fixes
2024-10-31 13:33:31 +01:00
RincewindsHat
daf37fbd67
check_pgsql: do not export local variables
2024-10-31 13:26:56 +01:00
RincewindsHat
cc63bc6699
check_pgsql: update copyright
2024-10-31 13:25:30 +01:00
RincewindsHat
835be77d74
check_pgsql: clang-format
2024-10-31 13:24:56 +01:00
RincewindsHat
0700aacf7c
check_ntp_time: more local variables, style fixes
2024-10-31 13:23:31 +01:00
RincewindsHat
7d706b15d0
check_ntp_time: do not export local variables
2024-10-31 13:11:27 +01:00
RincewindsHat
d078e8037f
check_ntp_time: update copyright
2024-10-31 13:11:10 +01:00
RincewindsHat
395ab8f58b
check_ntp_time: clang-format
2024-10-31 13:09:57 +01:00
RincewindsHat
d0ea64439b
check_ntp_peer: more local variables, linter fixes
2024-10-31 13:09:24 +01:00
RincewindsHat
4f74229bb3
check_ntp_peer: do not export local symbols
2024-10-31 12:59:28 +01:00
RincewindsHat
623fed10cc
check_ntp_peer: update copyright
2024-10-31 12:58:07 +01:00
RincewindsHat
5763575ff5
check_ntp_peer: clang-format
2024-10-31 12:57:17 +01:00
RincewindsHat
1868ea7725
check_nagios: linter fixes
2024-10-31 12:56:02 +01:00
RincewindsHat
ce538b0dd9
check_nagios: do not export local variables
2024-10-31 12:55:05 +01:00
RincewindsHat
ecbc67ec66
check_nagios: update copyright
2024-10-31 12:54:23 +01:00
RincewindsHat
eb6632f57d
check_nagios: clang-format
2024-10-31 12:53:50 +01:00
RincewindsHat
290025f8a9
check_mysql_query: update copyright
2024-10-31 12:53:14 +01:00
RincewindsHat
30bd6716fb
check_mysql_query: linter fixes, more moden C style
2024-10-31 12:52:33 +01:00
RincewindsHat
f9fd727323
check_mysql_query: do not export local symbols
2024-10-31 12:47:01 +01:00
RincewindsHat
13880ab5dc
check_mysql_query: clang-format
2024-10-31 12:45:26 +01:00
RincewindsHat
a9f0c74b10
check_mrtgtraf: linter and style fixes
2024-10-31 12:38:21 +01:00
RincewindsHat
07490350ca
check_mrtgtraf: do not export local symbols
2024-10-31 12:31:13 +01:00
RincewindsHat
88584ddabc
check_mrtgtraf: update copyright
2024-10-31 12:30:26 +01:00
RincewindsHat
476038f0d1
check_mrtgtraf: clang-format
2024-10-31 12:29:39 +01:00
RincewindsHat
0062a32af1
check_mrtg: cosmetic fixes, linter fixes
2024-10-31 12:26:54 +01:00
RincewindsHat
e170dbef11
check_mrtg: do not export local symbols
2024-10-31 12:21:40 +01:00
RincewindsHat
fc63638791
check_mrtg: Update copyright
2024-10-31 12:15:57 +01:00
RincewindsHat
cc45c9772b
check_mrtg: clang-format
2024-10-31 12:15:15 +01:00
RincewindsHat
4db8808a51
check_ide_smart: linter fixes
2024-10-31 03:52:36 +01:00
RincewindsHat
5c6d79dac3
check_ide_smart: do not export local symbols
2024-10-31 03:51:37 +01:00
RincewindsHat
c16bc4024c
check_ide_smart: update copyright
2024-10-31 03:49:17 +01:00
RincewindsHat
536d8e7002
check_ide_smart: clang-format
2024-10-31 03:48:28 +01:00
RincewindsHat
e03fb9904b
check_hpjd: linter fixes
2024-10-31 03:47:51 +01:00
RincewindsHat
f33412e50a
check_hpjd: do not export local symbols
2024-10-31 03:47:03 +01:00
RincewindsHat
a4b3386657
check_hpjd: update copyright
2024-10-31 03:45:50 +01:00
RincewindsHat
80fcc8dfac
check_hpjd: clang-format
2024-10-31 03:45:03 +01:00
RincewindsHat
0e0c517b19
check_game: linter fixes
2024-10-31 03:44:06 +01:00
RincewindsHat
8355b9db40
check_game: do not export local symbols
2024-10-31 03:42:06 +01:00
RincewindsHat
aa143390f5
check_game: update copyright
2024-10-31 03:41:06 +01:00
RincewindsHat
11a5ab2b8d
check_game: clang-format
2024-10-31 03:40:12 +01:00
RincewindsHat
1d0f532750
check_fping: Linter fixes
2024-10-31 03:39:38 +01:00
RincewindsHat
f3ed9c6038
check_fping: do not export local symbols
2024-10-31 03:38:44 +01:00
RincewindsHat
5490729f1f
check_fping: update copyright
2024-10-31 03:37:38 +01:00
RincewindsHat
82975ac988
check_fping: clang-format
2024-10-31 03:36:59 +01:00
RincewindsHat
5f2ae6d5e5
check_dummy: do not export local symbols
2024-10-31 03:36:00 +01:00
RincewindsHat
1633fd73bd
check_dummy: update copyright
2024-10-31 03:35:18 +01:00
RincewindsHat
31133c789c
check_dummy: clang-format
2024-10-31 03:34:46 +01:00
RincewindsHat
078e9b96ad
check_dns: update copyright
2024-10-31 03:33:51 +01:00
RincewindsHat
4f34506c81
check_dns: Linter fixes
2024-10-31 03:33:10 +01:00
RincewindsHat
702dc596a4
check_dns: do not export local variables
2024-10-31 03:30:42 +01:00
RincewindsHat
499c0a07ae
check_dns: clang-format
2024-10-31 03:29:32 +01:00
RincewindsHat
08526fd07f
check_disk: Linter fixes
2024-10-31 03:28:27 +01:00
RincewindsHat
e57e86aedb
check_dig: Update copyright
2024-10-31 03:26:07 +01:00
RincewindsHat
78aa691505
check_disk: Update copyright
2024-10-31 03:25:04 +01:00
RincewindsHat
25e0c67b09
check_disk: clang-format
2024-10-31 03:24:02 +01:00
RincewindsHat
acb19fe8f7
check_dig: Linter fixes
2024-10-31 03:22:43 +01:00
RincewindsHat
f0d7803842
check_dig: do not export local symbols
2024-10-31 03:21:37 +01:00
RincewindsHat
904d1ef78d
check_dig: clang-format
2024-10-31 03:19:50 +01:00
RincewindsHat
79d7f40161
check_dbi: linter fixes
2024-10-31 03:17:20 +01:00
RincewindsHat
981f1d5629
check_dbi: do not export local symbols
2024-10-31 03:15:12 +01:00
RincewindsHat
267c668981
check_dbi: Update copyright
2024-10-31 03:13:07 +01:00
RincewindsHat
c413037aa8
check_dbi: clang-format
2024-10-31 03:11:54 +01:00
RincewindsHat
fde8e9c77b
check_curl: Linter fixes
2024-10-31 03:10:57 +01:00
RincewindsHat
7334812a92
check_curl: do not export local variables and remove unused ones
2024-10-31 03:05:43 +01:00
RincewindsHat
367c4f89c1
check_curl: Update copyright
2024-10-31 02:59:49 +01:00
RincewindsHat
80f07ff92b
check_curl: clang-format
2024-10-31 02:58:41 +01:00
RincewindsHat
289f07d754
check_cluster: linter fixes
2024-10-31 02:57:07 +01:00
RincewindsHat
ebb453f55e
check_cluster: do not export local symbols
2024-10-31 02:54:48 +01:00
RincewindsHat
a30f0c6c08
check_cluster: Copyright update
2024-10-31 02:53:01 +01:00
RincewindsHat
80ec3f0f04
check_cluster: clang-format
2024-10-31 02:51:49 +01:00
RincewindsHat
060bd01d89
check_by_ssh: linter fixes
2024-10-31 02:50:34 +01:00
RincewindsHat
ba47cca3ef
check_by_ssh: do not export local symbols
2024-10-31 02:45:58 +01:00
RincewindsHat
744568f1f8
check_by_ssh: Copyright update
2024-10-31 02:44:09 +01:00
RincewindsHat
9f1ec43ce1
check_by_ssh: clang-format
2024-10-31 02:43:12 +01:00
RincewindsHat
05ad606c09
check_ups: clang-format again
2024-10-25 11:45:58 +02:00
RincewindsHat
4541b2b357
check_ups: clang-format again
2024-10-19 01:21:22 +02:00
RincewindsHat
3f7c533ce8
check_ups: Update copyright
2024-10-15 16:26:21 +02:00
RincewindsHat
b95e3d7446
check_ups: clang-format
2024-10-15 16:25:19 +02:00
Sven Nierlein
3b96044248
fix check_curl: OpenSSL SSL_read: error:0A000126:SSL routines::unexpected eof while reading, errno 0
...
using check_curl on a probably embedded device responding as 'Server: GoAhead-Webs'
%> check_curl -H ... -S -vvv
> GET / HTTP/1.1
Host: ...
User-Agent: check_curl/v2.4.0 (monitoring-plugins 2.4.0, libcurl/7.76.1 OpenSSL/3.0.7 zlib/1.2.11 brotli/1.0.9 libidn2/2.3.0 libpsl/0.21.1 (+libidn2/2.3.0) libssh/0.10.4/openssl/zlib nghttp2/1.43.0)
Accept: */*
Connection: close
* Mark bundle as not supporting multiuse
* HTTP 1.0, assume close after body
< HTTP/1.0 302 Redirect
< Server: GoAhead-Webs
< Date: Tue Mar 26 17:57:16 2019
< Cache-Control: no-cache, no-store, must-revalidate,private
< Pragma: no-cache
< Expires: 0
< Content-Type: text/html
< X-Frame-Options: sameorigin
< X-XSS-Protection: 1; mode=block
< X-Content-Type-Options: nosniff
< Location: https://...
<
* OpenSSL SSL_read: error:0A000126:SSL routines::unexpected eof while reading, errno 0
* Closing connection 0
reading the discussion on https://github.com/openssl/openssl/discussions/22690 suggest to set the option SSL_OP_IGNORE_UNEXPECTED_EOF
which makes check_curl behave like check_http at this point.
Since this is a rather new flag, fencing it in ifdefs.
And since there can only be one ssl ctx function, we need to move both tasks into one function.
2024-10-10 15:54:28 +02:00
Lorenz Kästle
bc6dda5286
Merge branch 'master' into check_curl_regex_state
2024-10-06 17:28:08 +02:00
Lorenz Kästle
91fa55f971
Merge pull request #2021 from monitoring-plugins/check_disk_static_fixes
...
Check disk static fixes
2024-09-27 14:19:39 +02:00
Lorenz Kästle
fb5175aed6
check_disk: remove unused variables and functions
2024-09-27 13:53:24 +02:00
Lorenz Kästle
7ca72ecace
check_disk: Declare global variables static
...
Variables only used in that specific translation unit should be static
to actually communicate that fact.
Also allows the compiler to detect unused (global) variables.
2024-09-27 13:51:21 +02:00