Code

share/collection.conf: Add interface graphs.
authorFlorian Forster <ff@octo.it>
Mon, 21 Jun 2010 16:53:45 +0000 (18:53 +0200)
committerFlorian Forster <octo@leeloo.lan.home.verplant.org>
Mon, 21 Jun 2010 16:53:45 +0000 (18:53 +0200)
share/collection.conf

index 998a433da8aa31a77c76edc25aa42938b654e54c..23d616ae60f53a3c0891521ab9f93bfde3aa4749 100644 (file)
   </DEF>
 </Graph>
 
+<Graph>
+  Host "/any/"
+  Plugin "interface"
+  PluginInstance "/any/"
+  Type "if_octets"
+  TypeInstance "/any/"
+
+  Title "Interface octets"
+  VerticalLabel "Bytes/s"
+
+  <DEF>
+    DSName "rx"
+    Legend "RX"
+    Color "0000ff"
+  </DEF>
+  <DEF>
+    DSName "tx"
+    Legend "TX"
+    Color "00bf00"
+  </DEF>
+</Graph>
+
+<Graph>
+  Host "/any/"
+  Plugin "interface"
+  PluginInstance "/any/"
+  Type "if_packets"
+  TypeInstance "/any/"
+
+  Title "Interface packets"
+  VerticalLabel "Packets/s"
+
+  <DEF>
+    DSName "rx"
+    Legend "RX"
+    Color "0000ff"
+  </DEF>
+  <DEF>
+    DSName "tx"
+    Legend "TX"
+    Color "00bf00"
+  </DEF>
+</Graph>
+
 <Graph>
   Host "/any/"
   Plugin "load"