summaryrefslogtreecommitdiff
path: root/puppet/modules/site_check_mk/templates
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2014-02-11 17:39:12 +0100
committervarac <varacanero@zeromail.org>2014-02-11 17:39:12 +0100
commit9a13819dbe7c8e8a51f802356e6fbebe32a7a11f (patch)
treef952a3ea592dfbf3cc8ec09e451b47cff5088735 /puppet/modules/site_check_mk/templates
parent27cd293b4ed3f3632044e914375a45a5345e8cee (diff)
use use_ssh.mk as template, include ssh port
Diffstat (limited to 'puppet/modules/site_check_mk/templates')
-rw-r--r--puppet/modules/site_check_mk/templates/use_ssh.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/puppet/modules/site_check_mk/templates/use_ssh.mk b/puppet/modules/site_check_mk/templates/use_ssh.mk
new file mode 100644
index 00000000..4c5523db
--- /dev/null
+++ b/puppet/modules/site_check_mk/templates/use_ssh.mk
@@ -0,0 +1,5 @@
+# http://mathias-kettner.de/checkmk_datasource_programs.html
+datasource_programs = [
+ ( "ssh -l root -i /etc/check_mk/.ssh/id_rsa -p <%= @ssh_port %> <HOST> check_mk_agent", ALL_HOSTS ),
+]
+