let dsa-check-bacula use sudo
authorMartin Zobel-Helas <zobel@debian.org>
Fri, 8 Feb 2013 16:21:19 +0000 (17:21 +0100)
committerMartin Zobel-Helas <zobel@debian.org>
Fri, 8 Feb 2013 16:21:19 +0000 (17:21 +0100)
Signed-off-by: Martin Zobel-Helas <zobel@debian.org>
config/nagios-master.cfg

index 959b16e..ba9e712 100644 (file)
@@ -1388,7 +1388,7 @@ services:
     retry_check_interval: 5
   -
     name: backup - bacula
-    remotecheck: "/usr/lib/nagios/plugins/dsa-check-bacula -H $HOSTNAME$"
+    remotecheck: "sudo /usr/lib/nagios/plugins/dsa-check-bacula -H $HOSTNAME$"
     runfrom: dinis
     hostgroups: bacula-client
  ####