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


Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
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.
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.


1 of 1 found this review helpful.
Helpful? Yes 1 No 0
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,121