aboutsummaryrefslogtreecommitdiff
path: root/plugins/t/check_curl.t
AgeCommit message (Collapse)Author
2022-11-07Check curl detect ipv6 (#1809)Gravatar Lorenz
* If server_address is an IPv6 address surround it with brackets * If the message is too short, we should not have an underflow * Add simple conditional test case available if IPv6 is
2022-07-20Remove check_http and check_curl test which are somehow always failing (#1777)Gravatar Lorenz
* Remove failing checks for check_http * Remove failing checks for check_curl
2021-05-24check_curl.c: bugfix: verify certificates option should not force SSL to be usedGravatar Barak Shohat
2021-05-18check_curl.t: Adjust test to use -f curlGravatar Jacob Hansen
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-30Fix conditional tests for check_http, check_curlGravatar Aksel Sjögren
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-07Merge pull request #1669 from bazzisoft/verify-certGravatar Sven Nierlein
Add an option to check_curl to verify the peer certificate & host using the system CA's
2021-04-07Add an option to check_curl to verify the peer certificate & host using the ↵Gravatar Barak Shohat
system CA's
2021-04-07Updated check_curl.c to display a specific human-readable error message ↵Gravatar Barak Shohat
where possible
2020-05-18update test parameter according to check_httpGravatar Sven Nierlein
2018-10-25check_curl: rewrite connect_to / host headersGravatar Sven Nierlein
since CURLOPT_CONNECT_TO is only available in later curl versions, we do it the other way round now and set the url from the address we want to connect to and then set the host header accordingly.
2018-10-22made check_curl tests copies of check_http tests because they will differ ↵Gravatar Andreas Baumann
slightly
2018-10-22check_curl: make check_curl use the same tests as check_httpGravatar Sven Nierlein
2018-10-22add check_curl testGravatar Sven Nierlein
just a copy of check_http for now... Signed-off-by: Sven Nierlein <sven@nierlein.de>