Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
Query the SEP Sesam Database for backup stati
Current Version
Last Release Date
February 4, 2010
Owner
Nagios Exchange
The plugin checks the status of all backups which match the Host / Task that have been completed since the last check and delivers the data in multi-line format.
It is possible to separate multiple hosts and/or tasks with commas.
Backups that are still running will not be included in the results.
It requires that the Sesam init script has been sourced; e.g. add the following line to /etc/init.d/nagios
. /var/opt/sesam/var/ini/sesam2000.profile
EXAMPLES
check_sepsesam.pl -H host1 -T testbackup -l $LASTSERVICECHECK$
checks all backups with name testbackup on host1 since the last check; always returns OK
check_sepsesam.pl -H host1,host2,host3 -T testbackup,fullbackup -l $LASTSERVICECHECK$ -w 2 -c 1
checks various tasks on host1, host2 and host3. Returns a warning if less than 2 were successful. Returns a critical if less than 1 was successful
check_sepsesam.pl -H host1,host2,host3 -T backup -l $LASTSERVICECHECK$ --anyerror
returns a critical if any of the matching backups failed
check_sepsesam.pl --lastcheck `date -d "yesterday 08:00" +%s` --until `date -d "today 08:00" +%s` --anyerror
checks all hosts between two dates
You must be logged in to submit a review.
To:
From: