Code

collection3: Add graphs for "bitrate", "signal_power", "signal_quality", and "snr".
authorFlorian Forster <octo@leeloo.lan.home.verplant.org>
Thu, 24 Jun 2010 14:05:21 +0000 (16:05 +0200)
committerFlorian Forster <octo@leeloo.lan.home.verplant.org>
Thu, 24 Jun 2010 14:05:21 +0000 (16:05 +0200)
contrib/collection3/etc/collection.conf

index e56017e11bcda6e0ce7662536e012bb9c5bbfb07..1d3aeb282ee665f44b55cb99e712f5075ae7cf0c 100644 (file)
@@ -93,6 +93,13 @@ GraphWidth 400
   RRDOptions -l 0
   DSName "value Hit ratio"
 </Type>
+<Type bitrate>
+  DataSources value
+  RRDTitle "Bitrate ({instance})"
+  RRDVerticalLabel "Bit/s"
+  RRDFormat "%5.1lf%s"
+  DSName "value Bitrate"
+</Type>
 <Type cache_ratio>
   DataSources value
   DSName value Percent
@@ -571,6 +578,27 @@ GraphWidth 400
   Color blocked  ff00ff
   Color stopped  a000a0
 </Type>
+<Type signal_power>
+  DataSources value
+  RRDTitle "Signal power ({instance})"
+  RRDVerticalLabel "dB"
+  RRDFormat "%5.1lf"
+  DSName "value Signal power"
+</Type>
+<Type signal_quality>
+  DataSources value
+  RRDTitle "Signal quality ({instance})"
+  RRDVerticalLabel "Percent"
+  RRDFormat "%5.1lf%%"
+  DSName "value Signal quality"
+</Type>
+<Type snr>
+  DataSources value
+  RRDTitle "Signal / noise ratio ({instance})"
+  RRDVerticalLabel "dBm"
+  RRDFormat "%5.1lf"
+  DSName "value S/N"
+</Type>
 <Type swap>
   Module GenericStacked
   DataSources value