1
0
Fork 0
forked from infra/ansible

Nagios: Remove rdu-cc-gw

Signed-off-by: Greg Sutcliffe <fedora@emeraldreverie.org>
This commit is contained in:
Greg Sutcliffe 2026-06-03 16:02:51 +01:00
commit 8ef433c8f6
Signed by: gwmngilfen
SSH key fingerprint: SHA256:dNHcz65ApR68w2TkCIAXDBdt4oNL62Fyx48U7dXWuk0
4 changed files with 2 additions and 17 deletions

View file

@ -35,5 +35,5 @@ define hostgroup{
define hostgroup{
hostgroup_name routers
alias routers
members ibiblio-gw, dedicated-gw, host1plus-gw, internetx-gw, osuosl-gw, rdu-gw, rdu-cc-gw, rdu3-gw
members ibiblio-gw, dedicated-gw, host1plus-gw, internetx-gw, osuosl-gw, rdu-gw, rdu3-gw
}

View file

@ -40,7 +40,7 @@ define hostgroup{
define hostgroup{
hostgroup_name routers
alias routers
members ibiblio-gw, dedicated-gw, host1plus-gw, internetx-gw, osuosl-gw, rdu-gw, rdu-cc-gw, rdu3-gw
members ibiblio-gw, dedicated-gw, host1plus-gw, internetx-gw, osuosl-gw, rdu-gw, rdu3-gw
}

View file

@ -106,18 +106,5 @@ define host {
}
#'rdu-cc'
define host {
host_name rdu-cc-gw
alias rdu community cage gateway
use mincheck
check_command check-host-alive4
address 8.43.85.254
{% if vars['nagios_location'] == 'rdu3_internal' %}
parents rdu3-gw
{% elif vars['nagios_location'] == 'external' %}
parents ibiblio-gw
{% endif %}
}

View file

@ -24,8 +24,6 @@ define host {
{% endif %}
{% if hostvars[host]['vmhost'] is defined %}
parents {{ hostvars[host]['vmhost'] }}
{% elif hostvars[host].datacenter is defined %}
parents rdu-cc-gw
{% endif %}
}
{% endif %}