make changes to allow for noc01.iad2 to see hosts. ( this is how you break^wfix nagios.. one config at a time)

This commit is contained in:
Stephen Smoogen 2020-06-09 10:54:33 -04:00
parent c61b0c3c96
commit 6057fec643
7 changed files with 2 additions and 47 deletions

View file

@ -11,7 +11,7 @@ ipa_server: ipa01.iad2.fedoraproject.org
# for now, lets not monitor any of them from phx2.
nagios_Can_Connect: false
nagios_Can_Connect: true
nagios_Check_Services:
mail: false

View file

@ -9,12 +9,3 @@ eth0_ip: 10.3.163.54
vmhost: vmhost-x86-02.iad2.fedoraproject.org
datacenter: iad2
nagios_Can_Connect: false
nagios_Check_Services:
mail: false
nrpe: false
sshd: false
swap: false
ping: false
raid: false

View file

@ -9,12 +9,3 @@ eth0_ip: 10.3.163.55
vmhost: vmhost-x86-03.iad2.fedoraproject.org
datacenter: iad2
nagios_Can_Connect: false
nagios_Check_Services:
mail: false
nrpe: false
sshd: false
swap: false
ping: false
raid: false

View file

@ -13,12 +13,3 @@ ks_repo: http://209.132.181.6/repo/rhel/RHEL8-x86_64/
vmhost: vmhost-x86-01.iad2.fedoraproject.org
datacenter: iad2
nagios_Can_Connect: false
nagios_Check_Services:
mail: false
nrpe: false
sshd: false
swap: false
ping: false
raid: false

View file

@ -13,12 +13,3 @@ ks_repo: http://209.132.181.6/repo/rhel/RHEL8-x86_64/
vmhost: vmhost-x86-02.iad2.fedoraproject.org
datacenter: iad2
nagios_Can_Connect: false
nagios_Check_Services:
mail: false
nrpe: false
sshd: false
swap: false
ping: false
raid: false

View file

@ -16,12 +16,3 @@ ks_repo: http://209.132.181.6/repo/rhel/RHEL7-x86_64/
# install special cron jobs here.
master_sundries_node: True
nagios_Can_Connect: false
nagios_Check_Services:
mail: false
nrpe: false
sshd: false
swap: false
ping: false
raid: false

View file

@ -3,6 +3,6 @@
define hostgroup {
hostgroup_name vpnclients
alias vpnclients
members !bastion02.phx2.fedoraproject.org, {% for host in groups['all']|sort %}{% if ( hostvars[host].vpn == true ) and ( hostvars[host].nagios_Can_Connect == true ) %}{{host}},{% endif %} {% endfor %}
members !bastion02.iad2.fedoraproject.org, {% for host in groups['all']|sort %}{% if ( hostvars[host].vpn == true ) and ( hostvars[host].nagios_Can_Connect == true ) %}{{host}},{% endif %} {% endfor %}
}