two more bacula checks
authorPeter Palfrader <peter@palfrader.org>
Tue, 19 Mar 2013 11:48:10 +0000 (12:48 +0100)
committerPeter Palfrader <peter@palfrader.org>
Tue, 19 Mar 2013 11:48:10 +0000 (12:48 +0100)
config/nagios-master.cfg

index 0c82958..8042e8c 100644 (file)
@@ -1401,6 +1401,16 @@ services:
     remotecheck: "sudo /usr/lib/nagios/plugins/dsa-check-bacula -H $HOSTNAME$"
     runfrom: dinis
     hostgroups: bacula-client
+  -
+    name: backup - bacula - last backup
+    remotecheck: "sudo /usr/lib/nagios/plugins/dsa-check-bacula-lastbackup-wrap any $HOSTNAME$"
+    runfrom: dinis
+    hostgroups: bacula-client
+  -
+    name: backup - bacula - last full backup
+    remotecheck: "sudo /usr/lib/nagios/plugins/dsa-check-bacula-lastbackup-wrap full $HOSTNAME$"
+    runfrom: dinis
+    hostgroups: bacula-client
   -
     name: process - bacula-fd
     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C bacula-fd -a '/usr/sbin/bacula-fd -c /etc/bacula/bacula-fd.conf'"