From 93b8e0c893aff9f7cbdd1090615ac5d6834ebc31 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Tue, 30 Jun 2020 16:25:11 -0700 Subject: [PATCH] nagios_server: actually define the address for iad2_gw Signed-off-by: Kevin Fenzi --- .../nagios_server/templates/nagios/hosts/gateway-hosts.cfg.j2 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/roles/nagios_server/templates/nagios/hosts/gateway-hosts.cfg.j2 b/roles/nagios_server/templates/nagios/hosts/gateway-hosts.cfg.j2 index b5694a50f2..95b0b60b70 100644 --- a/roles/nagios_server/templates/nagios/hosts/gateway-hosts.cfg.j2 +++ b/roles/nagios_server/templates/nagios/hosts/gateway-hosts.cfg.j2 @@ -121,7 +121,9 @@ define host { alias iad2 cage gateway use mincheck check_command check-host-alive4 -{% if vars['nagios_location'] == 'external' %} +{% if vars['nagios_location'] == 'iad2_internal' %} + address 10.3.163.254 +{% elif vars['nagios_location'] == 'external' %} address 66.187.228.248 parents ibiblio-gw {% endif %}