summaryrefslogtreecommitdiffstats
path: root/plugins/check_mysql_query.d
diff options
context:
space:
mode:
authorDennis <13968467+Decstasy@users.noreply.github.com>2025-11-25 15:02:52 +0100
committerGitHub <noreply@github.com>2025-11-25 15:02:52 +0100
commitcedfc166d42f4e89dddc1caa44e0655157d35a0a (patch)
treeee980d8df72bc9611099f6a997274831098d4175 /plugins/check_mysql_query.d
parent978343ed03d3327597fa3317901f1c1741a7e3c4 (diff)
parent3657197cf77ca78f6e2d003a71d48dc5d4dc45ae (diff)
downloadmonitoring-plugins-cedfc166.tar.gz
Merge branch 'master' into check_dig_flags_feature
Diffstat (limited to 'plugins/check_mysql_query.d')
-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}