[collectd] [PATCH] lpar plugin: new attempt

Aurélien Reynaud collectd at wattapower.net
Wed Sep 1 22:28:38 CEST 2010

Hello Florian,

here is a new version of my lpar plugin. I tried to address the
shortcomings of the previous attempt:

- Minimum and maximum proc capacity are gone, being static values
- The plugin now uses the cpu type for every value, so there is no need
anymore for the lpar_cpu type
- This also means there is no need anymore to compute rates in the
plugin, so the code is IMHO much more elegant
- There is a config option "ReportBySerial", as described in my previous
- We now use pool_busy_time directly instead of computing it from total
and idle

The patch is against the current 4.10 branch, rather than against
ar/lpar, because it is more of a complete rewrite than just fixes. I
could provide a patch against ar/lpar however if you prefer so.


Aurélien Reynaud

-------------- next part --------------
A non-text attachment was scrubbed...
Name: lpar-2nd-attempt.patch
Type: text/x-patch
Size: 7962 bytes
Desc: not available
URL: <http://mailman.verplant.org/pipermail/collectd/attachments/20100901/c3c6bb0d/attachment.bin>

More information about the collectd mailing list