From 2439481805151ab7cd33e668ae2b4efc931bb94a Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Wed, 10 Oct 2018 14:18:22 +0200 Subject: [PATCH] check if fail2ban is running where it should --- config/nagios-master.cfg | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/config/nagios-master.cfg b/config/nagios-master.cfg index a677482..9ca32f8 100644 --- a/config/nagios-master.cfg +++ b/config/nagios-master.cfg @@ -2062,6 +2062,15 @@ services: name: mail queue nrpe: "/usr/lib/nagios/plugins/check_mailq -M exim -w 1000 -c 2000" hostgroups: heavy-exim + - + name: process - fail2ban + nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -C fail2ban-server" + hostgroups: heavy-exim + - + name: unwanted process - fail2ban + nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C fail2ban-server" + hostgroups: computers + excludehostgroups: heavy-exim # }}} # {{{ clamav - -- 2.20.1