[collectd] Percentage support in thresholds
Andrés J. Díaz
ajdiaz at connectical.com
Sat May 30 12:54:30 CEST 2009
Hi all!
I attach a patch to add percentage support in thresholds, like this example:
<Threshold>
<Type df>
WarningMax 90
Percentage true
</Type>
</Threshold>
The percentage option works like collectd-nagios, that is, calculate the
percentage of the value of the first DS over the total. For df plugin,
for example,
calculate the percentage of the "used" DS.
Bugs and suggestions are welcome :)
Enjoy!
Regards,
Andres
-------------- next part --------------
A non-text attachment was scrubbed...
Name: threshold_percentage.patch
Type: text/x-patch
Size: 4176 bytes
Desc: not available
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20090530/5993ded7/attachment.bin
More information about the collectd
mailing list