Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
Report status of last backup run for a given storeBackup logfile. Shell script (sh), GPL
Current Version
Last Release Date
June 18, 2009
Owner
Nagios Exchange
## 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
You must be logged in to submit a review.
To:
From: