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

check_sepsesam

Rating
0 votes
Favoured:
0
Hits
150738
Files:
FileDescription
check_sepsesam.plcheck_sepsesam.pl

Help Support Ethan Galstad's New Project:

Help Support Ethan

A Message From The Founder...

As the founder of Nagios, I'm asking for your help in a cause that's dear to my heart.

I'm launching a new project to help better the world by providing the information, ideas, and inspiration that I believe can improve the lives of people everywhere.

I know you're busy managing networks, but I would appreciate it if you would consider liking my Facebook page and showing your support for the content and messages I produce by sharing them with your friends and family.

You can learn more about my project by visiting ethangalstad.me/nagios. Thank you for your time. I wish you all the best in your endeavors, whatever they may be.

- Ethan

Query the SEP Sesam Database for backup stati
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