From 75786fffb824d4fe6c78b0ae5f19685c6ce077cf Mon Sep 17 00:00:00 2001 From: Stephen Gran Date: Sat, 6 Mar 2010 12:40:44 +0000 Subject: [PATCH] nagios also wants to talk smtp Signed-off-by: Stephen Gran --- modules/ferm/templates/me.conf.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/ferm/templates/me.conf.erb b/modules/ferm/templates/me.conf.erb index 690dc369..8ed10846 100644 --- a/modules/ferm/templates/me.conf.erb +++ b/modules/ferm/templates/me.conf.erb @@ -47,7 +47,7 @@ def $SMTP_SOURCES =(<%= smtpallowed = [] if not nodeinfo['smarthost'].empty? - smtpallowed = [ '$HOST_MAILRELAY_V4' ] + smtpallowed = [ '$HOST_MAILRELAY_V4', '$HOST_NAGIOS_V4' ] end if smtpallowed.length == 0 @@ -62,7 +62,7 @@ def $SMTP_V6_SOURCES =(<%= smtpallowed = [] if not nodeinfo['smarthost'].empty? - smtpallowed = [ '$HOST_MAILRELAY_V6' ] + smtpallowed = [ '$HOST_MAILRELAY_V6', '$HOST_NAGIOS_V6' ] end if smtpallowed.length == 0 -- 2.39.2