diff --git a/inventory/inventory b/inventory/inventory index 8a295e18a7..8327bbdd49 100644 --- a/inventory/inventory +++ b/inventory/inventory @@ -556,6 +556,11 @@ ns03.phx2.fedoraproject.org ns04.phx2.fedoraproject.org ns05.fedoraproject.org +[dns-external] +ns02.fedoraproject.org +ns04.phx2.fedoraproject.org +ns05.fedoraproject.org + [openqa] openqa01.qa.fedoraproject.org diff --git a/roles/nagios_server/templates/nagios/hostgroups/all-external.cfg.j2 b/roles/nagios_server/templates/nagios/hostgroups/all-external.cfg.j2 index 3c5710f31e..65c1c8794a 100644 --- a/roles/nagios_server/templates/nagios/hostgroups/all-external.cfg.j2 +++ b/roles/nagios_server/templates/nagios/hostgroups/all-external.cfg.j2 @@ -1,7 +1,7 @@ define hostgroup { hostgroup_name dnsservers alias DNS Servers - members {% for host in groups["dns"] %} {{ hostvars[host]["inventory_hostname_short"] }}.fedoraproject.org {% if not loop.last %}, {% endif %} {% endfor %} + members {% for host in groups["dns-external"] %} {{ hostvars[host]["inventory_hostname_short"] }}.fedoraproject.org {% if not loop.last %}, {% endif %} {% endfor %} }