summaryrefslogtreecommitdiff
path: root/templates/snmpclient.erb
diff options
context:
space:
mode:
Diffstat (limited to 'templates/snmpclient.erb')
-rw-r--r--templates/snmpclient.erb10
1 files changed, 10 insertions, 0 deletions
diff --git a/templates/snmpclient.erb b/templates/snmpclient.erb
new file mode 100644
index 0000000..44ecc6d
--- /dev/null
+++ b/templates/snmpclient.erb
@@ -0,0 +1,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 %>