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

Directory Tree

check_sepsesam

Rating
0 votes
Favoured:
0
Hits
154107
Files:
FileDescription
check_sepsesam.plcheck_sepsesam.pl
Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
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