From eb88e7dfeef1939130394671568fba189f752c7e Mon Sep 17 00:00:00 2001 From: Keith Burdis Date: Thu, 7 Feb 2013 10:47:37 +0000 Subject: First working version of check_mk agent --- templates/agent/check_mk.erb | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) (limited to 'templates') diff --git a/templates/agent/check_mk.erb b/templates/agent/check_mk.erb index 7643292..ef008f7 100644 --- a/templates/agent/check_mk.erb +++ b/templates/agent/check_mk.erb @@ -30,22 +30,10 @@ service check_mk protocol = tcp wait = no user = <%= @user %> -<% if @use_cache -%> - # If you use fully redundant monitoring and poll the client - # from more then one monitoring servers in parallel you might - # want to use the agent cache wrapper: -<% end -%> server = <%= @server %> - -<% if @only_from %> - # configure the IP address(es) of your Nagios server here: +<% if @only_from -%> only_from = <%= @only_from %> <% end -%> - - # Don't be too verbose. Don't log every check. This might be - # commented out for debugging. If this option is commented out - # the default options will be used for this service. log_on_success = - disable = no } -- cgit v1.2.3