Home Directory Plugins Backup and Recovery Others check_apple_time_machine

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 Tree

check_apple_time_machine

Rating
1 vote
Favoured:
1
Current Version
0.1.1
Last Release Date
2013-09-05
Compatible With
  • Nagios 3.x
Owner
Website
License
BSD
Hits
38209
Files:
FileDescription
check_apple_time_machinecheck_apple_time_machine
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!
Check age and status of last backup with Mac OS X' builtin Time Machine backup.
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)
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.