share/collection.conf: Improve configuration of the "swap" graph.
[collection4.git] / share / collection.conf
index eb33fe0..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>
     Color "ff0000"
     Area true
     #Stack true
+    Format "%5.1lf%s"
   </DEF>
   <DEF>
     TypeInstance "reserved"
     Color "ffb000"
     Area true
     Stack true
+    Format "%5.1lf%s"
   </DEF>
   <DEF>
     TypeInstance "free"
     Color "00bf00"
     Area true
     Stack true
+    Format "%5.1lf%s"
   </DEF>
 </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>
 
 
 <Graph>
   Host "/any/"
+  Plugin "processes"
+  PluginInstance ""
+  Type "fork_rate"
+  TypeInstance ""
+
+  Title "Fork rate"
+  VerticalLabel "Forks/s"
+
+  <DEF>
+    DSName "value"
+    Legend "Fork rate"
+    Color "0000ff"
+  </DEF>
+</Graph>
+
+<Graph>
+  Host "/any/"
+  Plugin "interface"
+  PluginInstance "/any/"
+  Type "if_errors"
+  TypeInstance "/any/"
+
+  Title "Interface errors"
+  VerticalLabel "Errors/s"
+
+  <DEF>
+    DSName "rx"
+    Legend "RX"
+    Color "0000ff"
+    Format "%5.1lf"
+  </DEF>
+  <DEF>
+    DSName "tx"
+    Legend "TX"
+    Color "00bf00"
+    Format "%5.1lf"
+  </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"
+    Format "%5.1lf%s"
+  </DEF>
+  <DEF>
+    DSName "tx"
+    Legend "TX"
+    Color "00bf00"
+    Format "%5.1lf%s"
+  </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"
+  PluginInstance ""
+  Type "load"
+  TypeInstance ""
+
+  Title "System load"
+
+  <DEF>
+    DSName "longterm"
+    Legend "15m"
+    Color "ff0000"
+  </DEF>
+  <DEF>
+    DSName "midterm"
+    Legend " 5m"
+    Color "0000ff"
+  </DEF>
+  <DEF>
+    DSName "shortterm"
+    Legend " 1m "
+    Color "00ff00"
+  </DEF>
+</Graph>
+
+<Graph>
+  Host "/any/"
   Plugin "memory"
   PluginInstance ""
   Type "memory"
 
 <Graph>
   Host "/any/"
+  Plugin "sensors"
+  PluginInstance "/any/"
+  Type "temperature"
+  TypeInstance "/any/"
+
+  Title "Temperature"
+  VerticalLabel "deg Celsius"
+
+  <DEF>
+    DSName "value"
+    Legend "Temperature"
+    Color "0000ff"
+  </DEF>
+</Graph>
+
+<Graph>
+  Host "/any/"
   Plugin "swap"
   PluginInstance ""
   Type "swap"
 
   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>
+  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>
 
+<Graph>
+  Host "/any/"
+  Plugin "users"
+  PluginInstance ""
+  Type "users"
+  TypeInstance ""
+
+  Title "Users"
+  VerticalLabel "Users"
+
+  <DEF>
+    DSName "users"
+    Legend "Users"
+    Color "0000ff"
+  </DEF>
+</Graph>