From 81637691839fdba2922c81a0a3579d0a69c7e654 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Fri, 1 Sep 2023 15:42:21 -0400 Subject: [PATCH] Add check_mk check for PVC status --- roles/pvc/templates/pvc/pvc_status.j2 | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 roles/pvc/templates/pvc/pvc_status.j2 diff --git a/roles/pvc/templates/pvc/pvc_status.j2 b/roles/pvc/templates/pvc/pvc_status.j2 new file mode 100755 index 0000000..8abc76b --- /dev/null +++ b/roles/pvc/templates/pvc/pvc_status.j2 @@ -0,0 +1,7 @@ +#!/bin/bash + +# PVC cluster status check for Check_MK +# {{ ansible_managed }} + +echo "<<>>" +pvc status --format json