summaryrefslogtreecommitdiff
path: root/example/site_check_mk/files/use_ssh.mk
diff options
context:
space:
mode:
Diffstat (limited to 'example/site_check_mk/files/use_ssh.mk')
-rw-r--r--example/site_check_mk/files/use_ssh.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/example/site_check_mk/files/use_ssh.mk b/example/site_check_mk/files/use_ssh.mk
new file mode 100644
index 0000000..eee1129
--- /dev/null
+++ b/example/site_check_mk/files/use_ssh.mk
@@ -0,0 +1,4 @@
+# http://mathias-kettner.de/checkmk_datasource_programs.html
+datasource_programs = [
+ ( "ssh -l checkmk -i /etc/check_mk/keys/<HOST>_id_rsa -p 1234 <HOST> sudo /usr/bin/check_mk_agent", ['ssh'], ALL_HOSTS ),
+ ]