Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
CheckStoreBackup
## 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
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)
Be the first to review this listing!