From 7b7c6df3b13a3cefc15089a18bc1adcc8f25706a Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Sat, 23 Mar 2013 17:40:17 +0100 Subject: [PATCH] Use new bacula check --- config/nagios-master.cfg | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) 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 -- 2.20.1