Build precise queries to find exactly what you need
Press ESC to close
Nagios World Conference 2026: Sept. 14-17 in St. Paul, MN | Learn More
We have a few DL580 g5’s with the raid controller in slot 11, and this check command doesn’t work, it doesn’t look for more then one character in your grep statement.
[nrpe@CCNETENGDB2] [/usr/lib64/nagios/plugins] > ./check_cciss RAID UNKNOWN – /usr/sbin/hpacucli did not execute properly : Error: The controller identified by “slot=1” was not detected.
Line 256, I added a + to Slot w to w+. after adding this, the slot is properly identified and everything works fine!
# Get “Slot” & exclude slot needed if [ “$EXCLUDE_SLOT” = “1” ]; then slots=`echo ${check} | egrep -o “Slot w+” | awk ‘{print $NF}’ | grep -v “$excludeslot”` else slots=`echo ${check} | egrep -o “Slot w+” | awk ‘{print $NF}’` fi
–Joe