summaryrefslogtreecommitdiff
path: root/provider_base/services/monitor.json
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2014-10-07 13:55:58 +0200
committervarac <varacanero@zeromail.org>2014-10-08 22:50:16 +0200
commit027c20e2b8f779086d1480048152fe06d044b216 (patch)
tree1c561a9629eb7d6b3298de3321b2da20d255a03a /provider_base/services/monitor.json
parent7bc79e68e5ca913d1d2843c48cde8f946feed09c (diff)
every environment is defined as nagios hostsgroup (#5216)
Change-Id: I6508ce0d06b37a1c5601a0e981a59f7fda47f76a
Diffstat (limited to 'provider_base/services/monitor.json')
-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'])",