From 273c048e6a670b66cdcdc3d9cb49798aeeb334bd Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Thu, 24 Oct 2019 09:44:41 -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