[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] Multi-rrd graphs
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] Multi-rrd graphs
- From: Vernon Everett <everett.vernon (at) gmail.com>
- Date: Tue, 6 Jul 2010 20:26:33 +0800
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=0DT1Ud8j5m4jpyD//xqst6j9f7WDvUerDhmsVW1FICE=; b=iGkt2L6m4ojHTaMVYb69p8LAta6aq1zb+CPDzfJiQvCu7pa7IUKNiLpxo3VK2yPeBt cu9n9frLHueDi3W1xCr+OMsG/we+MFKNjRsvWzLj2SGjFCZNKXQ1zvPGa0vUugSIIPkY dMjEjlI5BFCKHCxDh3v7DKa3+q+5JTy3amKVY=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=J293rWr6LolOfeMVmhCs3UoyUP97O99DgqNwko8dnOD413AX3I/pMaBSVEu5K8tmIi 0FRLW6ONoI2gPakbI1P3CAUIIvhuOhCw7pR/E3zCpsgVPm8ucX07Rdio5LKMoq1/p687 ia1h0nxs5AY0DjLQDqpJSGihTAaKI+KqP5HEo=
- References: <AANLkTik2Ksnr2VC6JewKr72OmpuHdSboTKz2aHlDgV6z (at) mail.gmail.com> <AANLkTim27TYtq3X591XqnGAZEMnIRdN5suqgWIob19j2 (at) mail.gmail.com>
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
>>
>>
>
>