spamd has new syntax on jessie
authorMartin Zobel-Helas <zobel@debian.org>
Thu, 7 May 2015 11:32:52 +0000 (11:32 +0000)
committerMartin Zobel-Helas <zobel@debian.org>
Thu, 7 May 2015 11:33:35 +0000 (11:33 +0000)
Signed-off-by: Martin Zobel-Helas <zobel@debian.org>
config/nagios-master.cfg

index fc0714d..1903fe3 100644 (file)
@@ -2143,6 +2143,13 @@ services:
     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C spamd -a '/usr/sbin/spamd --create-prefs --max-children 5 --helper-home-dir -d --pidfile=/var/run/spamd.pid'"
     hostgroups: spamd
     excludehosts: picconi
+    excludehostgroups: jessie
+  -
+    name: process - spamd - master
+    nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C spamd -a '/usr/sbin/spamd -d --pidfile=/var/run/spamassassin.pid --create-prefs --max-children 5 --helper-home-dir'"
+    hostgroups: spamd
+    excludehosts: picconi
+    excludehostgroups: wheezy
   -
     name: process - spamd - master
     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C spamd -a '/usr/sbin/spamd --create-prefs --max-children 20 --min-spare=5 --helper-home-dir -d --pidfile=/var/run/spamd.pid'"