diff options
| author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2025-11-07 15:22:05 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-07 15:22:05 +0100 |
| commit | 2eb22a87d2cb5467c5b031c720726c2531202055 (patch) | |
| tree | 7f553a70ca980fe7e7de57c3bc0e648d3986930f /plugins/check_mysql_query.d/config.h | |
| parent | b5e7f4e6cc8c586fdb20949369e05105157a61a7 (diff) | |
| parent | 5bbfd58105766d453a6d0de5b9afcaf6daf4b460 (diff) | |
| download | monitoring-plugins-2eb22a87d2cb5467c5b031c720726c2531202055.tar.gz | |
check_mysql_query: implement modern output
Diffstat (limited to 'plugins/check_mysql_query.d/config.h')
| -rw-r--r-- | plugins/check_mysql_query.d/config.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/check_mysql_query.d/config.h b/plugins/check_mysql_query.d/config.h index be019160..1c9952e5 100644 --- a/plugins/check_mysql_query.d/config.h +++ b/plugins/check_mysql_query.d/config.h | |||
| @@ -15,7 +15,7 @@ typedef struct { | |||
| 15 | unsigned int db_port; | 15 | unsigned int db_port; |
| 16 | 16 | ||
| 17 | char *sql_query; | 17 | char *sql_query; |
| 18 | thresholds *my_thresholds; | 18 | mp_thresholds thresholds; |
| 19 | } check_mysql_query_config; | 19 | } check_mysql_query_config; |
| 20 | 20 | ||
| 21 | check_mysql_query_config check_mysql_query_config_init() { | 21 | check_mysql_query_config check_mysql_query_config_init() { |
| @@ -30,7 +30,7 @@ check_mysql_query_config check_mysql_query_config_init() { | |||
| 30 | .db_port = MYSQL_PORT, | 30 | .db_port = MYSQL_PORT, |
| 31 | 31 | ||
| 32 | .sql_query = NULL, | 32 | .sql_query = NULL, |
| 33 | .my_thresholds = NULL, | 33 | .thresholds = mp_thresholds_init(), |
| 34 | }; | 34 | }; |
| 35 | return tmp; | 35 | return tmp; |
| 36 | } | 36 | } |
