rsync depends on xinetd which runs on the main host
authorPeter Palfrader <peter@palfrader.org>
Tue, 22 Dec 2015 06:54:17 +0000 (07:54 +0100)
committerPeter Palfrader <peter@palfrader.org>
Tue, 22 Dec 2015 06:54:17 +0000 (07:54 +0100)
config/nagios-master.cfg

index 3e61db4..32eef97 100644 (file)
@@ -648,7 +648,7 @@ servers:
   mirror-isc2:
     address: 149.20.20.19
     parents: mirror-isc
-    hostgroups: secondary-IPs, rsyncd-hosts
+    hostgroups: secondary-IPs
   mirror-isc3:
     address: 149.20.20.19
     parents: mirror-isc
@@ -656,7 +656,7 @@ servers:
   mirror-isc-syncproxy:
     address: 149.20.20.21
     parents: mirror-isc
-    hostgroups: secondary-IPs, rsyncd-hosts
+    hostgroups: secondary-IPs
   # }}}
   # {{{ gw-leaseweb
   lw01:
@@ -2750,6 +2750,16 @@ services:
     check: check_tcp!873
     hosts: milanollo2
     depends: milanollo:process - xinetd
+  -
+    name: network service - rsync
+    check: check_tcp!873
+    hosts: mirror-isc2
+    depends: mirror-isc:process - xinetd
+  -
+    name: network service - rsync
+    check: check_tcp!873
+    hosts: mirror-isc-syncproxy
+    depends: mirror-isc:process - xinetd
   ###
   -
     name: process - icinga