forked from infra/ansible
Nagios: Remove rdu-cc-gw
Signed-off-by: Greg Sutcliffe <fedora@emeraldreverie.org>
This commit is contained in:
parent
7d0db42137
commit
8ef433c8f6
4 changed files with 2 additions and 17 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -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 %}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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 %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue