Xymon Mailing List Archive search

multiple graphs on one page

list Mark Mulligan
Tue, 1 Mar 2011 15:29:50 +0000
Message-Id: <user-bd3125d07b1c@xymon.invalid>

Well we did find a way to do this 
You do it just like adding a regular custom graph but for the data you use the other server names.

Create a custom graph

[example1]
Title MultiGraphs
DEF:a=servername/rrdfilename
DEF:b=servername2/rrdfilename2
LINE2:a#0000FF:DataA
LINE2:b#FF0000:DataB

Then in hobbitserver.cfg add the following

TEST2RRD section add the newgraph name exapmle1=ncv
Add the SPLITNCV
SPLITNCV_example1=testtype
GRAPHS section add the newgraph name example1


Then add a placebo rrd file where you want this graph to appear example1.rrd and this graph will show up under the trends column. 
We do this to compare app data on different servers on the same graph.  Using the metrics function with the multigraphs will also do this but you are unable to zoom in on that graph.  
Mark


-----Original Message-----
From: Henrik Størner [mailto:user-ce4a2c883f75@xymon.invalid] Sent: Friday, January 07, 2011 6:26 AM
To: xymon at xymon.com
Subject: Re: [xymon] multiple graphs on one page

In <AANLkTi=user-11aba699f9c6@xymon.invalid> Joe Acquisto <user-8a324efe5034@xymon.invalid> writes:
I've been digging for a while and cannot find how I can put two graphs on one page.  Kind of like the trends page.
There's a good reason you cannot find it - it's not possible.

The "trends" status is a special-case in the code. It is not possible to have multiple - different - graphs on one page.


Regards,
Henrik