summaryrefslogtreecommitdiff
path: root/puppet/modules/site_check_mk
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2014-02-07 15:41:09 +0100
committervarac <varacanero@zeromail.org>2014-02-07 15:41:09 +0100
commitf544b5d5fa6d7ad941332bbc787fc97e78a658b6 (patch)
treec22580b388a6385cc8044441327d7c55d651ad63 /puppet/modules/site_check_mk
parentcc6c7e10d84aec82fb37529e943799376ac57eda (diff)
added custom $datasource_programs check_mk variable to call the agent via ssh
Diffstat (limited to 'puppet/modules/site_check_mk')
-rw-r--r--puppet/modules/site_check_mk/files/use_ssh.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/puppet/modules/site_check_mk/files/use_ssh.mk b/puppet/modules/site_check_mk/files/use_ssh.mk
new file mode 100644
index 00000000..dbdcd4b5
--- /dev/null
+++ b/puppet/modules/site_check_mk/files/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 <IP> check_mk_agent", ALL_HOSTS ),
+]
+