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
RincewindsHat
b1e96a3bf3
check_snmp: Remove unused PP-macros
2024-09-27 11:58:42 +02:00
RincewindsHat
3ba660889a
check_snmp: Declare most variables as static
2024-09-27 11:57:38 +02:00
Lorenz Kästle
a378134ddc
Merge pull request #2015 from RincewindsHat/fix/check_mysql_variables
...
check_mysql:
* remove unused variables
* convert two practical booleans to real `bool`
2024-09-06 01:51:23 +02:00
Lorenz Kästle
75d5c51207
Remove experimental state from check_curl
2024-08-29 18:20:35 +02:00
Lorenz Kästle
4f7ee05786
check_mysql: Label some booleans correctly
2024-08-28 19:20:31 +02:00
Lorenz Kästle
584cca3a96
check_mysql: remove unused global variables
2024-08-28 19:19:16 +02:00
Lorenz Kästle
2b8b66d41e
Merge pull request #2001 from RincewindsHat/check_snmp_protocoll_documentation
...
Add more documentation to the help page of check_snmp regarding authe…
2024-08-28 10:21:12 +02:00
RincewindsHat
af097aa364
check_curl: change help for --state-regex again to fix formatting
2024-08-19 15:33:17 +02:00