summaryrefslogtreecommitdiff
path: root/provider_base
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2014-10-08 23:38:08 +0200
committervarac <varacanero@zeromail.org>2014-10-08 23:38:08 +0200
commit7b463790a4e6c207cc99a4db6cfea872b74d75b0 (patch)
tree721ff7fecfc710c0f750037d8fac663ee94869ca /provider_base
parent7bc79e68e5ca913d1d2843c48cde8f946feed09c (diff)
parent36a1332f5f6e43591a47b89ec505541f84381667 (diff)
Merge branch '5216_nagios_hostgroups' into develop
Diffstat (limited to 'provider_base')
-rw-r--r--provider_base/services/monitor.json1
1 files changed, 1 insertions, 0 deletions
diff --git a/provider_base/services/monitor.json b/provider_base/services/monitor.json
index c24724bf..56ca015b 100644
--- a/provider_base/services/monitor.json
+++ b/provider_base/services/monitor.json
@@ -1,6 +1,7 @@
{
"nagios": {
"nagiosadmin_pw": "= secret :nagios_admin_password",
+ "domains_internal": "= global.tags.field('domain.internal_suffix').compact.uniq",
"hosts": "= (self.environment == 'local' ? nodes_like_me : nodes[:environment => '!local']).pick_fields('domain.internal', 'domain.full_suffix', 'ip_address', 'services', 'openvpn.gateway_address', 'ssh.port')"
},
"hosts": "= self.environment == 'local' ? hosts_file(nodes_like_me) : hosts_file(nodes[:environment => '!local'])",