summaryrefslogtreecommitdiff
path: root/templates/defaultclient.erb
diff options
context:
space:
mode:
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