nagios_server: Adjust ns01/02 to try and work with nagios external

Also adjust gateway group as ibiblio-gw can't be it's own parent.
Also setup vpn hosts also on external as it needs the hostgroup.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2020-06-30 17:55:12 -07:00
parent 2290817ace
commit 90c28879f9
3 changed files with 3 additions and 3 deletions

View file

@ -393,8 +393,8 @@ ns05.fedoraproject.org
ns13.rdu2.fedoraproject.org ns13.rdu2.fedoraproject.org
[dns_external] [dns_external]
ns01.iad2.fedoraproject.org ns-iad01.iad2.fedoraproject.org
ns02.iad2.fedoraproject.org ns-iad02.iad2.fedoraproject.org
ns02.fedoraproject.org ns02.fedoraproject.org
ns05.fedoraproject.org ns05.fedoraproject.org

View file

@ -467,6 +467,7 @@
template: src=nagios/hostgroups/{{item}}.j2 dest=/etc/nagios/hostgroups/{{item}} mode=0644 owner=root group=root template: src=nagios/hostgroups/{{item}}.j2 dest=/etc/nagios/hostgroups/{{item}} mode=0644 owner=root group=root
with_items: with_items:
- all-external.cfg - all-external.cfg
- vpnclients.cfg
when: nagios_location == "external" when: nagios_location == "external"
tags: tags:
- nagios_server - nagios_server

View file

@ -13,7 +13,6 @@ define host {
parents iad2-gw parents iad2-gw
{% elif vars['nagios_location'] == 'external' %} {% elif vars['nagios_location'] == 'external' %}
address 66.187.228.248 address 66.187.228.248
parents ibiblio-gw
{% endif %} {% endif %}
} }