summaryrefslogtreecommitdiff
path: root/templates/snmpclient.erb
diff options
context:
space:
mode:
authorMarcel Haerry <haerry@puzzle.ch>2009-04-15 12:00:48 +0200
committerMarcel Haerry <haerry@puzzle.ch>2009-04-15 12:00:48 +0200
commitac4b2be1fac6ec7893a166fec0a065fb943c8e5f (patch)
tree225a9b98c9b041ac571abe31bf5a4590dcf939f6 /templates/snmpclient.erb
parent93be07edbcea844e2efe56191cda62bf44b6654c (diff)
finally implemented snmp client
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 %>