[collectd] Monitoring itself

Florian Forster octo at verplant.org
Tue Nov 14 08:49:31 CET 2006

Hi Lubos,

On Fri, Nov 10, 2006 at 05:33:26PM +0100, Lubo?? Stan??k wrote:
> I will probably get the reputation of the permanent nagger. :)

No, I welcome new ideas :)

> I have thought about monitoring the collectd server itself. The
> interesting stats would be the time spent in the plugin's read and
> write functions in the local mode or network load in the server mode.

Hehe, having statistics of an statistics daemon is kind of consistent ;)

> It could be configurable by the configure script in both non- and
> debug build.

Counting the network-traffic and providing those counters to a plugin
shouldn't be a problem at all. Measuring the time spent in _each_ plugin
should explicitely be configured, since at least one extra call to
`nanosleep' for each plugin is necessary. Measureing the overall
`roudtrip time' shouldn't be a problem, since we need the time there

> I will try to implement it for my own testing purposes. I want to
> profile the ignore list with and without regex functions.

Okay, but please keep the patches separate; I much rather have a big
number of small patches that add little functionality one by one that
one huge patch that is hard to read and understand.

> P.S.: I do not ask for help but opinions whether somebody would
>       consider it useful.

Useful I don't know, but `consistent' and at the edge to `self ironic',
definitely `yes' ;)

Florian octo Forster
Hacker in training
GnuPG: 0x91523C3D
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20061114/67742583/attachment.pgp

More information about the collectd mailing list