From c48c426a8e11c878d9c882b90025eaf2c97da2b0 Mon Sep 17 00:00:00 2001 From: Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> Date: Thu, 18 Jun 2026 16:47:56 +0200 Subject: check_mysql_query: add option to hide query in output (#2279) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Lorenz Kästle --- plugins/check_mysql_query.d/config.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'plugins/check_mysql_query.d') diff --git a/plugins/check_mysql_query.d/config.h b/plugins/check_mysql_query.d/config.h index 32ab455a..99df44ee 100644 --- a/plugins/check_mysql_query.d/config.h +++ b/plugins/check_mysql_query.d/config.h @@ -16,6 +16,7 @@ typedef struct { unsigned int db_port; char *sql_query; + char *queryname; mp_thresholds thresholds; bool output_format_is_set; @@ -28,12 +29,14 @@ check_mysql_query_config check_mysql_query_config_init() { .db_socket = NULL, .db = NULL, .db_user = NULL, + .db_pass = NULL, .opt_file = NULL, .opt_group = NULL, .db_port = MYSQL_PORT, .sql_query = NULL, + .queryname = NULL, .thresholds = mp_thresholds_init(), .output_format_is_set = false, -- cgit v1.2.3-74-g34f1