summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorMarcel Haerry <haerry@puzzle.ch>2009-04-15 12:00:48 +0200
committermh <mh@immerda.ch>2009-06-02 11:46:59 +0200
commit6465fd8dca9cf73c625109e1ea78fb53f2d56d50 (patch)
tree6753d0599708b0d7c2bbd9a7e04cf4dd8f80a5db /templates
parentcf52fd778bbd7c30ad445c4ff4b1014796b0804e (diff)
finally implemented snmp client
Diffstat (limited to 'templates')
-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 %>