summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorKeith Burdis <keith@burdis.org>2013-02-07 10:47:37 +0000
committerKeith Burdis <keith@burdis.org>2013-02-07 10:47:37 +0000
commiteb88e7dfeef1939130394671568fba189f752c7e (patch)
tree9c734a21d31dccc28af6d3907e741df1f9c4f886 /templates
parent8b24ecee877dd531a5df67f0eed172a908bc759d (diff)
First working version of check_mk agent
Diffstat (limited to 'templates')
-rw-r--r--templates/agent/check_mk.erb14
1 files changed, 1 insertions, 13 deletions
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
}