Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2021-06-25 | Let ssh decide if a host is valid, enables usage of ssh .config filerefs/pull/1691/head | Lorenz Kästle | 1 | -2/+0 | |
2021-05-27 | check_curl:refs/pull/1689/head | Andreas Baumann | 1 | -0/+12 | |
- added verbose output in verify_callback - pin refcounting for certs (avoid subject extraction error when checking certs in is_openssl_callback mode) | |||||
2021-05-20 | tests: ignore sigpipes in https test daemonrefs/pull/1686/head | Sven Nierlein | 1 | -4/+8 | |
check_http closes the connection after checking the certificate with -C. This leads to sigpipe errors when the ssl daemon wants to send a response and the daemon quits which makes the subsequent tests fail. | |||||
2021-05-20 | tests: increase startup sleep | Sven Nierlein | 2 | -4/+6 | |
github action might fail from to time otherwise | |||||
2021-05-19 | Refactor check_fping | Jacob Hansen | 1 | -15/+14 | |
* Set correct amount of tests based on conditionals. * When running the test as non-root, we would previously check is the setuid bit is set. This doesn't seem to be needed, so just check if the binary is executable for the user running the test. * Use cmp_ok to check if tests succeeds rather than couting. Signed-off-by: Jacob Hansen <jhansen@op5.com> | |||||
2021-05-18 | check_curl.t: Adjust test to use -f curl | Jacob Hansen | 1 | -2/+1 | |
It appears that `-f follow` doesn't work correctly in `check_curl` at the moment. Test adjusted to use `-f curl` instead. Issue for the above created: https://github.com/monitoring-plugins/monitoring-plugins/issues/1685 Signed-off-by: Jacob Hansen <jhansen@op5.com> | |||||
2021-04-30 | Fix conditional tests for check_http, check_curl | Aksel Sjögren | 2 | -4/+4 | |
Set correct number of tests in skip- blocks to avoid the error "Bad plan. You planned 50 tests but ran 55" when run with/without /usr/bin/faketime and NP_INTERNET_ACCESS=yes/no. | |||||
2021-04-30 | migrate travis ci to github actions | Sven Nierlein | 1 | -54/+0 | |
2021-04-30 | fix fping test | Sven Nierlein | 1 | -6/+3 | |
in case of dns errors, fping returns an unknown and thats ok. | |||||
2021-04-13 | check_curl: Fix bug where headers beginning with HTTP_ cause the status line ↵ | Barak Shohat | 1 | -1/+1 | |
parsing to fail. | |||||
2021-04-08 | check_curl: backported --show-body/-B to print body (from check_http)refs/pull/1671/head | Andreas Baumann | 1 | -4/+15 | |
2021-04-08 | check_curl: make -C obvious (from check_http, part 2) | Andreas Baumann | 1 | -0/+4 | |
2021-04-08 | check_curl: make -C obvious (from check_http) | Andreas Baumann | 1 | -1/+3 | |
2021-04-08 | check_curl: Increase regexp limit (to 1024 as in check_http) | Andreas Baumann | 1 | -1/+1 | |
2021-04-07 | Merge pull request #1669 from bazzisoft/verify-cert | Sven Nierlein | 2 | -4/+18 | |
Add an option to check_curl to verify the peer certificate & host using the system CA's | |||||
2021-04-07 | Merge pull request #1554 from stblassitude/master | Sven Nierlein | 1 | -1/+7 | |
Docs check_http: make -C obvious | |||||
2021-04-07 | Merge pull request #1566 from hydrapolic/master | Sven Nierlein | 1 | -1/+1 | |
plugins: check_http: Increase regexp limit | |||||
2021-04-07 | Merge pull request #1465 from lausser/master | Sven Nierlein | 1 | -2/+3 | |
check_snmp: put the "c" (to mark a counter) after the perfdata value | |||||
2021-04-07 | Merge pull request #1663 from waja/debian_982847_2 | waja | 1 | -1/+1 | |
Using snprintf which honors the buffers size and guarantees null temination. (Closes: #1601) | |||||
2021-04-07 | Add an option to check_curl to verify the peer certificate & host using the ↵refs/pull/1669/head | Barak Shohat | 2 | -4/+18 | |
system CA's | |||||
2021-04-07 | Merge pull request #1668 from bazzisoft/master | Sven Nierlein | 2 | -5/+5 | |
Update check_curl.c to display a specific human-readable error message where possible | |||||
2021-04-07 | Updated check_curl.c to display a specific human-readable error message ↵refs/pull/1668/head | Barak Shohat | 2 | -5/+5 | |
where possible | |||||
2021-04-07 | Merge pull request #1666 from sni/check_curl_fix_header_parser | Sven Nierlein | 2 | -4/+14 | |
fix check_curl crash if http header contains leading spaces | |||||
2021-04-07 | Merge pull request #1644 from ghciv6/check_mysql_query_1562 | Sven Nierlein | 1 | -6/+6 | |
- fix for issue #1562 | |||||
2021-03-11 | fix check_curl crash if http header contains leading spacesrefs/pull/1666/head | Sven Nierlein | 2 | -4/+14 | |
check_curl crashes when a (broken) http server returns invalid http header with leading spaces or double colons. This PR adds a fix and a test case for this. Signed-off-by: Sven Nierlein <sven@nierlein.de> | |||||
2021-03-08 | check_curl: added string_statuscode function for printing HTTP/1.1 and ↵refs/pull/1667/head | Andreas Baumann | 1 | -5/+28 | |
HTTP/2 correctly | |||||
2021-02-15 | Using snprintf which honors the buffers size and guarantees null ↵refs/pull/1663/head | Florian Lohoff | 1 | -1/+1 | |
termination. (Closes: #1601) As strcpy may overflow the resulting buffer: flo@p5:~$ /tmp/f/usr/lib/nagios/plugins/check_pgsql -d "$(seq 1 10000)" *** buffer overflow detected ***: terminated Aborted I would propose to change the code rather like this, using snprintf which honors the buffers size and guarantees null termination. | |||||
2021-02-08 | Merge branch 'master' into feature_check_curl | Andreas Baumann | 1 | -3/+17 | |
2021-01-19 | check_curl: fixed a potential buffer overflow in url buffer | Andreas Baumann | 1 | -1/+1 | |
2021-01-19 | check_curl: fixed help, usage and errors for TLS 1.3 | Andreas Baumann | 1 | -2/+2 | |
2020-11-02 | check_dns: split multiple IP addresses passed in one -a argumentrefs/pull/1649/head | Rolf Eike Beer | 1 | -3/+17 | |
2020-09-23 | Merge pull request #1514 from Rasp8e/master | Sven Nierlein | 1 | -0/+15 | |
Proxy authorization is now kept when using PROXY + CONNECT to HTTPS | |||||
2020-09-15 | - fix for issue #1562refs/pull/1644/head | ghciv6 | 1 | -6/+6 | |
1st compare then free up resources | |||||
2020-05-20 | detect unreachable dns service in nslookup output (from bind-utils-9.8.2)refs/pull/1634/head | ghciv6 | 1 | -1/+6 | |
prevent core if error_scan detects an error in a line without ':' | |||||
2020-05-18 | check_curl: host_name may be nullrefs/pull/1535/head | Sven Nierlein | 1 | -4/+4 | |
for example when using like: ./check_curl localhost | |||||
2020-05-18 | update test parameter according to check_http | Sven Nierlein | 1 | -26/+9 | |
2020-05-18 | check_curl: use CURLOPT_RESOLVE to fix connecting to the right ip | Sven Nierlein | 1 | -0/+11 | |
when using ssl, the composed url contains the hostname instead of the specified ip. So use CURLOPT_RESOLVE to make curl still connect to the ip. | |||||
2020-05-18 | check_curl: clean trailing whitespace | Sven Nierlein | 1 | -7/+7 | |
2020-05-15 | merge test changes from check_http | Sven Nierlein | 1 | -10/+11 | |
the example certificate has changed since. | |||||
2020-05-15 | tests: update expired test certificate | Sven Nierlein | 3 | -35/+53 | |
the certificate used to test expired http checks is to old to be used with recent ssl libraries and results in: > SSL routines:SSL_CTX_use_certificate:ee key too small unfortunatly the error is only visible when setting $IO::Socket::SSL::DEBUG in the check_http.t file. | |||||
2020-01-09 | Merge branch 'master' into feature_check_curl | Andreas Baumann | 3 | -5/+23 | |
2020-01-07 | check_tcp: add --sni | Alexander A. Klimov | 1 | -1/+22 | |
2020-01-07 | Fix timeout_interval declarations | Christian Tacke | 2 | -4/+1 | |
There are different declarations for timeout_interval: lib/utils_base.c has the definition: unsigned int timeout_interval = DEFAULT_SOCKET_TIMEOUT; lib/utils_base.h has the appropiate declaration: extern unsigned int timeout_interval; plugins/popen.h has an extra declaration: extern unsigned int timeout_interval; This doesn't hurt, but it's a dupe. The one in utils_base.h should be enough, so remove this one. plugins/popen.c has a WRONG one: extern int timeout_interval; Remove it! Use #include "utils.h" to get the right one. This makes the local defines for max/min unnecassary, so remove them also. | |||||
2019-12-29 | increased copyright | Andreas Baumann | 1 | -2/+2 | |
2019-11-07 | check_curl: NSS, parse more date formats from certificate (in -C cert check) | Andreas Baumann | 1 | -1/+5 | |
2019-11-07 | check_curl: more tolerant CN= parsing when checking certificates (hit on ↵ | Andreas Baumann | 1 | -2/+9 | |
Centos 8) | |||||
2019-10-11 | setting no_body to TRUE when we have a HEAD request | Andreas Baumann | 1 | -1/+6 | |
2019-09-07 | some LIBCURL_VERSION checks around HTTP/2 feature | Andreas Baumann | 1 | -1/+5 | |
2019-09-07 | added --http-version option to check_curl to choose HTTP version | Andreas Baumann | 1 | -1/+26 | |
2019-09-07 | improved curlhelp_parse_statusline to handle both HTTP/1.x and HTTP/2 | Andreas Baumann | 1 | -12/+23 | |