From 178e9a02e367ab4527129ddbc623401e245d00b2 Mon Sep 17 00:00:00 2001 From: inqrphl <32687873+inqrphl@users.noreply.github.com> Date: Tue, 19 May 2026 16:01:43 +0200 Subject: check_http and check_curl: custom timeout return state (#2266) check_curl + check_http: hdd cli argument to return custom states on timeout --------- Co-authored-by: Ahmet Oeztuerk --- plugins/check_curl.d/check_curl_helpers.c | 1 + 1 file changed, 1 insertion(+) (limited to 'plugins/check_curl.d/check_curl_helpers.c') 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) { .header_expect = "", .on_redirect_result_state = STATE_OK, .on_redirect_dependent = false, + .on_timeout_result_state = STATE_CRITICAL, .show_extended_perfdata = false, .show_body = false, -- cgit v1.2.3-74-g34f1