[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [xymon] Possible to sum rrd into one graph ?
- To: <xymon (at) xymon.com>
- Subject: RE: [xymon] Possible to sum rrd into one graph ?
- From: "SEGLARD, Thomas" <tseglard (at) wat.tv>
- Date: Fri, 19 Nov 2010 11:04:08 +0100
- References: <E993C40BDB792F4BB38DCB444F8B88E70770A456 (at) TFPRDEXS1.tf1.groupetf1.fr> <AANLkTikjSgk8MjgZBdSi+X_DrKT2x9eL=MYJ8RN_0tck (at) mail.gmail.com> <E993C40BDB792F4BB38DCB444F8B88E70770A94B (at) TFPRDEXS1.tf1.groupetf1.fr> <201008271350.19472.stef.coene (at) docum.org>
- Thread-index: ActF3j4BvMSJSqnNRlCHa2ORlsFZFRB8lmqg
- Thread-topic: [xymon] Possible to sum rrd into one graph ?
Hi,
I failed to achieve this. Actually, it doesn't display any graph at all. Hence, I send this new message. What is the best solution to be able to make ONE graph displaying the sum of all bandwidth consumed by my servers delivering media content ? I done this very simply with Munin so I'm very disapointed that its impossible to make it as simple with Xymon.
Thanks for help.
ThomaS
-----Message d'origine-----
De : Stef Coene [mailto:stef.coene (at) docum.org]
Envoyé : vendredi 27 août 2010 13:50
À : xymon (at) xymon.com
Objet : Re: [xymon] Possible to sum rrd into one graph ?
On Friday 27 August 2010, SEGLARD, Thomas wrote:
> But, my mistake, this is only part of answer and I don't exactly write what
> I wanted to know. What I want is a way to sum the RRDs from different
> servers and corresponding to the graph definition « ifstat ». The main
> problem is that the RRDs are not in the same place/directory and thus I
> have no way to tell rrdtool where to get these RRDs. This is the main
> problem and why I required some help J
>
> I could do some scrtipt which sync on a regular basis these RRDs into one
> server directory. It's not very elegant (but I think this will work !). In
> a future release, maybe it will be possible to use the Metrics reports to
> do all the maths we want with different RRDs ? ;)
Easy, make a subdirectory like graph1 and in that subdirectory add symlinks to
the different rrd files. You can give the symlink an other name like
graph/vmstat-server1.rrd -> server1/vmstat.rrd
In the graph definition, you can match all vmstat-* files and voila, you can
make the sum of what you want:
[vmstat-avm-total]
FNPATTERN vmstat-(.+).rrd
TITLE Accessed Virtual Memory
YAXIS Size kB
-b 1024
DEF:avm (at) RRDIDX@= (at) RRDFN@:mem_avm:AVERAGE
CDEF:sw (at) RRDIDX@=avm (at) RRDIDX@,4048,*
LINE1:sw (at) RRDIDX@# (at) COLOR@:@RRDPARAM@:STACK
GPRINT:sw (at) RRDIDX@:LAST:AVM \: %5.1lf%s (cur)
GPRINT:sw (at) RRDIDX@:MAX: \: %5.1lf%s (max)
GPRINT:sw (at) RRDIDX@:MIN: \: %5.1lf%s (min)
GPRINT:sw (at) RRDIDX@:AVERAGE: \: %5.1lf%s (avg)\n
I do this for adding CPU load on a pSeries with lpars so I can make the sum of
all physical CPU usage.
Stef
To unsubscribe from the xymon list, send an e-mail to
xymon-unsubscribe (at) xymon.com