summaryrefslogtreecommitdiffstats
path: root/plugins/check_curl.d/check_curl_helpers.c
diff options
context:
space:
mode:
authorinqrphl <32687873+inqrphl@users.noreply.github.com>2026-05-19 16:01:43 +0200
committerGitHub <noreply@github.com>2026-05-19 16:01:43 +0200
commit178e9a02e367ab4527129ddbc623401e245d00b2 (patch)
treee4655ece4741fea367bc82f25b66912a1b704016 /plugins/check_curl.d/check_curl_helpers.c
parent5ccce854954e807e51966b3db9388bf20284b949 (diff)
downloadmonitoring-plugins-178e9a02e367ab4527129ddbc623401e245d00b2.tar.gz
check_http and check_curl: custom timeout return state (#2266)HEADmaster
check_curl + check_http: hdd cli argument to return custom states on timeout --------- Co-authored-by: Ahmet Oeztuerk <Ahmet.Oeztuerk@consol.de>
Diffstat (limited to 'plugins/check_curl.d/check_curl_helpers.c')
-rw-r--r--plugins/check_curl.d/check_curl_helpers.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/check_curl.d/check_curl_helpers.c b/plugins/check_curl.d/check_curl_helpers.c
index 80d6f4f6..5b13a138 100644
--- a/plugins/check_curl.d/check_curl_helpers.c
+++ b/plugins/check_curl.d/check_curl_helpers.c
@@ -755,6 +755,7 @@ check_curl_config check_curl_config_init(void) {
755 .header_expect = "", 755 .header_expect = "",
756 .on_redirect_result_state = STATE_OK, 756 .on_redirect_result_state = STATE_OK,
757 .on_redirect_dependent = false, 757 .on_redirect_dependent = false,
758 .on_timeout_result_state = STATE_CRITICAL,
758 759
759 .show_extended_perfdata = false, 760 .show_extended_perfdata = false,
760 .show_body = false, 761 .show_body = false,