diff --git a/salt/telegraf/scripts/raid.sh b/salt/telegraf/scripts/raid.sh index 03e309c38..f237e8021 100644 --- a/salt/telegraf/scripts/raid.sh +++ b/salt/telegraf/scripts/raid.sh @@ -16,6 +16,8 @@ # along with this program. If not, see . THEGREP=$(ps -ef | grep $0 | grep -v $$ | grep -v grep) +RAIDLOG=/var/log/raid/status.log +RAIDSTATUS=$(cat /var/log/raid/status.log) if [ ! "$THEGREP" ]; then