Code

contrib/collection3: Added a couple more graph definitions.
authorFlorian Forster <octo@noris.net>
Wed, 13 Aug 2008 09:45:45 +0000 (11:45 +0200)
committerFlorian Forster <octo@noris.net>
Wed, 13 Aug 2008 09:45:45 +0000 (11:45 +0200)
contrib/collection3/etc/collection.conf

index e60316fecc4b1a09cabb03ab0addfb1529c76fe1..37ea64b5b01fca41057d03023cdd890b727614c7 100644 (file)
@@ -53,6 +53,14 @@ GraphWidth 400
   Color interrupt a000a0
   Color steal     000000
 </Type>
+<Type current>
+  DataSources value
+  DSName value Current
+  RRDTitle "Current ({type_instance})"
+  RRDVerticalLabel "Ampere"
+  RRDFormat "%4.1lfA"
+  Color value ffb000
+</Type>
 <Type df>
   Module Df
   DataSources free used
@@ -113,6 +121,22 @@ GraphWidth 400
   RRDFormat "%6.1lf"
   Color value 00b000
 </Type>
+<Type frequency>
+  DataSources frequency
+  DSName frequency Frequency
+  RRDTitle "Frequency ({type_instance})"
+  RRDVerticalLabel "Hertz"
+  RRDFormat "%4.1lfHz"
+  Color frequency a000a0
+</Type>
+<Type humidity>
+  DataSources value
+  DSName value Humitidy
+  RRDTitle "Humitidy ({instance})"
+  RRDVerticalLabel "Percent"
+  RRDFormat "%4.1lf%%"
+  Color value 00e000
+</Type>
 <Type if_errors>
   Module GenericIO
   DataSources rx tx
@@ -213,6 +237,14 @@ GraphWidth 400
   Color buffered  ffb000
   Color used      ff0000
 </Type>
+<Type percent>
+  DataSources percent
+  DSName percent Percent
+  RRDTitle "Percent ({type_instance})"
+  RRDVerticalLabel "Percent"
+  RRDFormat "%4.1lf%%"
+  Color percent 0000ff
+</Type>
 <Type ping>
   DataSources ping
   DSName "ping Latency"
@@ -220,6 +252,14 @@ GraphWidth 400
   RRDVerticalLabel "Milliseconds"
   RRDFormat "%5.2lfms"
 </Type>
+<Type power>
+  DataSources value
+  DSName value Watts
+  RRDTitle "Power ({type_instance})"
+  RRDVerticalLabel "Watts"
+  RRDFormat "%6.2lf%sW"
+  Color value 008080
+</Type>
 <Type ps_state>
   Module GenericStacked
   DataSources value
@@ -240,6 +280,22 @@ GraphWidth 400
   Color blocked  ff00ff
   Color stopped  a000a0
 </Type>
+<Type swap>
+  Module GenericStacked
+  DataSources value
+  RRDTitle "Swap utilization on {hostname}"
+  RRDVerticalLabel "Bytes"
+  RRDFormat "%5.1lf%s"
+  RRDOptions -b 1024 -l 0
+  DSName     "free Free    "
+  DSName   "cached Cached  "
+  DSName     "used Used    "
+  #Order used cached free
+  Order free cached used
+  Color free      00e000
+  Color cached    0000ff
+  Color used      ff0000
+</Type>
 <Type tcp_connections>
   Module GenericStacked
   DataSources value