summaryrefslogtreecommitdiffstats
path: root/plugins/check_curl.d
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/check_curl.d')
-rw-r--r--plugins/check_curl.d/check_curl_helpers.c1
-rw-r--r--plugins/check_curl.d/config.h3
2 files changed, 4 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,
diff --git a/plugins/check_curl.d/config.h b/plugins/check_curl.d/config.h
index bcdf3010..0a7fa01d 100644
--- a/plugins/check_curl.d/config.h
+++ b/plugins/check_curl.d/config.h
@@ -113,9 +113,12 @@ typedef struct {
113 mp_state_enum on_redirect_result_state; 113 mp_state_enum on_redirect_result_state;
114 bool on_redirect_dependent; 114 bool on_redirect_dependent;
115 115
116 mp_state_enum on_timeout_result_state;
117
116 bool show_extended_perfdata; 118 bool show_extended_perfdata;
117 bool show_body; 119 bool show_body;
118 120
121
119 bool output_format_is_set; 122 bool output_format_is_set;
120 mp_output_format output_format; 123 mp_output_format output_format;
121} check_curl_config; 124} check_curl_config;