diff options
| author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2025-10-29 23:27:31 +0100 |
|---|---|---|
| committer | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2025-10-29 23:27:31 +0100 |
| commit | 408783f53d0baaf7341c7c584ca64a9073d66ee2 (patch) | |
| tree | 7a8c5124384471e9d327c06051ec4b310d69cb58 /plugins/check_dbi.d | |
| parent | 071de8a73a283ac7e262194c2c08fabfef4473b1 (diff) | |
| download | monitoring-plugins-408783f53d0baaf7341c7c584ca64a9073d66ee2.tar.gz | |
check_dbi: add output format parameter
Diffstat (limited to 'plugins/check_dbi.d')
| -rw-r--r-- | plugins/check_dbi.d/config.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/check_dbi.d/config.h b/plugins/check_dbi.d/config.h index f6f0d7b3..09aa67da 100644 --- a/plugins/check_dbi.d/config.h +++ b/plugins/check_dbi.d/config.h | |||
| @@ -38,6 +38,8 @@ typedef struct { | |||
| 38 | char *critical_range; | 38 | char *critical_range; |
| 39 | thresholds *dbi_thresholds; | 39 | thresholds *dbi_thresholds; |
| 40 | 40 | ||
| 41 | bool output_format_is_set; | ||
| 42 | mp_output_format output_format; | ||
| 41 | } check_dbi_config; | 43 | } check_dbi_config; |
| 42 | 44 | ||
| 43 | check_dbi_config check_dbi_config_init() { | 45 | check_dbi_config check_dbi_config_init() { |
| @@ -58,6 +60,8 @@ check_dbi_config check_dbi_config_init() { | |||
| 58 | .warning_range = NULL, | 60 | .warning_range = NULL, |
| 59 | .critical_range = NULL, | 61 | .critical_range = NULL, |
| 60 | .dbi_thresholds = NULL, | 62 | .dbi_thresholds = NULL, |
| 63 | |||
| 64 | .output_format_is_set = false, | ||
| 61 | }; | 65 | }; |
| 62 | return tmp; | 66 | return tmp; |
| 63 | } | 67 | } |
