[hobbit] Multi-rrd graphs

Vernon Everett everett.vernon at gmail.com
Tue Jul 6 14:26:33 CEST 2010


It might work, but it violates one my own fundamental rules.
 - Simplicity is the ultimate sophistication.
This solution is not simple. :-)

I might have to consider it though.
See comments to Buchan.

Regards
    Vernon

On Tue, Jul 6, 2010 at 7:18 PM, Ralph Mitchell <ralphmitchell at gmail.com> wrote:
> I don't know if there's a way to do that with Xymon configs so, until one of
> our graph wizards come up with an answer, you could look into doing it the
> hard(er) way...  If you script the graph generation to drop graphs somewhere
> in your web server's htdocs tree, you could follow up with a status report
> to xymon containing links to the images.  Something similar to this:
>    #!/bin/bash
>    /usr/bin/rrdtool graph /var/www/server/htdocs/graphs/volX.png \
>      DEF:xxx......
>      LINE:xxx.....
>      etc
>    /home/xymon/server/bin/bb localhost "status server.vols green `date`
>    <img src=......>"
> Run that out of cron every few minutes.  It would take a bit more work to
> add the zoom functions and the ability to click through to get longer
> time-span graphs, but at least you'd have something...
> I've done something similar to this at work because I can't install Xymon...
>  :(
> Ralph Mitchell
>
>
> On Tue, Jul 6, 2010 at 4:04 AM, Vernon Everett <everett.vernon at gmail.com>
> wrote:
>>
>> Hi all
>>
>> OK, I am probably pushing the envelope here, but maybe it's possible.
>>
>> Lets assume I am collecting data about some disks.
>> Or maybe we don't assume. I am doing it.
>> As data, I am collecting
>>    % Cache hits
>>    % Reads
>>    % Writes
>> Using split NCV, I get a bunch of files.
>> cache,vol01.rrd
>> cache,vol02.rrd
>> cache,vol03.rrd
>> cache,vol04.rrd
>> read,vol01.rrd
>> read,vol02.rrd
>> read,vol03.rrd
>> read,vol04.rrd
>> write,vol01.rrd
>> write,vol02.rrd
>> write,vol03.rrd
>> write,vol04.rrd
>>
>> Using the standard graph definitions, I can get all the cache values
>> on one graph, all the read values on another etc. etc.
>> Is there a way to group them by the volume name?
>> So I end up with a graph of cache, read and write for vol1 on one graph.
>> The cache, read and write for vol1 on another etc. etc.
>>
>> Of course, in reality, I have far more than vol01-04, and they are not
>> all volXX either, so hard coding the hobbitgraph.cfg entry isn't an
>> option.
>>
>> Possible?
>>
>> Regards
>>     Vernon.
>>
>> To unsubscribe from the hobbit list, send an e-mail to
>> hobbit-unsubscribe at hswn.dk
>>
>>
>
>



More information about the Xymon mailing list