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
Yes. I posted my example on the wikibook in pretty good detail I think.
On Aug 26, 2010 8:04 AM, "SEGLARD, Thomas" <tseglard at tf1.fr> 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
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 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
De : Josh Luthman [mailto:josh at imaginenetworksllc.com] 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" <tseglard at tf1.fr> 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
https://sourceforge.net/apps/mediawiki/xymon/index.php?title=Graph_multiple_...
On Aug 26, 2010 8:04 AM, "SEGLARD, Thomas" <tseglard at tf1.fr> 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
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:josh at imaginenetworksllc.com] 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_...
On Aug 26, 2010 8:04 AM, "SEGLARD, Thomas" <tseglard at tf1.fr> 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
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 <tseglard at tf1.fr> 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:josh at imaginenetworksllc.com] *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_...
On Aug 26, 2010 8:04 AM, "SEGLARD, Thomas" <tseglard at tf1.fr> 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
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:ralphmitchell at gmail.com] 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 <tseglard at tf1.fr> 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:josh at imaginenetworksllc.com] 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_...
On Aug 26, 2010 8:04 AM, "SEGLARD, Thomas" <tseglard at tf1.fr> 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
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
Hi Stef,
This is simple and so perfect :) Thank you very much. Regards,
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@=@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
To unsubscribe from the xymon list, send an e-mail to xymon-unsubscribe at xymon.com
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,
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@=@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
To unsubscribe from the xymon list, send an e-mail to xymon-unsubscribe at xymon.com
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@=@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
To unsubscribe from the xymon list, send an e-mail to xymon-unsubscribe at xymon.com
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 <tseglard at tf1.fr> 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:ralphmitchell at gmail.com] *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, notin
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 <tseglard at tf1.fr> 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:josh at imaginenetworksllc.com] *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_...
On Aug 26, 2010 8:04 AM, "SEGLARD, Thomas" <tseglard at tf1.fr> 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
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
Sincerly,
Thomas
De : Ralph Mitchell [mailto:ralphmitchell at gmail.com] 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 <tseglard at tf1.fr> 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:ralphmitchell at gmail.com] 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 <tseglard at tf1.fr> 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:josh at imaginenetworksllc.com] 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_...
On Aug 26, 2010 8:04 AM, "SEGLARD, Thomas" <tseglard at tf1.fr> 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
participants (5)
-
josh@imaginenetworksllc.com
-
ralphmitchell@gmail.com
-
stef.coene@docum.org
-
tseglard@tf1.fr
-
tseglard@wat.tv