summaryrefslogtreecommitdiff
path: root/templates/defaultclient.erb
blob: 063eafcc6b714e3c8c35c5e65cc0123a035cc62c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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