From 38e43b46c3bd694a031e4c04477ef0c69a32ab2a Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Wed, 13 Dec 2023 03:17:47 -0500 Subject: [PATCH] Update health detail messages format --- node-daemon/monitoring/checkmk/pvc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node-daemon/monitoring/checkmk/pvc.py b/node-daemon/monitoring/checkmk/pvc.py index d93e6135..bd5073b3 100644 --- a/node-daemon/monitoring/checkmk/pvc.py +++ b/node-daemon/monitoring/checkmk/pvc.py @@ -70,7 +70,7 @@ def check_pvc(item, params, section): summary = f"Cluster health is {cluster_health}% (maintenance {maintenance})" if len(cluster_messages) > 0: - details = ", ".join(cluster_messages) + details = ", ".join([m["text"] for m in cluster_messages]) if cluster_health <= 50 and maintenance == "off": state = State.CRIT