Home Directory

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory

sfrazer

Reviews(1)
bysfrazer, August 27, 2013
1 of 1 people found this review helpful
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.
Owner's reply

Thank you for your positive review! Despite the website's bad mangling of your comment I was able to reproduce and fix the issue your reported. Version 0.1.1 now reports critical errors properly.