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

CheckStoreBackup

Rating
0 votes
Favoured:
0
Hits
90025
Files:
FileDescription
check_storeBackupCheckStoreBackup V1.0
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
Report status of last backup run for a given storeBackup logfile. Shell script (sh), GPL
## 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