summaryrefslogtreecommitdiff
path: root/templates/snmpclient.erb
blob: 44ecc6d02cf7767c76321cc4b0724e1a5efcfff6 (plain)
1
2
3
4
5
6
7
8
9
10
<%
	# Downcase all information
	dom = domain.downcase
	host = hostname.downcase
	fhost = name.downcase
%>
### This syntax can be extended, it might get better ...
#<%= dom %> snmp -> <%= fhost %>
[<%= fhost %>] # snmp box 
	address <%= munin_host_real %>