Xymon Mailing List Archive search

Possible to sum rrd into one graph ?

14 messages in this thread

list Thomas Seglard · Thu, 26 Aug 2010 14:02:03 +0200 ·
Hello,

 
In Munin, its possible to sum several rrd into one graph (ie : to
display the total bandwidth used by all your media servers). Thus, I'm
asking if it's possible to do this in XYmon too ? I saw the < Metrics
reports > but you can't sum graphs...

Regards,

 
Thomas SEGLARD
list Josh Luthman · Thu, 26 Aug 2010 10:46:06 -0400 ·
Yes.  I posted my example on the wikibook in pretty good detail I think.
quoted from Thomas Seglard

On Aug 26, 2010 8:04 AM, "SEGLARD, Thomas" <user-befbea81d840@xymon.invalid> wrote:

 Hello,


In Munin, its possible to sum several rrd into one graph (ie : to display
the total bandwidth used by all your media servers). Thus, I’m asking if
it’s possible to do this in XYmon too ? I saw the « Metrics reports » but
you can’t sum graphs…

Regards,


Thomas SEGLARD
list Matthew Moldvan · Thu, 26 Aug 2010 11:11:53 -0400 ·
Link please?  I often open so many different Xymon resources at once I get the all confused ...

Thanks,
Matt.

Unix System Administrator
Computer Science Corporation

This is a PRIVATE message. If you are not the intended recipient, please delete without copying and kindly advise us by e-mail of the mistake in delivery. NOTE: Regardless of content, this e-mail shall not operate to bind CSC to any order or other contract unless pursuant to explicit written agreement or government initiative expressly permitting the use of e-mail for such purpose.


From:
Josh Luthman <user-4c45a83f15cb@xymon.invalid>
To:
Date:
08/26/2010 10:48 AM
Subject:
Re: [xymon] Possible to sum rrd into one graph ?
quoted from Josh Luthman


Yes.  I posted my example on the wikibook in pretty good detail I think.
On Aug 26, 2010 8:04 AM, "SEGLARD, Thomas" <user-befbea81d840@xymon.invalid> wrote:

Hello,
 In Munin, its possible to sum several rrd into one graph (ie : to display the total bandwidth used by all your media servers). Thus, I’m asking if it’s possible to do this in XYmon too ? I saw the « Metrics reports » but you can’t sum graphs…
Regards,
 Thomas SEGLARD

This is an e-mail from General Dynamics Land Systems. It is for the intended recipient only and may contain confidential and privileged information. No one else may read, print, store, copy, forward or act in reliance on it or its attachments. If you are not the intended recipient, please return this message to the sender and delete the message and any attachments from your computer. Your cooperation is appreciated.
list Thomas Seglard · Thu, 26 Aug 2010 17:18:01 +0200 ·
Hi Josh,

 
Thanks for your answer. I'm afraid but I only find this on the wikibook : http://en.wikibooks.org/wiki/System_Monitoring_with_Xymon/Other_Docs/FAQ#Is_there_a_way_within_Hobbit_of_creating_a_graph_with_data_from_multiple_RRD_files_.3F

There is nothing explained and the « ddraw » tool seems a little bit tricky to setup and use. Hence, I think I don't find your example. Please, could you post a link or give some clues on this subject ? 

 
Thanks.

 
Thomas
quoted from Josh Luthman

 
De : Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid] 
Envoyé : jeudi 26 août 2010 16:46
À : xymon at xymon.com
Objet : Re: [xymon] Possible to sum rrd into one graph ?

 
Yes.  I posted my example on the wikibook in pretty good detail I think.

	On Aug 26, 2010 8:04 AM, "SEGLARD, Thomas" <user-befbea81d840@xymon.invalid> wrote:

	Hello,

	 
	In Munin, its possible to sum several rrd into one graph (ie : to display the total bandwidth used by all your media servers). Thus, I'm asking if it's possible to do this in XYmon too ? I saw the « Metrics reports » but you can't sum graphs...

	Regards,

	 
	Thomas SEGLARD
list Josh Luthman · Thu, 26 Aug 2010 11:20:29 -0400 ·
https://sourceforge.net/apps/mediawiki/xymon/index.php?title=Graph_multiple_RRD_sources

On Aug 26, 2010 8:04 AM, "SEGLARD, Thomas" <user-befbea81d840@xymon.invalid> wrote:

 Hello,


In Munin, its possible to sum several rrd into one graph (ie : to display
the total bandwidth used by all your media servers). Thus, I’m asking if
it’s possible to do this in XYmon too ? I saw the « Metrics reports » but
you can’t sum graphs…

