Build precise queries to find exactly what you need
Press ESC to close
Love this script, if anyone had the same issue I was facing. The script doesn’t exit if there was a warning or critical output.
Last two lines change from this:
[ $CRIT -gt 0 ] && (echo “NOK: load averages are at $REAL_1min, $REAL_5min, $REAL_15min”; exit $STATE_CRITICAL) [ $WARN -gt 0 ] && (echo “NOK: load averages are at $REAL_1min, $REAL_5min, $REAL_15min”; exit $STATE_WARNING);
To this:
[ $CRIT -gt 0 ] && (echo “NOK: load averages are at $REAL_1min, $REAL_5min, $REAL_15min”) && exit $?; [ $WARN -gt 0 ] && (echo “NOK: load averages are at $REAL_1min, $REAL_5min, $REAL_15min”) && exit $?;
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!