diff options
Diffstat (limited to 'plugins/check_mysql.d/config.h')
| -rw-r--r-- | plugins/check_mysql.d/config.h | 8 |
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 | } |