Regards,


Thomas SEGLARD
list Thomas Seglard · Fri, 27 Aug 2010 09:56:01 +0200 ·
Hi Josh,

 
First, thank you for this link. Second, I'm sorry but I don't understand very well your example. I don't want to graph multiple RRD sources, I want to graph the sum of multiple RRD sources J Do you think Xymon could make it ?

 
Thanks for help.
quoted from Josh Luthman

 
Thomas

 
De : Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid] 
Envoyé : jeudi 26 août 2010 17:20
À : xymon at xymon.com
Objet : Re: [xymon] Possible to sum rrd into one graph ?

 
https://sourceforge.net/apps/mediawiki/xymon/index.php?title=Graph_multiple_RRD_sources

	On Aug 26, 2010 8:04 AM, "SEGLARD, Thomas" <user-befbea81d840@xymon.invalid> wrote:

	Hello,

	 
	In Munin, its possible to sum several rrd into one graph (ie : to display the total bandwidth used by all your media servers). Thus, I'm asking if it's possible to do this in XYmon too ? I saw the « Metrics reports » but you can't sum graphs...

	Regards,

	 
	Thomas SEGLARD
list Ralph Mitchell · Fri, 27 Aug 2010 07:04:26 -0400 ·
Take a look at the man page for rrdgraph_data.  That describes how to use
CDEF:

     CDEF
         CDEF:vname=RPN expression

         This command creates a new set of data points (in memory only, not
in
         the RRD file) out of one or more other data series.

After using DEF to define the variables being pulled from the various RRDs,
you should be able to combine them with a math expression.  You would then
use the CDEF vname in the graph LINE, AREA, etc.

Ralph Mitchell
quoted from Thomas Seglard

On Fri, Aug 27, 2010 at 3:56 AM, SEGLARD, Thomas <user-befbea81d840@xymon.invalid> wrote:
 Hi Josh,


First, thank you for this link. Second, I’m sorry but I don’t understand
very well your example. I don’t want to graph multiple RRD sources, I want
to graph the sum of multiple RRD sources J Do you think Xymon could make
it ?


Thanks for help.


Thomas


*De :* Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid]
*Envoyé :* jeudi 26 août 2010 17:20

*À :* xymon at xymon.com
*Objet :* Re: [xymon] Possible to sum rrd into one graph ?


https://sourceforge.net/apps/mediawiki/xymon/index.php?title=Graph_multiple_RRD_sources

On Aug 26, 2010 8:04 AM, "SEGLARD, Thomas" <user-befbea81d840@xymon.invalid> wrote:

Hello,


In Munin, its possible to sum several rrd into one graph (ie : to display
the total bandwidth used by all your media servers). Thus, I’m asking if
it’s possible to do this in XYmon too ? I saw the « Metrics reports » but
you can’t sum graphs…

Regards,


Thomas SEGLARD

list Thomas Seglard · Fri, 27 Aug 2010 13:34:42 +0200 ·
Hello,

 
yes, you're right. 

 
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 ? ;) 

 
Nobody uses Xymon to graph the sum of network bandwidth from different sources (firewall, lb, media servers, web servers, etc...) into one graph ??

 
Sincerly,

 
Thomas
quoted from Ralph Mitchell

 
De : Ralph Mitchell [mailto:user-00a5e44c48c0@xymon.invalid] 
Envoyé : vendredi 27 août 2010 13:04
À : xymon at xymon.com
Objet : Re: [xymon] Possible to sum rrd into one graph ?

 
Take a look at the man page for rrdgraph_data.  That describes how to use CDEF:

 
     CDEF

         CDEF:vname=RPN expression

 
         This command creates a new set of data points (in memory only, not in

         the RRD file) out of one or more other data series.

 
After using DEF to define the variables being pulled from the various RRDs, you should be able to combine them with a math expression.  You would then use the CDEF vname in the graph LINE, AREA, etc.

 
Ralph Mitchell

On Fri, Aug 27, 2010 at 3:56 AM, SEGLARD, Thomas <user-befbea81d840@xymon.invalid> wrote:

Hi Josh,

 
First, thank you for this link. Second, I'm sorry but I don't understand very well your example. I don't want to graph multiple RRD sources, I want to graph the sum of multiple RRD sources J Do you think Xymon could make it ?

 
Thanks for help.

 
Thomas

 
De : Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid] 
Envoyé : jeudi 26 août 2010 17:20


