From 4f19efd8d7fa26f77d5ebbaee4b07838fac20da7 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Tue, 10 Aug 2010 17:38:39 +0200 Subject: [PATCH] nagios also gets to contact mail and munin on freebsd hosts --- modules/ferm/manifests/per-host.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/ferm/manifests/per-host.pp b/modules/ferm/manifests/per-host.pp index 603506e9..d515e37c 100644 --- a/modules/ferm/manifests/per-host.pp +++ b/modules/ferm/manifests/per-host.pp @@ -119,8 +119,8 @@ class ferm::per-host { chain => 'to-kfreebsd', rule => 'proto icmp ACCEPT; source ($FREEBSD_SSH_ACCESS $HOST_NAGIOS_V4) proto tcp dport 22 ACCEPT; - source ($HOST_MAILRELAY_V4) proto tcp dport 25 ACCEPT; - source ($HOST_MUNIN_V4) proto tcp dport 4949 ACCEPT; + source ($HOST_MAILRELAY_V4 $HOST_NAGIOS_V4) proto tcp dport 25 ACCEPT; + source ($HOST_MUNIN_V4 $HOST_NAGIOS_V4) proto tcp dport 4949 ACCEPT; source ($HOST_NAGIOS_V4) proto tcp dport 5666 ACCEPT; source ($HOST_NAGIOS_V4) proto udp dport ntp ACCEPT; ' -- 2.39.2