Build precise queries to find exactly what you need
Press ESC to close
Nice clean perl, easy to understand what it’s doing, but the check for critical time never gets executed:
if ($completed ed now – $critical_age)) { exit_critical(“Backup is older than $critical_age seconds ($fmtcompleted)”); } else { exit_ok(“Backup finished at ” . ctime($completed)); }
should be:
if ($completed conds ($fmtcompleted)”); } else { exit_ok(“Backup finished at ” . ctime($completed)); }
Once that’s fixed the plugin works as expected.
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!