Code

share/collection.conf: Add graph for "swap_io".
authorFlorian Forster <ff@octo.it>
Wed, 23 Jun 2010 09:20:56 +0000 (11:20 +0200)
committerFlorian Forster <octo@leeloo.lan.home.verplant.org>
Wed, 23 Jun 2010 09:20:56 +0000 (11:20 +0200)
share/collection.conf

index 2874bb9104ac8f7289d063c70490fd56cec84799..9b180ca07360ed03c1df5940ec7f55b0659642ac 100644 (file)
     DSName "rx"
     Legend "RX"
     Color "0000ff"
+    Format "%5.1lf%s"
   </DEF>
   <DEF>
     DSName "tx"
     Legend "TX"
     Color "00bf00"
+    Format "%5.1lf%s"
   </DEF>
 </Graph>
 
   VerticalLabel "Bytes"
 </Graph>
 
+<Graph>
+  Host "/any/"
+  Plugin "swap"
+  PluginInstance ""
+  Type "swap_io"
+  TypeInstance "/all/"
+
+  Title "Swap I/O"
+  VerticalLabel "Pages/s"
+
+  <DEF>
+    TypeInstance "in"
+    DSName "value"
+    Legend "In "
+    Color "0000ff"
+    Format "%5.1lf"
+  </DEF>
+  <DEF>
+    TypeInstance "out"
+    DSName "value"
+    Legend "Out"
+    Color "00bf00"
+    Format "%5.1lf"
+  </DEF>
+</Graph>