diff options
author | elijah <elijah@riseup.net> | 2014-02-07 00:01:42 -0800 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2014-02-07 00:01:42 -0800 |
commit | b9fa9cfc83d552faafe41ebba183fb06f45f6ca5 (patch) | |
tree | 3ba284dd50ca064047a8b1f1fa3ff91e3db8f474 /provider_base/services | |
parent | b14ceb03bf9bfc77f43f1848400c868a2ab2208f (diff) |
monitor nodes get all nodes listed in /etc/hosts
Diffstat (limited to 'provider_base/services')
-rw-r--r-- | provider_base/services/monitor.json | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/provider_base/services/monitor.json b/provider_base/services/monitor.json index b6886603..cf117869 100644 --- a/provider_base/services/monitor.json +++ b/provider_base/services/monitor.json @@ -3,6 +3,7 @@ "nagiosadmin_pw": "= secret :nagios_admin_password", "hosts": "= nodes_like_me.pick_fields('domain.internal', 'ip_address', 'services', 'openvpn.gateway_address')" }, + "hosts": "= hosts_file(nodes_like_me[:services => '!monitor'])", "ssh": { "monitor": { "username": "= Leap::Platform.monitor_username", |