From 9d827acbe1aac0edaa91a8765a87412a189cadf1 Mon Sep 17 00:00:00 2001 From: Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> Date: Fri, 7 Nov 2025 15:01:36 +0100 Subject: check_mysql_query: implement modern output --- plugins/check_mysql_query.d/config.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/check_mysql_query.d/config.h') 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 { unsigned int db_port; char *sql_query; - thresholds *my_thresholds; + mp_thresholds thresholds; } check_mysql_query_config; check_mysql_query_config check_mysql_query_config_init() { @@ -30,7 +30,7 @@ check_mysql_query_config check_mysql_query_config_init() { .db_port = MYSQL_PORT, .sql_query = NULL, - .my_thresholds = NULL, + .thresholds = mp_thresholds_init(), }; return tmp; } -- cgit v1.2.3-74-g34f1