summaryrefslogtreecommitdiff
path: root/puppet/modules/site_check_mk
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2016-06-17 09:23:47 +0200
committervarac <varacanero@zeromail.org>2016-06-17 09:23:47 +0200
commitc97e6bc17aceee86b561a15c6055c582e6401d8c (patch)
tree3f9557b05e915023b22d8205fa77a09b105bc8d2 /puppet/modules/site_check_mk
parentcb96aa6eaf9dfd0c018d9f0397134c80e6c57b3c (diff)
parent7becc465d726a1dbc1733db5c02c343cdac53d15 (diff)
Merge tag '0.8.1'
Tagging 0.8.1
Diffstat (limited to 'puppet/modules/site_check_mk')
-rw-r--r--puppet/modules/site_check_mk/templates/use_ssh.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/puppet/modules/site_check_mk/templates/use_ssh.mk b/puppet/modules/site_check_mk/templates/use_ssh.mk
index 55269536..25f951e0 100644
--- a/puppet/modules/site_check_mk/templates/use_ssh.mk
+++ b/puppet/modules/site_check_mk/templates/use_ssh.mk
@@ -1,6 +1,6 @@
# http://mathias-kettner.de/checkmk_datasource_programs.html
datasource_programs = [
<% @nagios_hosts.sort.each do |name,config| %>
- ( "ssh -l root -i /etc/check_mk/.ssh/id_rsa -p <%=config['ssh_port']%> <%=config['domain_internal']%> check_mk_agent", [ "<%=config['domain_internal']%>" ], ),<%- end -%>
+ ( "ssh -o ConnectTimeout=5 -l root -i /etc/check_mk/.ssh/id_rsa -p <%=config['ssh_port']%> <%=config['domain_internal']%> check_mk_agent", [ "<%=config['domain_internal']%>" ], ),<%- end -%>
]