Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
Check age and status of last backup with Mac OS X' builtin Time Machine backup.
Current Version
0.1.1
Last Release Date
2013-09-05
Owner
hansmi
Website
http://hansmi.ch/
License
BSD
Compatible With
NRPE configuration example:
command[check_apple_time_machine]=/usr/local/scripts/check_apple_time_machine -w 10800 -c 21600
Tested with Mac OS X 10.7 and 10.8.
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.
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.
You must be logged in to submit a review.
To:
From: