summaryrefslogtreecommitdiff
path: root/templates/defaultclient.erb
diff options
context:
space:
mode:
authordavid <david@f03ff2f1-f02d-0410-970d-b9634babeaa1>2007-08-07 11:43:21 +0000
committerdavid <david@f03ff2f1-f02d-0410-970d-b9634babeaa1>2007-08-07 11:43:21 +0000
commit0e61c02b2b7a460f26867f91051660fe6124517d (patch)
treeb9524385cbca06c985467012588b1e2c7eb7f546 /templates/defaultclient.erb
parent51e43cf0233e87ca2e473a85397795cbcd1b1052 (diff)
commit second half of wrong commit of r176
git-svn-id: http://club.black.co.at:82/svn/manifests/trunk@177 f03ff2f1-f02d-0410-970d-b9634babeaa1
Diffstat (limited to 'templates/defaultclient.erb')
-rw-r--r--templates/defaultclient.erb14
1 files changed, 14 insertions, 0 deletions
diff --git a/templates/defaultclient.erb b/templates/defaultclient.erb
new file mode 100644
index 0000000..063eafc
--- /dev/null
+++ b/templates/defaultclient.erb
@@ -0,0 +1,14 @@
+<%
+ # Downcase all information
+ dom = domain.downcase
+ host = hostname.downcase
+ fhost = fqdn.downcase
+ ip = Facter['ip']
+%>
+### This syntax can be extended, it might get better ...
+#+<%= dom %>
+#-<%= host %>=<%= fhost %>:load.load
+[<%= fhost %>] # linux box
+ address <%= munin_host_real %>
+ port <%= munin_port_real %>
+ use_node_name yes