[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] ganglia-style graph aggregation with hobbit
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] ganglia-style graph aggregation with hobbit
- From: Gildas Le Nadan <gn1 (at) sanger.ac.uk>
- Date: Wed, 11 Oct 2006 09:50:34 +0100
- References: <4511637D.2050006@sanger.ac.uk> <20060920193920.GD28669@hswn.dk> <4512A42E.9000804@sanger.ac.uk> <452BBB0E.8080809@mcclatchyinteractive.com>
- User-agent: Thunderbird 1.5.0.7 (X11/20060922)
Tom Georgoulias wrote:
Gildas Le Nadan wrote:
Hum, I'm afraid I don't get how it works/can't make it work on a
simple example: I'm trying to change la-multi in hobbitgraph.cfg so
the values will be added up instead of printed on top of the others.
Are the entries in hobbitgraph.cfg used as a template to build the
rrdgrph query? If so, then how can I access the values from the
previous RDN to add them to the one in the current RDN (@RRDFN@)?
I tried adding the values to a VDEF:add=add,@RRDIDX@,+ but without
success.
Did you ever work out a solution for this?
No, not yet. I tried several other things in the [*-multi] hobbitgraph.cfg
definitions but with no luck so far (I am no a rrd expert).
Btw Henrik, I also think it would be a good idea if the multi graph menu in
hobbit-hostgraphs.sh was generated automatically from the [*-multi] entries in
hobbitgraph.cfg.
Things I tried so far:
- the :STACK option don't work, probably because it shouldn't be added for the
first entry (I tried the example on the rrd page, setting a graph with a
constant value as a first graph don't work)
- I tried a VDEF/CDEF with IF so if there is no entry we set it to 0 (because we
have to treat the first entry correctly)
I was about to test the different possibilities using rrdgraph straight instead
of hobbit graph, so to get more debug/output when it fails.
Then, when I'll get a working solution, I'll try to see if this is possible to
implement using the actual hobbitgraph.cgi. If not, I'll try to patch/ask Henrik
for features.
(At least that's my plan)
I'm starting to investigate a way that I can take data from many rrd
files, and graph the average of the data all those rrd files as a single
line. For example, I'd like to average the %CPU usage (la1) for 10
different webservers, and display it as a single overall average %CPU
for a web farm.
>
> Tom
Yes, this is a fairly common problem I think :) There's plenty of other usage,
such as adding up the bandwidth on different servers, and so on...
Cheers,
Gildas