From: Peter Palfrader Date: Sat, 23 Mar 2013 16:40:17 +0000 (+0100) Subject: Use new bacula check X-Git-Url: https://wiki.adam-barratt.org.uk/gitweb/?a=commitdiff_plain;h=7b7c6df3b13a3cefc15089a18bc1adcc8f25706a;p=mirror%2Fdsa-nagios.git Use new bacula check --- diff --git a/config/nagios-master.cfg b/config/nagios-master.cfg index f05b767..60d514e 100644 --- a/config/nagios-master.cfg +++ b/config/nagios-master.cfg @@ -1400,18 +1400,10 @@ services: normal_check_interval: 60 max_check_attempts: 2 retry_check_interval: 5 - - - name: backup - bacula - servicegroups: backup - remotecheck: "sudo /usr/lib/nagios/plugins/dsa-check-bacula -H $HOSTNAME$" - runfrom: dinis - hostgroups: bacula-client - normal_check_interval: 60 - retry_check_interval: 15 - name: backup - bacula - last backup servicegroups: backup - remotecheck: "sudo /usr/lib/nagios/plugins/dsa-check-bacula-lastbackup-wrap any $HOSTNAME$" + remotecheck: "/usr/lib/nagios/plugins/dsa-check-bacula $HOSTNAME$" runfrom: dinis hostgroups: bacula-client normal_check_interval: 60 @@ -1419,7 +1411,7 @@ services: - name: backup - bacula - last full backup servicegroups: backup - remotecheck: "sudo /usr/lib/nagios/plugins/dsa-check-bacula-lastbackup-wrap full $HOSTNAME$" + remotecheck: "/usr/lib/nagios/plugins/dsa-check-bacula -w 840 -c 1560 $HOSTNAME$ F" runfrom: dinis hostgroups: bacula-client normal_check_interval: 60