remove tummy01 everywhere
Signed-off-by: Rick Elrod <relrod@redhat.com>
This commit is contained in:
parent
dd7ded3ca5
commit
8a4ed2358a
8 changed files with 3 additions and 76 deletions
|
@ -1,11 +0,0 @@
|
||||||
---
|
|
||||||
nrpe_procs_warn: 900
|
|
||||||
nrpe_procs_crit: 1000
|
|
||||||
datacenter: tummy
|
|
||||||
nm: 255.255.255.240
|
|
||||||
gw: 66.35.62.174
|
|
||||||
dns: 198.49.126.1
|
|
||||||
postfix_group: vpn
|
|
||||||
br0_ip: 66.35.62.161
|
|
||||||
br0_nm: 255.255.255.248
|
|
||||||
vpn: true
|
|
|
@ -1,12 +0,0 @@
|
||||||
---
|
|
||||||
nm: 255.255.255.240
|
|
||||||
gw: 66.35.62.174
|
|
||||||
dns: 198.49.126.1 66.35.36.133
|
|
||||||
ks_url: http://infrastructure.fedoraproject.org/repo/rhel/ks/kvm-rhel-7
|
|
||||||
ks_repo: http://infrastructure.fedoraproject.org/repo/rhel/RHEL7-x86_64/
|
|
||||||
volgroup: /dev/vg_host
|
|
||||||
eth0_ip: 66.35.62.163
|
|
||||||
eth0_nm: 255.255.255.248
|
|
||||||
vmhost: tummy01.fedoraproject.org
|
|
||||||
datacenter: tummy
|
|
||||||
vpn: true
|
|
|
@ -140,7 +140,6 @@ ibiblio05.fedoraproject.org
|
||||||
internetx01.fedoraproject.org
|
internetx01.fedoraproject.org
|
||||||
osuosl01.fedoraproject.org
|
osuosl01.fedoraproject.org
|
||||||
osuosl02.fedoraproject.org
|
osuosl02.fedoraproject.org
|
||||||
tummy01.fedoraproject.org
|
|
||||||
virthost-rdu01.fedoraproject.org
|
virthost-rdu01.fedoraproject.org
|
||||||
virthost-rdu02.fedoraproject.org
|
virthost-rdu02.fedoraproject.org
|
||||||
virthost-cc-rdu01.fedoraproject.org
|
virthost-cc-rdu01.fedoraproject.org
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
LoadPlugin ping
|
LoadPlugin ping
|
||||||
|
|
||||||
<Plugin "ping">
|
<Plugin "ping">
|
||||||
Host "tummy01.fedoraproject.org"
|
Host "virthost-cc-rdu01.fedoraproject.org"
|
||||||
|
Host "virthost-cc-rdu02.fedoraproject.org"
|
||||||
Host "osuosl01.fedoraproject.org"
|
Host "osuosl01.fedoraproject.org"
|
||||||
Host "ibiblio01.fedoraproject.org"
|
Host "ibiblio01.fedoraproject.org"
|
||||||
Host "ibiblio02.fedoraproject.org"
|
Host "ibiblio02.fedoraproject.org"
|
||||||
|
|
|
@ -358,7 +358,6 @@
|
||||||
- other.cfg
|
- other.cfg
|
||||||
- rdu-cc-hosts.cfg
|
- rdu-cc-hosts.cfg
|
||||||
- rdu-hosts.cfg
|
- rdu-hosts.cfg
|
||||||
- tummy-hosts.cfg
|
|
||||||
when: env == "production"
|
when: env == "production"
|
||||||
tags:
|
tags:
|
||||||
- nagios_server
|
- nagios_server
|
||||||
|
|
|
@ -24,7 +24,7 @@ define hostgroup{
|
||||||
define hostgroup{
|
define hostgroup{
|
||||||
hostgroup_name routers
|
hostgroup_name routers
|
||||||
alias routers
|
alias routers
|
||||||
members phx2-gw, ibiblio-gw, cloud-gw, coloamer-gw, dedicated-gw, host1plus-gw, internetx-gw, osuosl-gw, rdu-gw, rdu-cc-gw, tummy-gw
|
members phx2-gw, ibiblio-gw, cloud-gw, coloamer-gw, dedicated-gw, host1plus-gw, internetx-gw, osuosl-gw, rdu-gw, rdu-cc-gw
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -147,20 +147,3 @@ define host {
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#'tummy'
|
|
||||||
define host {
|
|
||||||
host_name tummy-gw
|
|
||||||
alias tummy gateway
|
|
||||||
use mincheck
|
|
||||||
check_command check-host-alive4
|
|
||||||
address 66.35.62.174
|
|
||||||
{% if vars['nagios_location'] == 'internal' %}
|
|
||||||
parents phx2-gw
|
|
||||||
{% else %}
|
|
||||||
parents ibiblio-gw
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,32 +0,0 @@
|
||||||
{% for host in groups['all']|sort %}
|
|
||||||
{% if hostvars[host].datacenter == 'tummy' and hostvars[host].nagios_Check_Services['ping'] == true %}
|
|
||||||
define host {
|
|
||||||
{% if vars['nagios_location'] == 'internal' %}
|
|
||||||
use defaulttemplate
|
|
||||||
{% else %}
|
|
||||||
use mincheck
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
host_name {{ host }}
|
|
||||||
{% if hostvars[host].ansible_hostname is defined %}
|
|
||||||
alias {{ hostvars[host].ansible_hostname }}
|
|
||||||
{% else %}
|
|
||||||
alias {{ host }}
|
|
||||||
{% endif %}
|
|
||||||
{% if hostvars[host].eth0_ip is defined %}
|
|
||||||
address {{ hostvars[host].eth0_ip }}
|
|
||||||
{% elif hostvars[host].ansible_default_ipv4 is defined %}
|
|
||||||
{% if hostvars[host].ansible_default_ipv4.address is defined %}
|
|
||||||
address {{ hostvars[host].ansible_default_ipv4.address }}
|
|
||||||
{% endif %}
|
|
||||||
{% else %}
|
|
||||||
address {{ host }}
|
|
||||||
{% endif %}
|
|
||||||
{% if hostvars[host]['vmhost'] is defined %}
|
|
||||||
parents {{ hostvars[host]['vmhost'] }}
|
|
||||||
{% elif hostvars[host].datacenter is defined %}
|
|
||||||
parents tummy-gw
|
|
||||||
{% endif %}
|
|
||||||
}
|
|
||||||
{% endif %}
|
|
||||||
{% endfor %}
|
|
Loading…
Add table
Add a link
Reference in a new issue