Build precise queries to find exactly what you need
Press ESC to close
Hi, great plugin!
Forgot though to add the warning and critical thresholds in the performance output when thresholds are being used :
if [[ ${delayinfo} -ge ${crit_delay} ]] then echo “CRITICAL: Slave is ${delayinfo} seconds behind Master | delay=${delayinfo}s;”; exit ${STATE_CRITICAL} elif [[ ${delayinfo} -ge ${warn_delay} ]] then echo “WARNING: Slave is ${delayinfo} seconds behind Master | delay=${delayinfo}s;”; exit ${STATE_WARNING} else echo “OK: Slave SQL running: ${check} Slave IO running: ${checkio} / master: ${masterinfo} / slave is ${delayinfo} seconds behind master | delay=${delayinfo}s;”; exit
==>
if [[ ${delayinfo} -ge ${crit_delay} ]] then echo “CRITICAL: Slave is ${delayinfo} seconds behind Master | delay=${delayinfo}s;$warn_delay;$crit_delay;;”; exit ${STATE_CRITICAL} elif [[ ${delayinfo} -ge ${warn_delay} ]] then echo “WARNING: Slave is ${delayinfo} seconds behind Master | delay=${delayinfo}s;$warn_delay;$crit_delay;;”; exit ${STATE_WARNING} else echo “OK: Slave SQL running: ${check} Slave IO running: ${checkio} / master: ${masterinfo} / slave is ${delayinfo} seconds behind master | delay=${delayinfo}s;$warn_delay;$crit_delay;;”; 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!