diff --git a/roles/nagios_server/templates/nagios/hosts/phx2-external.cfg.j2 b/roles/nagios_server/templates/nagios/hosts/phx2-external.cfg.j2 index 26cae60da0..9e711cedb4 100644 --- a/roles/nagios_server/templates/nagios/hosts/phx2-external.cfg.j2 +++ b/roles/nagios_server/templates/nagios/hosts/phx2-external.cfg.j2 @@ -1,4 +1,4 @@ -{% for host in vars["phx2_external"] and hostvars[host].nagios_Check_Services['ping'] == true %} +{% for host in vars["phx2_external"] %} define host { host_name {{ host }} alias {{ host }}