summaryrefslogtreecommitdiff
path: root/puppet/modules/site_check_mk/templates/use_ssh.mk
diff options
context:
space:
mode:
Diffstat (limited to 'puppet/modules/site_check_mk/templates/use_ssh.mk')
-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 ),
+]
+