À : xymon at xymon.com
Objet : Re: [xymon] Possible to sum rrd into one graph ?

 
https://sourceforge.net/apps/mediawiki/xymon/index.php?title=Graph_multiple_RRD_sources

	On Aug 26, 2010 8:04 AM, "SEGLARD, Thomas" <user-befbea81d840@xymon.invalid> wrote:

	Hello,

	 
	In Munin, its possible to sum several rrd into one graph (ie : to display the total bandwidth used by all your media servers). Thus, I'm asking if it's possible to do this in XYmon too ? I saw the « Metrics reports » but you can't sum graphs...

	Regards,

	 
	Thomas SEGLARD
list Stef Coene · Fri, 27 Aug 2010 13:50:17 +0200 ·
quoted from Thomas Seglard
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@=@RRDFN@:mem_avm:AVERAGE
   CDEF:sw at RRDIDX@=avm at RRDIDX@,4048,*
   LINE1:sw at RRDIDX@#@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
list Thomas Seglard · Fri, 27 Aug 2010 14:08:49 +0200 ·
Hi Stef,

This is simple and so perfect :) Thank you very much.
Regards,

Thomas
quoted from Stef Coene

-----Message d'origine-----
De : Stef Coene [mailto:user-dbffe946c0f4@xymon.invalid] 
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@=@RRDFN@:mem_avm:AVERAGE
   CDEF:sw at RRDIDX@=avm at RRDIDX@,4048,*
   LINE1:sw at RRDIDX@#@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
list Ralph Mitchell · Fri, 27 Aug 2010 08:12:38 -0400 ·
If you're using DEFs like this:

      [la]
           TITLE CPU Load
           YAXIS Load
           DEF:avg=la.rrd:la:AVERAGE
           CDEF:la=avg,100,/

you can definitely use a pathname for the RRD.  I do exactly that with some
performance graphs where I can't use xymon:

     DEF:server1avg=/var/lib/perfmon/server1/loadavg.rrd
     DEF:server2avg=/var/lib/perfmon/server2/loadavg.rrd

I don't know if the same is true of the FNPATTERN style of setting DEFs.

Of course, if your RRD are on different physical machines, that's a bit
harder...  :)
quoted from Thomas Seglard

Ralph Mitchell


On Fri, Aug 27, 2010 at 7:34 AM, SEGLARD, Thomas <user-befbea81d840@xymon.invalid> wrote:
 Hello,


yes, you’re right.


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 ? ;)


Nobody uses Xymon to graph the sum of network bandwidth from different
sources (firewall, lb, media servers, web servers, etc…) into one graph ??


Sincerly,


Thomas


*De :* Ralph Mitchell [mailto:user-00a5e44c48c0@xymon.invalid]
*Envoyé :* vendredi 27 août 2010 13:04

*À :* xymon at xymon.com
*Objet :* Re: [xymon] Possible to sum rrd into one graph ?


Take a look at the man page for rrdgraph_data.  That describes how to use
CDEF:


     CDEF

         CDEF:vname=RPN expression


         This command creates a new set of data points (in memory only, not
in

         the RRD file) out of one or more other data series.


After using DEF to define the variables being pulled from the various RRDs,
you should be able to combine them with a math expression.  You would then
use the CDEF vname in the graph LINE, AREA, etc.


Ralph Mitchell

On Fri, Aug 27, 2010 at 3:56 AM, SEGLARD, Thomas <user-befbea81d840@xymon.invalid> wrote:

Hi Josh,


First, thank you for this link. Second, I’m sorry but I don’t understand
very well your example. I don’t want to graph multiple RRD sources, I want
to graph the sum of multiple RRD sources J Do you think Xymon could make
it ?


Thanks for help.


Thomas


*De :* Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid]
*Envoyé :* jeudi 26 août 2010 17:20


*À :* xymon at xymon.com
*Objet :* Re: [xymon] Possible to sum rrd into one graph ?


https://sourceforge.net/apps/mediawiki/xymon/index.php?title=Graph_multiple_RRD_sources

On Aug 26, 2010 8:04 AM, "SEGLARD, Thomas" <user-befbea81d840@xymon.invalid> wrote:

Hello,


In Munin, its possible to sum several rrd into one graph (ie : to display
the total bandwidth used by all your media servers). Thus, I’m asking if
it’s possible to do this in XYmon too ? I saw the « Metrics reports » but
you can’t sum graphs…

Regards,


Thomas SEGLARD

