Build precise queries to find exactly what you need
Press ESC to close
The status for cache being temporarily disabled due to the raid battery charging or discharging is being misreported as a critical alert instead of warning level. Here is a patch that fixes it:
@@ -346,6 +346,9 @@ if echo ${check} | egrep Failed >/dev/null; then echo “RAID CRITICAL – HP Smart Array Failed: “${check} | egrep Failed exit $STATE_CRITICAL +elif echo ${check} | egrep “Cache Status: Temporarily Disabled” >/dev/null; then + echo “RAID WARNING – HP Smart Array Cache Disabled: “${check} + exit $STATE_WARNING elif echo ${check} | egrep Disabled >/dev/null; then echo “RAID CRITICAL – HP Smart Array Problem: “${check} | egrep Disabled exit $STATE_CRITICAL @@ -361,9 +364,6 @@ elif echo ${check2} | egrep Recover >/dev/null; then echo “RAID WARNING – HP Smart Array Recovering: “${check2} | egrep Recover exit $STATE_WARNING -elif echo ${check} | egrep “Cache Status: Temporarily Disabled” >/dev/null; then – echo “RAID WARNING – HP Smart Array Cache Disabled: “${check} – exit $STATE_WARNING elif echo ${check} | egrep FIRMWARE >/dev/null; then echo “RAID WARNING – “${check} exit $STATE_WARNING
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!