diff --git a/roles/nagios_server/templates/nagios/hosts/aws-hosts.cfg.j2 b/roles/nagios_server/templates/nagios/hosts/aws-hosts.cfg.j2 index 18cc54aff2..9b56238f0b 100644 --- a/roles/nagios_server/templates/nagios/hosts/aws-hosts.cfg.j2 +++ b/roles/nagios_server/templates/nagios/hosts/aws-hosts.cfg.j2 @@ -22,11 +22,6 @@ define host { {% else %} address {{ host }} {% endif %} -{% if hostvars[host]['vmhost'] is defined %} - parents {{ hostvars[host]['vmhost'] }} -{% elif hostvars[host].datacenter is defined %} - parents internetx-gw -{% endif %} } {% endif %} {% endfor %}