storeBackup

CheckStoreBackup

Description:

Report status of last backup run for a given storeBackup logfile. Shell script (sh), GPL

Current Version

Last Release Date

June 18, 2009

Compatible With


Project Files
Project Notes
## Description This plugin reads the last log entry from a storeBackup logfile and derives a status from the storeBackup output. Usage: check_storeBackup logfile ## Output: The plugin prints either "RUNNING", "OK", "WARNING" or "ERROR" according to the log file analysis, followed by the number of errors and warnings and the "end"-timestamp (if applicable). If the logfile has been wrapped by storeBackup (the beginning is not within the analyzed logfile) the status is "WRAPPED" Exit Codes 0 = OK (finished without errors/warnings) 1 = Warning (finished with warnings but no errors) 2 = Critical (finished with errors and maybe additional warnings) 3 = Unknown (the status cannot be derived, the backup is still running or the logfile is wrapped) ## Example check_storebackup /backup/backup_users.log OK - errors=0 warnings=0 - finished 2006.01.30 00:47:58 RUNNING - errors=0 warnings=3 ERROR - errors=3 warnings=0 - finished 2005.07.28 09:48:14 ## Reference http://sourceforge.net/projects/storebackup
Reviews (0) Add a Review
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
0 (0)
Favorites
0
Views
93,218