Fix nrpe process check for stretch
authorJulien Cristau <jcristau@debian.org>
Sun, 29 Jan 2017 13:40:53 +0000 (14:40 +0100)
committerJulien Cristau <jcristau@debian.org>
Sun, 29 Jan 2017 13:40:53 +0000 (14:40 +0100)
config/nagios-master.cfg

index e9fca3f..c026537 100644 (file)
@@ -1824,6 +1824,13 @@ services:
     name: process - nrpe
     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:25 -c 1: -u nagios -C nrpe -a '/usr/sbin/nrpe -c /etc/nagios/nrpe.cfg -d'"
     hostgroups: computers
+    excludehostgroups: stretch
+    max_check_attempts: -1
+    depends: network service - nrpe
+  -
+    name: process - nrpe
+    nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:25 -c 1: -u nagios -C nrpe -a '/usr/sbin/nrpe -c /etc/nagios/nrpe.cfg -f'"
+    hostgroups: stretch
     max_check_attempts: -1
     depends: network service - nrpe
   ###