diff --git a/inventory/host_vars/noc01.stg.phx2.fedoraproject.org b/inventory/host_vars/noc01.stg.phx2.fedoraproject.org index 7d297c9a43..52389e115c 100644 --- a/inventory/host_vars/noc01.stg.phx2.fedoraproject.org +++ b/inventory/host_vars/noc01.stg.phx2.fedoraproject.org @@ -33,21 +33,14 @@ csi_relationship: | - if this host is down, dhcp/bootp leases/renew will fail. pxe booting will fail as well phx2_management_hosts: - - apc-rack16-a.mgmt.fedoraproject.org - - apc-rack16-b.mgmt.fedoraproject.org - - atomic01.mgmt.fedoraproject.org - autocloud-backend-libvirt.mgmt.fedoraproject.org - autocloud-backend-vbox.mgmt.fedoraproject.org - autosign01.mgmt.fedoraproject.org - backup01.mgmt.fedoraproject.org - - bc02.mgmt.fedoraproject.org - beaker-client01.mgmt.fedoraproject.org - beaker-client02.mgmt.fedoraproject.org - - bkernel01.mgmt.fedoraproject.org - - bkernel02.mgmt.fedoraproject.org - bvirthost01.mgmt.fedoraproject.org - cloud-eql02.mgmt.fedoraproject.org - - cockpit-test.mgmt.fedoraproject.org - cosmos01.mgmt.fedoraproject.org - data-analysis01.mgmt.fedoraproject.org - dell-fx01.mgmt.fedoraproject.org @@ -73,8 +66,6 @@ phx2_management_hosts: - download03.mgmt.fedoraproject.org - download04.mgmt.fedoraproject.org - download05.mgmt.fedoraproject.org - - fed-cloud-ppc01.mgmt.fedoraproject.org - - fed-cloud-ppc02.mgmt.fedoraproject.org - fed-cloud01.mgmt.fedoraproject.org - fed-cloud02.mgmt.fedoraproject.org - fed-cloud03.mgmt.fedoraproject.org @@ -90,31 +81,8 @@ phx2_management_hosts: - fed-cloud13.mgmt.fedoraproject.org - fed-cloud14.mgmt.fedoraproject.org - fed-cloud15.mgmt.fedoraproject.org - - junk01.mgmt.fedoraproject.org - - junk02.mgmt.fedoraproject.org - kvm01.mgmt.fedoraproject.org - - moonshot01-ilo.mgmt.fedoraproject.org - - moonshot01-sw1.mgmt.fedoraproject.org - - moonshot01-sw2.mgmt.fedoraproject.org - oldbox01.mgmt.fedoraproject.org - - opengear01.mgmt.fedoraproject.org - - opengear02.mgmt.fedoraproject.org - - opengear03.mgmt.fedoraproject.org - - opengear04.mgmt.fedoraproject.org - - ppc-build01.mgmt.fedoraproject.org - - ppc-comm03.mgmt.fedoraproject.org - - ppc8-01-fsp.mgmt.fedoraproject.org - - ppc8-02-fsp.mgmt.fedoraproject.org - - ppc8-03-fsp.mgmt.fedoraproject.org - - ppc8-04-fsp.mgmt.fedoraproject.org - - qa01.mgmt.fedoraproject.org - - qa02.mgmt.fedoraproject.org - - qa03.mgmt.fedoraproject.org - - qa04.mgmt.fedoraproject.org - - qa05.mgmt.fedoraproject.org - - qa06.mgmt.fedoraproject.org - - qa07.mgmt.fedoraproject.org - - qa08.mgmt.fedoraproject.org - qa09.mgmt.fedoraproject.org - qa10.mgmt.fedoraproject.org - qa11.mgmt.fedoraproject.org @@ -127,30 +95,16 @@ phx2_management_hosts: - rack17-pdu-b.mgmt.fedoraproject.org - rack46-pdu-a.mgmt.fedoraproject.org - rack46-pdu-b.mgmt.fedoraproject.org - - rack46-serial.mgmt.fedoraproject.org - rack47-pdu-a.mgmt.fedoraproject.org - - rack47-pdu-b.mgmt.fedoraproject.org - rack47-serial.mgmt.fedoraproject.org - rack48-pdu-a.mgmt.fedoraproject.org - - rack48-pdu-b.mgmt.fedoraproject.org - rack48-serial.mgmt.fedoraproject.org - - rack49-serial.mgmt.fedoraproject.org - - rack50-kvm.mgmt.fedoraproject.org - rack50-serial.mgmt.fedoraproject.org - - rack51-bc02-sw1.mgmt.fedoraproject.org - - rack51-bc02-sw2.mgmt.fedoraproject.org - rack51-serial.mgmt.fedoraproject.org - rack52-serial.mgmt.fedoraproject.org - - rack53-serial.mgmt.fedoraproject.org - retrace01.mgmt.fedoraproject.org - retrace02.mgmt.fedoraproject.org - - retrace04.mgmt.fedoraproject.org - - sign-vault03.mgmt.fedoraproject.org - - sign-vault04.mgmt.fedoraproject.org - - tape02.mgmt.fedoraproject.org - vhcloud01.mgmt.fedoraproject.org - - virthost-comm01.mgmt.fedoraproject.org - - virthost-comm02.mgmt.fedoraproject.org - virthost-comm03.mgmt.fedoraproject.org - virthost-comm04.mgmt.fedoraproject.org - virthost01.mgmt.fedoraproject.org @@ -163,8 +117,6 @@ phx2_management_hosts: - virthost09.mgmt.fedoraproject.org - virthost10.mgmt.fedoraproject.org - virthost11.mgmt.fedoraproject.org - - virthost12.mgmt.fedoraproject.org - - virthost14.mgmt.fedoraproject.org - virthost15.mgmt.fedoraproject.org - virthost16.mgmt.fedoraproject.org - virthost17.mgmt.fedoraproject.org @@ -173,5 +125,34 @@ phx2_management_hosts: - virthost20.mgmt.fedoraproject.org - virthost21.mgmt.fedoraproject.org - virthost22.mgmt.fedoraproject.org +# - ppc8-04-fsp.mgmt.fedoraproject.org +# - rack47-pdu-b.mgmt.fedoraproject.org +# - rack48-pdu-b.mgmt.fedoraproject.org +phx2_management_limited: + - bkernel01.mgmt.fedoraproject.org + - bkernel02.mgmt.fedoraproject.org + - fed-cloud-ppc01.mgmt.fedoraproject.org + - fed-cloud-ppc02.mgmt.fedoraproject.org + - moonshot01-ilo.mgmt.fedoraproject.org + - moonshot01-sw1.mgmt.fedoraproject.org + - moonshot01-sw2.mgmt.fedoraproject.org + - opengear01.mgmt.fedoraproject.org + - opengear02.mgmt.fedoraproject.org + - ppc8-01-fsp.mgmt.fedoraproject.org + - ppc8-02-fsp.mgmt.fedoraproject.org + - ppc8-03-fsp.mgmt.fedoraproject.org + - qa01.mgmt.fedoraproject.org + - qa02.mgmt.fedoraproject.org + - qa03.mgmt.fedoraproject.org + - qa04.mgmt.fedoraproject.org + - qa05.mgmt.fedoraproject.org + - qa06.mgmt.fedoraproject.org + - qa07.mgmt.fedoraproject.org + - qa08.mgmt.fedoraproject.org + - sign-vault03.mgmt.fedoraproject.org + - sign-vault04.mgmt.fedoraproject.org + - virthost-comm02.mgmt.fedoraproject.org + - virthost12.mgmt.fedoraproject.org + - virthost14.mgmt.fedoraproject.org diff --git a/roles/nagios_server/templates/nagios/hosts/phx2-mgmt-hosts.cfg.j2 b/roles/nagios_server/templates/nagios/hosts/phx2-mgmt-hosts.cfg.j2 index 3abbe021d6..af5e6a90c0 100644 --- a/roles/nagios_server/templates/nagios/hosts/phx2-mgmt-hosts.cfg.j2 +++ b/roles/nagios_server/templates/nagios/hosts/phx2-mgmt-hosts.cfg.j2 @@ -8,3 +8,16 @@ define host { } {% endfor %} +## +## These hosts may have limited ssh/http/https + +{% for host in vars['phx2_management_limited'] %} +define host { + host_name {{ host }} + alias {{ host }} + use mincheck + address {{ host }} + parents phx2-gw +} +{% endfor %} +