From 88f316bb2721921f2f7fa12e196fc299db60c2f8 Mon Sep 17 00:00:00 2001 From: Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> Date: Wed, 17 Sep 2025 11:25:13 +0200 Subject: check_cluster: new output functionality --- plugins/check_cluster.d/config.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'plugins/check_cluster.d') diff --git a/plugins/check_cluster.d/config.h b/plugins/check_cluster.d/config.h index fc386415..054657b0 100644 --- a/plugins/check_cluster.d/config.h +++ b/plugins/check_cluster.d/config.h @@ -2,6 +2,7 @@ #include "../../config.h" #include "../../lib/thresholds.h" +#include "output.h" #include enum { @@ -14,6 +15,9 @@ typedef struct { thresholds *thresholds; int check_type; char *label; + + mp_output_format output_format; + bool output_format_is_set; } check_cluster_config; check_cluster_config check_cluster_config_init() { @@ -22,6 +26,8 @@ check_cluster_config check_cluster_config_init() { .thresholds = NULL, .check_type = CHECK_SERVICES, .label = NULL, + + .output_format_is_set = false, }; return tmp; } -- cgit v1.2.3-74-g34f1