Code

collection.conf: Add "ShowZero" options to some graphs.
authorFlorian Forster <ff@octo.it>
Tue, 15 Jun 2010 17:26:57 +0000 (19:26 +0200)
committerFlorian Forster <octo@leeloo.lan.home.verplant.org>
Tue, 15 Jun 2010 17:26:57 +0000 (19:26 +0200)
collection.conf

index ede145891281217db96d48dbb004d6ed86fb121a..eb33fe00a049bda5e311f6c742d7f2f42d45e9b7 100644 (file)
@@ -91,6 +91,7 @@
 
   Title "Diskspace"
   VerticalLabel "Bytes"
+  ShowZero true
 
   <DEF>
     TypeInstance "used"
   TypeInstance "/all/"
 
   Title "Diskspace (Inodes)"
+  VerticalLabel "Inodes"
+  ShowZero true
 
   <DEF>
     TypeInstance "used"
   TypeInstance "/any/"
 
   Title "Diskspace (legacy)"
+  VerticalLabel "Bytes"
+  ShowZero true
 
   <DEF>
     DSName "used"
-    Legend "Used "
+    Legend "Used"
     Color "ff0000"
     Area true
     #Stack true
+    Format "%5.1lf%s"
   </DEF>
   <DEF>
     DSName "free"
     Color "00bf00"
     Area true
     Stack true
+    Format "%5.1lf%s"
   </DEF>
 </Graph>
 
 
   Title "Memory utilization"
   VerticalLabel "Bytes"
+  ShowZero true
 
   <DEF>
     TypeInstance "free"