aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-04-07Merge pull request #1666 from sni/check_curl_fix_header_parserGravatar Sven Nierlein
fix check_curl crash if http header contains leading spaces
2021-04-07Merge pull request #1644 from ghciv6/check_mysql_query_1562Gravatar Sven Nierlein
- fix for issue #1562
2021-03-22Merge pull request #1667 from monitoring-plugins/feature_check_curlGravatar Sven Nierlein
check curl bugfixes
2021-03-11fix check_curl crash if http header contains leading spacesGravatar Sven Nierlein
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-08check_curl: added string_statuscode function for printing HTTP/1.1 and ↵Gravatar Andreas Baumann
HTTP/2 correctly
2021-02-08Merge branch 'master' into feature_check_curlGravatar Andreas Baumann
2021-02-04Merge pull request #1649 from DerDakon/split-addrGravatar Sven Nierlein
check_dns: split multiple IP addresses passed in one -a argument
2021-01-19check_curl: fixed a potential buffer overflow in url bufferGravatar Andreas Baumann
2021-01-19check_curl: fixed help, usage and errors for TLS 1.3Gravatar Andreas Baumann
2020-12-19Merge pull request #1652 from timgates42/bugfix_typo_conspicuouslyGravatar Sven Nierlein
docs: fix simple typo, conspicuosly -> conspicuously
2020-12-19docs: fix simple typo, conspicuosly -> conspicuouslyGravatar Tim Gates
There is a small typo in plugins-root/check_icmp.c. Should read `conspicuously` rather than `conspicuosly`.
2020-12-09Prepare the release docu for 2024 when we release 2.4Gravatar Jan Wagner
2020-12-09New version in NEWSGravatar Jan Wagner
2020-12-09New version number for gitGravatar Jan Wagner
2020-12-09Draft NEWSGravatar Jan Wagner
2020-12-09Updating contributorsGravatar Jan Wagner
2020-12-09Updating version numberGravatar Jan Wagner
2020-12-08Merge pull request #1650 from sni/fix_check_mailq_optionsGravatar waja
check_mailq: restore accidentially removed options
2020-12-08check_mailq: restore accidentially removed optionsGravatar Sven Nierlein
with https://github.com/monitoring-plugins/monitoring-plugins/issues/381 -W and -C have been removed. It would have been sufficient to only remove the long options. Restoring short options.. - fixes https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=954961
2020-11-02check_dns: split multiple IP addresses passed in one -a argumentGravatar Rolf Eike Beer
2020-10-02Merge pull request #1645 from Prathu121/masterGravatar Sven Nierlein
Improves and fixes
2020-10-02Update READMEGravatar Prathamesh Bhanuse
2020-09-23Merge pull request #1514 from Rasp8e/masterGravatar Sven Nierlein
Proxy authorization is now kept when using PROXY + CONNECT to HTTPS
2020-09-15- fix for issue #1562Gravatar ghciv6
1st compare then free up resources
2020-05-20Merge pull request #1634 from ghciv6/check_dns_detect_unreach_svcGravatar Sven Nierlein
detect unreachable dns service in nslookup output
2020-05-20detect unreachable dns service in nslookup output (from bind-utils-9.8.2)Gravatar ghciv6
prevent core if error_scan detects an error in a line without ':'
2020-05-19Merge pull request #1535 from monitoring-plugins/feature_check_curlGravatar Sven Nierlein
Feature check curl
2020-05-18check_curl: host_name may be nullGravatar Sven Nierlein
for example when using like: ./check_curl localhost
2020-05-18update test parameter according to check_httpGravatar Sven Nierlein
2020-05-18check_curl: use CURLOPT_RESOLVE to fix connecting to the right ipGravatar Sven Nierlein
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-18check_curl: clean trailing whitespaceGravatar Sven Nierlein
2020-05-15merge test changes from check_httpGravatar Sven Nierlein
the example certificate has changed since.
2020-05-15tests: update expired test certificateGravatar Sven Nierlein
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-05-15tests: update expired test certificateGravatar Sven Nierlein
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-05-15Merge branch 'upstream' into check_curlGravatar Sven Nierlein
2020-04-14- workaround for issue #1550Gravatar ghciv6
- better use "ping -4" instead of "ping" if supported
2020-01-30Revert "simplify documentation"Gravatar DaTa
This reverts commit 7693af147926d0eb7369a43070d114b6bd79dc70. Now it is wrong: After reading https://www.naemon.org/documentation/usersguide/pluginapi.html#plugin_output_spec the old wording makes more sense.
2020-01-21Use size_t instead of int when calling sysctl(3).Gravatar Vadim Zhukov
Otherwise, it writes sizeof(size_t) bytes to &oldlen, smashing the stack.
2020-01-09Merge branch 'master' into feature_check_curlGravatar Andreas Baumann
2020-01-07check_tcp: add --sniGravatar Alexander A. Klimov
2020-01-07Fix timeout_interval declarationsGravatar Christian Tacke
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-29increased copyrightGravatar Andreas Baumann
2019-12-04Merge branch 'master' into feature_check_curlGravatar Andreas Baumann
2019-11-28simplify documentationGravatar datamuc
"first" + "second to last" is every line right?
2019-11-07check_curl: NSS, parse more date formats from certificate (in -C cert check)Gravatar Andreas Baumann
2019-11-07check_curl: more tolerant CN= parsing when checking certificates (hit on ↵Gravatar Andreas Baumann
Centos 8)
2019-10-11setting no_body to TRUE when we have a HEAD requestGravatar Andreas Baumann
2019-09-07some LIBCURL_VERSION checks around HTTP/2 featureGravatar Andreas Baumann
2019-09-07added --http-version option to check_curl to choose HTTP versionGravatar Andreas Baumann
2019-09-07improved curlhelp_parse_statusline to handle both HTTP/1.x and HTTP/2Gravatar Andreas Baumann