nagios_server: actually define the address for iad2_gw
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
9770bae604
commit
93b8e0c893
1 changed files with 3 additions and 1 deletions
|
@ -121,7 +121,9 @@ define host {
|
||||||
alias iad2 cage gateway
|
alias iad2 cage gateway
|
||||||
use mincheck
|
use mincheck
|
||||||
check_command check-host-alive4
|
check_command check-host-alive4
|
||||||
{% if vars['nagios_location'] == 'external' %}
|
{% if vars['nagios_location'] == 'iad2_internal' %}
|
||||||
|
address 10.3.163.254
|
||||||
|
{% elif vars['nagios_location'] == 'external' %}
|
||||||
address 66.187.228.248
|
address 66.187.228.248
|
||||||
parents ibiblio-gw
|
parents ibiblio-gw
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue