fold fedorainfracloud datacenter into cloud and default to not checking cloud instances
This commit is contained in:
parent
5e394177e2
commit
0f1b625a37
5 changed files with 5 additions and 5 deletions
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
datacenter: fedorainfracloud
|
||||
datacenter: cloud
|
||||
freezes: false
|
||||
|
||||
slaves:
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
datacenter: fedorainfracloud
|
||||
datacenter: cloud
|
||||
freezes: false
|
||||
|
||||
ansible_ifcfg_blacklist: true
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
---
|
||||
freezes: false
|
||||
datacenter: fedorainfracloud
|
||||
datacenter: cloud
|
||||
|
|
|
@ -13,7 +13,7 @@ hostbase: artboard
|
|||
public_ip: 209.132.184.61
|
||||
root_auth_users: duffy
|
||||
description: artboard server
|
||||
datacenter: fedorainfracloud
|
||||
datacenter: cloud
|
||||
|
||||
volumes:
|
||||
- volume_id: 44956766-0ecb-496d-8d3c-f43e89b7f268
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{% for host in groups['all'] %}
|
||||
{% if hostvars[host].datacenter == 'cloud' or hostvars[host].datacenter == 'fedorainfracloud' %}
|
||||
{% if hostvars[host].datacenter == 'cloud' and hostvars[host].nagios_Check_Services['nrpe'] == true %}
|
||||
define host {
|
||||
use mincheck
|
||||
host_name {{ host }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue