From d4867a18d55477b16132255ac095f6199250af93 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Sat, 2 Sep 2017 17:53:19 +0200 Subject: [PATCH] use excludehostgroups instead of excludehosts --- config/nagios-master.cfg | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/config/nagios-master.cfg b/config/nagios-master.cfg index 7f43325..7c616f8 100644 --- a/config/nagios-master.cfg +++ b/config/nagios-master.cfg @@ -2360,38 +2360,38 @@ services: name: process - postfix - master nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C master -a '/usr/lib/postfix/master'" hostgroups: postfix-hosts - excludehosts: stretch + excludehostgroups: stretch - name: process - postfix - master nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C master -a '/usr/lib/postfix/master'" hostgroups: postfix-hosts - excludehosts: jessie + excludehostgroups: jessie - name: process - postfix - qmgr nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C qmgr -a 'qmgr -l -t fifo -u'" hostgroups: postfix-hosts depends: process - postfix - master - excludehosts: stretch + excludehostgroups: stretch - name: process - postfix - qmgr nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C qmgr -a 'qmgr -l -t unix -u'" hostgroups: postfix-hosts depends: process - postfix - master - excludehosts: jessie + excludehostgroups: jessie - name: process - postfix - pickup nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C pickup -a 'pickup -l -t fifo -u -c'" hostgroups: postfix-hosts depends: process - postfix - master - excludehosts: stretch + excludehostgroups: stretch - name: process - postfix - pickup nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C pickup -a 'pickup -l -t unix -u -c'" hostgroups: postfix-hosts depends: process - postfix - master - excludehosts: jessie + excludehostgroups: jessie - name: process - postfix - anvil -- 2.20.1