summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2014-02-12 18:43:47 +0100
committervarac <varacanero@zeromail.org>2014-02-12 18:43:47 +0100
commit9431d1c9da024f98f5c6eb7cf2eff68b2e3a1926 (patch)
tree87c13b2439e85b9821cf1aa74dc2fb759c13e487
parent060124b047ac44f9f54573a389fea6c5b6ab18ea (diff)
include monitor node also into nagios hash so check-mk-agent can run on monitor host itself via ssh to localhost (requires latest leap_cli)
-rw-r--r--provider_base/services/monitor.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/provider_base/services/monitor.json b/provider_base/services/monitor.json
index 7ad0d637..82c18745 100644
--- a/provider_base/services/monitor.json
+++ b/provider_base/services/monitor.json
@@ -1,7 +1,7 @@
{
"nagios": {
"nagiosadmin_pw": "= secret :nagios_admin_password",
- "hosts": "= nodes_like_me[:services => '!monitor'].pick_fields('domain.internal', 'ip_address', 'services', 'openvpn.gateway_address')"
+ "hosts": "= nodes_like_me.pick_fields('domain.internal', 'ip_address', 'services', 'openvpn.gateway_address')"
},
"hosts": "= hosts_file(nodes_like_me)",
"ssh": {