mrl22
5/6/2018 - 5:16 PM

IBM MegaCli Checker for PRTG scripts - upload to /var/prtg/scripts/

IBM MegaCli Checker for PRTG scripts - upload to /var/prtg/scripts/

#!/bin/bash
###
if [ `megacli -LDInfo -Lall -aALL | grep 'Optimal' | wc -l` -eq 0 ]
then
echo "1:0:"
else
echo "0:1:"
fi