diff options
author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2025-09-12 16:37:24 +0200 |
---|---|---|
committer | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2025-09-12 16:37:24 +0200 |
commit | 44b2a25a6b9fb0791ec7150100a4d51e5f129611 (patch) | |
tree | 4fb13f9effac32bf156cc6eaefe22f6deea6d7ea /plugins/check_curl.d/config.h | |
parent | aaff3aa9da27ff7666d2a776d524c784b76eb3d7 (diff) | |
download | monitoring-plugins-44b2a25a6b9fb0791ec7150100a4d51e5f129611.tar.gz |
check_curl: implement new output mechanism
Diffstat (limited to 'plugins/check_curl.d/config.h')
-rw-r--r-- | plugins/check_curl.d/config.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/plugins/check_curl.d/config.h b/plugins/check_curl.d/config.h index a4b1eecf..32399b8a 100644 --- a/plugins/check_curl.d/config.h +++ b/plugins/check_curl.d/config.h | |||
@@ -8,6 +8,7 @@ | |||
8 | #include <string.h> | 8 | #include <string.h> |
9 | #include <sys/socket.h> | 9 | #include <sys/socket.h> |
10 | #include "curl/curl.h" | 10 | #include "curl/curl.h" |
11 | #include "perfdata.h" | ||
11 | #include "regex.h" | 12 | #include "regex.h" |
12 | 13 | ||
13 | enum { | 14 | enum { |
@@ -93,9 +94,9 @@ typedef struct { | |||
93 | bool continue_after_check_cert; | 94 | bool continue_after_check_cert; |
94 | int days_till_exp_warn; | 95 | int days_till_exp_warn; |
95 | int days_till_exp_crit; | 96 | int days_till_exp_crit; |
96 | thresholds *thlds; | 97 | mp_thresholds thlds; |
97 | size_t min_page_len; | 98 | mp_range page_length_limits; |
98 | size_t max_page_len; | 99 | bool page_length_limits_is_set; |
99 | struct { | 100 | struct { |
100 | char string[MAX_INPUT_BUFFER]; | 101 | char string[MAX_INPUT_BUFFER]; |
101 | bool is_present; | 102 | bool is_present; |