Wait until puppet has pushed a new nrpe config, II
authorPeter Palfrader <peter@palfrader.org>
Tue, 16 Jul 2013 12:51:20 +0000 (14:51 +0200)
committerPeter Palfrader <peter@palfrader.org>
Tue, 16 Jul 2013 12:51:23 +0000 (14:51 +0200)
config/nagios-master.cfg

index 46a5c75..29f90ab 100644 (file)
@@ -1935,7 +1935,7 @@ services:
     name: setup - local hostname etc-hosts
     nrpe: 'if getent ahosts `hostname` | grep -q 127.0; then echo "Warning: local hostname resolves to 127/8 address"; exit 1; else echo "OK: Hostname resolves to non-127/8 address."; exit 1; fi'
     #hostgroups: computers
-    hostgroups: bm-bl7
+    hosts: bm-bl7
     excludehosts: wagner, vasks
     normal_check_interval: 60
   -