[collectd] Collection3 graphing module submission - DSPercentage

McCoy, Neil Neil.McCoy at hitwise.com
Tue Mar 22 00:58:06 CET 2011


This is a graphing module useful for generating a percentage value based
on two RRD DataSources.  In it's current form it only handles 2
DataSources.  The percent is based on the first value in relation to the
sum of the two values.

It leaves the values that are shown in the graph statistics (ie MIN,
AVERAGE and MAX) as their actual values but the vertical axis shows
percent.

An example of it's usage is:

<Type adjustable_buffer>
  Module DSPercentage
  DataSources used free
  RRDTitle "{plugin_instance} Bufffer Usage"
  RRDVirticalLabel "Percentage Used"
  RRDFormat "%3.1lf%S"
</Type>

Regards,
Neil McCoy

-------------- next part --------------
A non-text attachment was scrubbed...
Name: collectd-4.10.2-mineDSPercentage.patch
Type: application/octet-stream
Size: 5286 bytes
Desc: collectd-4.10.2-mineDSPercentage.patch
URL: <http://mailman.verplant.org/pipermail/collectd/attachments/20110322/f71da06b/attachment-0001.obj>


More information about the collectd mailing list