From 4cd47d03c68d8530dcbff37c5bc1cf6a8006d767 Mon Sep 17 00:00:00 2001 From: varac Date: Mon, 13 Jan 2014 10:55:25 +0100 Subject: updated readme.md about ssh authentication, added examples for debian in debian.md --- debian.md | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 debian.md (limited to 'debian.md') diff --git a/debian.md b/debian.md new file mode 100644 index 0000000..96d32a4 --- /dev/null +++ b/debian.md @@ -0,0 +1,35 @@ +Examples for using this check_mk repository on debian +===================================================== + +What it does +============ + +* ssh authentication is configured to allow the server to execute check_mk on the client +* omd is installed on the server +* check_mk is installed as package on the client + +On the client +============= + + class site_check_mk::client { + class { 'check_mk::agent': + agent_package_name => 'check-mk-agent', + agent_logwatch_package_name => 'check-mk-agent-logwatch', + use_ssh => true, + register_agent => false + } + } + + +On the server +============= + + include check_mk::omd_repo + class { 'check_mk': + package => 'omd', + omd_service_name => 'omd-1.00', + http_service_name => 'apache2', + omdadmin_htpasswd => trocla("${::fqdn}_omdadmin"), + use_ssh => true; + } + -- cgit v1.2.3