Others

check_apple_time_machine

Description:

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

Compatible With

  • Nagios 3.x

Owner

License

BSD


Project Files
Project Notes
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.
Reviews (1) Add a Review
Error in the warning/critical logic
by sfrazer, August 31, 2013

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.



Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
4 (1)
Favorites
1
Views
38,151