summaryrefslogtreecommitdiffstats
path: root/plugins/check_mysql.d/config.h
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.d/config.h
parent978343ed03d3327597fa3317901f1c1741a7e3c4 (diff)
parent3657197cf77ca78f6e2d003a71d48dc5d4dc45ae (diff)
downloadmonitoring-plugins-cedfc166.tar.gz
Merge branch 'master' into check_dig_flags_feature
Diffstat (limited to 'plugins/check_mysql.d/config.h')
-rw-r--r--plugins/check_mysql.d/config.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/plugins/check_mysql.d/config.h b/plugins/check_mysql.d/config.h
index 71ddbe8d..ef086cfc 100644
--- a/plugins/check_mysql.d/config.h
+++ b/plugins/check_mysql.d/config.h
@@ -24,9 +24,7 @@ typedef struct {
24 bool check_replica; 24 bool check_replica;
25 bool ignore_auth; 25 bool ignore_auth;
26 26
27 double warning_time; 27 mp_thresholds replica_thresholds;
28 double critical_time;
29 thresholds *my_threshold;
30 28
31} check_mysql_config; 29} check_mysql_config;
32 30
@@ -50,9 +48,7 @@ check_mysql_config check_mysql_config_init() {
50 .check_replica = false, 48 .check_replica = false,
51 .ignore_auth = false, 49 .ignore_auth = false,
52 50
53 .warning_time = 0, 51 .replica_thresholds = mp_thresholds_init(),
54 .critical_time = 0,
55 .my_threshold = NULL,
56 }; 52 };
57 return tmp; 53 return tmp;
58} 54}