Build precise queries to find exactly what you need
Press ESC to close
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
We’ve completely redesigned the world’s largest repository of Nagios plugins and monitoring tools. Join thousands of users sharing monitoring solutions for servers, applications, and everything in between.
Due to our redesign, all existing accounts require a password reset to access your account again.
Ready to explore 6,100+ projects and contribute to the community?
Reset Password Create Account
Happy Monitoring!