diff options
author | varac <varacanero@zeromail.org> | 2014-02-12 17:01:00 +0100 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2014-02-12 17:01:16 +0100 |
commit | 7bfc884008d26cc7dca3b10e0aeef9073f55e5d3 (patch) | |
tree | 6e4d7130e0fa1654315fb1950be6822da8fdcb97 | |
parent | 6d1a379f59612b79ddfbc10cac79cb5dfdafae58 (diff) |
include monitor node into hosts 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.json | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/provider_base/services/monitor.json b/provider_base/services/monitor.json index 5656fe80..7ad0d637 100644 --- a/provider_base/services/monitor.json +++ b/provider_base/services/monitor.json @@ -3,7 +3,7 @@ "nagiosadmin_pw": "= secret :nagios_admin_password", "hosts": "= nodes_like_me[:services => '!monitor'].pick_fields('domain.internal', 'ip_address', 'services', 'openvpn.gateway_address')" }, - "hosts": "= hosts_file(nodes_like_me[:services => '!monitor'])", + "hosts": "= hosts_file(nodes_like_me)", "ssh": { "monitor": { "username": "= Leap::Platform.monitor_username", |