Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Directory
jisse44
Hi, very good plugin.
I just add lines to watch which physical drive is down or rebuilding, after line 210 of v1.8:
check2c=`sudo -u root $hpacucli controller slot=$slot physicaldrive all show 2>&1 | grep '\(Failed\|Rebuilding\)' | awk '{print $1, $2}'`
status=$?
if test ${status} -ne 0; then
echo "RAID UNKNOWN - $hpacucli did not execute properly : "${check2c}
exit $STATE_UNKNOWN
fi
check2="$check2$check2b -> /!\ $check2c"
I just add lines to watch which physical drive is down or rebuilding, after line 210 of v1.8:
check2c=`sudo -u root $hpacucli controller slot=$slot physicaldrive all show 2>&1 | grep '\(Failed\|Rebuilding\)' | awk '{print $1, $2}'`
status=$?
if test ${status} -ne 0; then
echo "RAID UNKNOWN - $hpacucli did not execute properly : "${check2c}
exit $STATE_UNKNOWN
fi
check2="$check2$check2b -> /!\ $check2c"
Owner's reply
Fixed! Thanks