summaryrefslogtreecommitdiffstats
path: root/plugins/check_mysql_query.d/config.h
diff options
context:
space:
mode:
authorLorenz Kästle <12514511+RincewindsHat@users.noreply.github.com>2025-11-07 15:22:05 +0100
committerGitHub <noreply@github.com>2025-11-07 15:22:05 +0100
commit2eb22a87d2cb5467c5b031c720726c2531202055 (patch)
tree7f553a70ca980fe7e7de57c3bc0e648d3986930f /plugins/check_mysql_query.d/config.h
parentb5e7f4e6cc8c586fdb20949369e05105157a61a7 (diff)
parent5bbfd58105766d453a6d0de5b9afcaf6daf4b460 (diff)
downloadmonitoring-plugins-2eb22a87d2cb5467c5b031c720726c2531202055.tar.gz
Merge pull request #2175 from RincewindsHat/modern_output/check_mysql_queryHEADmaster
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.h4
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
21check_mysql_query_config check_mysql_query_config_init() { 21check_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}