[collectd] Lighttpd plugin
Florent
eppo<span style="display: none;">.trailing-username</span>(a)<span style="display: none;">leading-domain.</span>darox.net
Mon Feb 12 16:22:52 CET 2007
My long-term goal was to forward all my application generated RRD files through collectd. But It requires equal steps for the source and destination RRD files to work. I thought future version of collectd would implement such feature.
For this plugin, I will try with the status page and post it here.
Regards,
Florent
On Mon, 12 Feb 2007 15:23:10 +0100, Florian Forster <octo.trailing-username(a)leading-domain.verplant.org> wrote:
> Hi Florent,
>
> thanks for your plugin :)
>
> On Mon, Feb 12, 2007 at 02:54:23PM +0100, Florent wrote:
>> How it works:
>> - read function rrd_fetch a rrd file in the local filesystem and
>> submit some values
>> - write function stores the transferred values in another RRD file
>
> Reading the values from an RRD-file and store them in another seems a
> bit hack-ish to me. However, the lighttpd-guys seem to have implemented
> a `mod_status'-module which is almost identical to the one found with
> Apache. From what I can see in their wiki the `apache'-plugin should
> work with lighttpd, except `BusyServers:' which would need to be added
> to the `apache'-plugin.
>
>> My plugin almost works, the only issue is the different step between
>> the source RRD file (the lighttpd generated one: 60) and the
>> destination RRD file (wrote by collectd on destination server: 10).
>
> Yes, that's why I think it's hack-ish: Unless the RRD-file has a `LAST'
> RRA you gen consolidated values and even if you get the plain values out
> of a `LAST' RRA, you have the problem with `MIN' and `MAX'.
>
> Would you mind giving the `apache'-plugin a try? Adding support for the
> `BusyServers'-field shouldn't be a problem..
>
> Regards,
> -octo
> --
> Florian octo Forster
> Hacker in training
> GnuPG: 0x91523C3D
> http://verplant.org/
>
>
More information about the collectd
mailing list