share/collection.conf: Improve configuration of the "swap" graph.
[collection4.git] / share / collection.conf
index b014162..f4e12ea 100644 (file)
 
   Title "Diskspace"
   VerticalLabel "Bytes"
-  ShowZero true
+  ShowZero false
 
   <DEF>
-    TypeInstance "used"
-    DSName "value"
-    Legend "Used    "
-    Color "ff0000"
-    Area true
-    #Stack true
-    Format "%5.1lf%s"
-  </DEF>
-  <DEF>
     TypeInstance "reserved"
     DSName "value"
     Legend "Reserved"
     Stack true
     Format "%5.1lf%s"
   </DEF>
+  <DEF>
+    TypeInstance "used"
+    DSName "value"
+    Legend "Used    "
+    Color "ff0000"
+    Area true
+    Stack true
+    Format "%5.1lf%s"
+  </DEF>
 </Graph>
 
 <Graph>
     DSName "read"
     Legend "Read "
     Color "0000ff"
+    Format "%5.1lf%s"
   </DEF>
   <DEF>
     DSName "write"
     Legend "Write"
     Color "00bf00"
+    Format "%5.1lf%s"
   </DEF>
 </Graph>
 
 
   Title "Swap utilization"
   VerticalLabel "Bytes"
+
+  <DEF>
+    TypeInstance "free"
+    DSName "value"
+    Legend "Free  "
+    Color "00e000"
+    Area true
+    Stack true
+    Format "%5.1lf%s"
+  </DEF>
+  <DEF>
+    TypeInstance "cached"
+    DSName "value"
+    Legend "Cached"
+    Color "ffb000"
+    Area true
+    Stack true
+    Format "%5.1lf%s"
+  </DEF>
+  <DEF>
+    TypeInstance "used"
+    DSName "value"
+    Legend "Used  "
+    Color "ff0000"
+    Area true
+    Stack true
+    Format "%5.1lf%s"
+  </DEF>
 </Graph>
 
 <Graph>