Use new bacula check
authorPeter Palfrader <peter@palfrader.org>
Sat, 23 Mar 2013 16:40:17 +0000 (17:40 +0100)
committerPeter Palfrader <peter@palfrader.org>
Sat, 23 Mar 2013 16:40:17 +0000 (17:40 +0100)
config/nagios-master.cfg

index f05b767..60d514e 100644 (file)
@@ -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