list Thomas Seglard · Fri, 27 Aug 2010 15:44:08 +0200 ·
Even better ! I never saw this before. Ok, I will try this and will keep you in touch in case its working as it should be J
quoted from Ralph Mitchell

Sincerly,

 
Thomas

 
De : Ralph Mitchell [mailto:user-00a5e44c48c0@xymon.invalid] 
Envoyé : vendredi 27 août 2010 14:13
À : xymon at xymon.com
Objet : Re: [xymon] Possible to sum rrd into one graph ?

 
If you're using DEFs like this:

 
      [la]

           TITLE CPU Load

           YAXIS Load

           DEF:avg=la.rrd:la:AVERAGE

           CDEF:la=avg,100,/

 
you can definitely use a pathname for the RRD.  I do exactly that with some performance graphs where I can't use xymon:

 
     DEF:server1avg=/var/lib/perfmon/server1/loadavg.rrd

     DEF:server2avg=/var/lib/perfmon/server2/loadavg.rrd

 
I don't know if the same is true of the FNPATTERN style of setting DEFs.

 
Of course, if your RRD are on different physical machines, that's a bit harder...  :)

 
Ralph Mitchell

 
On Fri, Aug 27, 2010 at 7:34 AM, SEGLARD, Thomas <user-befbea81d840@xymon.invalid> wrote:

Hello,

 
yes, you're right. 

 
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 ? ;) 

 
Nobody uses Xymon to graph the sum of network bandwidth from different sources (firewall, lb, media servers, web servers, etc...) into one graph ??

 
Sincerly,

 
Thomas

 
De : Ralph Mitchell [mailto:user-00a5e44c48c0@xymon.invalid] 
Envoyé : vendredi 27 août 2010 13:04


À : xymon at xymon.com
Objet : Re: [xymon] Possible to sum rrd into one graph ?

 
Take a look at the man page for rrdgraph_data.  That describes how to use CDEF:

 
     CDEF

         CDEF:vname=RPN expression

 
         This command creates a new set of data points (in memory only, not in

         the RRD file) out of one or more other data series.

 
After using DEF to define the variables being pulled from the various RRDs, you should be able to combine them with a math expression.  You would then use the CDEF vname in the graph LINE, AREA, etc.

 
Ralph Mitchell

On Fri, Aug 27, 2010 at 3:56 AM, SEGLARD, Thomas <user-befbea81d840@xymon.invalid> wrote:

Hi Josh,

 
First, thank you for this link. Second, I'm sorry but I don't understand very well your example. I don't want to graph multiple RRD sources, I want to graph the sum of multiple RRD sources J Do you think Xymon could make it ?

 
Thanks for help.

 
Thomas

 
De : Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid] 
Envoyé : jeudi 26 août 2010 17:20


À : xymon at xymon.com
Objet : Re: [xymon] Possible to sum rrd into one graph ?

 
https://sourceforge.net/apps/mediawiki/xymon/index.php?title=Graph_multiple_RRD_sources

	On Aug 26, 2010 8:04 AM, "SEGLARD, Thomas" <user-befbea81d840@xymon.invalid> wrote:

	Hello,

	 
	In Munin, its possible to sum several rrd into one graph (ie : to display the total bandwidth used by all your media servers). Thus, I'm asking if it's possible to do this in XYmon too ? I saw the « Metrics reports » but you can't sum graphs...

	Regards,

	 
	Thomas SEGLARD
list Thomas Seglard · Thu, 14 Oct 2010 15:15:13 +0200 ·
Hi,

I've done the graph definition and symlinked rrd I wanted to sum but what to do next ? I want to be able to display this graph for some hosts not every. It would be great if I could have a column/test wich displays only this graph. How to do that ?

Thanks for help.
Sincerly,
quoted from Thomas Seglard

Thomas


-----Message d'origine-----
De : Stef Coene [mailto:user-dbffe946c0f4@xymon.invalid] 
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@=@RRDFN@:mem_avm:AVERAGE
   CDEF:sw at RRDIDX@=avm at RRDIDX@,4048,*
   LINE1:sw at RRDIDX@#@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
list Thomas Seglard · Fri, 19 Nov 2010 11:04:08 +0100 ·
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.
quoted from Thomas Seglard

ThomaS

-----Message d'origine-----
De : Stef Coene [mailto:user-dbffe946c0f4@xymon.invalid] 
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@=@RRDFN@:mem_avm:AVERAGE
   CDEF:sw at RRDIDX@=avm at RRDIDX@,4048,*
   LINE1:sw at RRDIDX@#@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