[collectd] Graphing interface written in PHP

Bruno Prémont bonbons at linux-vserver.org
Tue Feb 10 17:57:03 CET 2009


Hi,

An update to the graphing interface. (incremental patch attached)

This fixes security complaint by a few browsers when page is accessed
via HTTPS and also makes sure the graphs and lists will load if HTTP
and HTTPS paths differ.
Thanks to Mullet- for spotting this issue.

In addition to the fix above this patch adds support for saving
current graph list to a cookie and appending graph list read from
cookie to the currently displayed list.

A future extension would be to allow saving/loading named graph lists
so multiple list can coexist (pretty useful when monitoring multiple
servers/services)

Bruno


On Tue, 10 February 2009 Bruno Prémont wrote:
> Attached is a patch with a set of PHP files for a complete graphing
> environment for collectd-generated RRDs.
> Before generating a graph with rrdtool it can tell collectd to flush
> the RRDs that are about to be used.
> 
> The interface is built with dynamic HTML.
> It provides following options:
>  - host selection
>  -> plugin selection
>  --> plugin instance selection
>  ---> type selection
>  ----> type instance selection (or meta graph)
>  - linear / logarithmic Y-scale
>  - verbose / minimal legend
>  - [Add Graph] [Remove all Graphs] [Refresh Graphs]
> For each displayed graph:
>  - Move above previous graph
>  - Refresh graph
>  - Remove graph
>  - Move below following graph
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: collectd-php-1.patch
Type: text/x-patch
Size: 13692 bytes
Desc: not available
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20090210/e972510e/attachment.bin 


More information about the collectd mailing list