<html><body><p><font size="2">What Galen described is the default way to go to add more graphs to a test page.</font><br><font size="2">This will add every graph at the end of the page sequentially.</font><br><font size="2">If you have more graphs to show i found it not so useful, it will create huge pages with a lot of scrolling necessary.</font><br><br><font size="2">But if you have your graph definitions already, and you can see your graphs by just calling the link directly<br>(like </font><a href="http://10.134.92.125/xymon-cgi/showgraph.sh?host=FDUDCXT&service=la&graph_width=576&graph_height=120&first=1&count=1&disp=FDUDCXT&graph_start=1492933526&graph_end=1493106326&action=menu"><font size="2">http://X.X.X.X/xymon-cgi/showgraph.sh?host=HOST&service=YOURGRAPH&graph_width=576&graph_height=120&first=1&count=1&disp=HOST&graph_start=1492933526&graph_end=1493106326&action=menu</font></a><font size="2">)</font><br><font size="2">you can include these links into your mytest output directly.</font><br><br><font size="2">Either i include the image and link into the test page output where it fits into the content, or i create a table with images and links to show several graphs at once.</font><br><br><font size="2">F.e. a table with cpu and memory graphs together with some WebSphere values:</font><br><br><font size="2"><table> <tr valign="top"> <td><br> <A HREF="</font><a href="view-source:http://10.75.16.5/xymon-cgi/showgraph.sh?host=deehqap011lhaxm&service=loadall&disp=deehqap011lhaxm&nostale&color=green&action=menu"><u><font size="2" color="#0000FF">/xymon-cgi/showgraph.sh?host=hostname&amp;service=loadall&amp;disp=hostname&amp;nostale&amp;color=green&amp;action=menu</font></u></a><font size="2">"><IMG BORDER=0 SRC="</font><a href="view-source:http://10.75.16.5/xymon-cgi/showgraph.sh?host=deehqap011lhaxm&service=loadall&graph_width=350&graph_height=100&disp=deehqap011lhaxm&nostale&color=green&graph=hourly&action=view"><u><font size="2" color="#0000FF">/xymon-cgi/showgraph.sh?host=hostname&amp;service=loadall&amp;graph_width=350&amp;graph_height=100&amp;disp=hostname&amp;nostale&amp;color=green&amp;graph=hourly</font></u></a><font size="2">" ALT="xymon graph"></A> <br></td> <td><br> <A HREF="</font><a href="view-source:http://10.75.16.5/xymon-cgi/showgraph.sh?host=deehqap011lhaxm&service=la&disp=deehqap011lhaxm&nostale&color=green&action=menu"><u><font size="2" color="#0000FF">/xymon-cgi/showgraph.sh?host=hostname&amp;service=la&amp;disp=hostname&amp;nostale&amp;color=green&amp;action=menu</font></u></a><font size="2">"><IMG BORDER=0 SRC="</font><a href="view-source:http://10.75.16.5/xymon-cgi/showgraph.sh?host=deehqap011lhaxm&service=la&graph_width=350&graph_height=100&disp=deehqap011lhaxm&nostale&color=green&graph=hourly&action=view"><u><font size="2" color="#0000FF">/xymon-cgi/showgraph.sh?host=hostname&amp;service=la&amp;graph_width=350&amp;graph_height=100&amp;disp=hostname&amp;nostale&amp;color=green&amp;graph=hourly</font></u></a><font size="2">" ALT="xymon graph"></A> <br></td> <td><br> <A HREF="</font><a href="view-source:http://10.75.16.5/xymon-cgi/showgraph.sh?host=deehqap011lhaxm&service=memory&disp=deehqap011lhaxm&nostale&color=green&action=menu"><u><font size="2" color="#0000FF">/xymon-cgi/showgraph.sh?host=hostname&amp;service=memory&amp;disp=hostname&amp;nostale&amp;color=green&amp;action=menu</font></u></a><font size="2">"><IMG BORDER=0 SRC="</font><a href="view-source:http://10.75.16.5/xymon-cgi/showgraph.sh?host=deehqap011lhaxm&service=memory&graph_width=350&graph_height=100&disp=deehqap011lhaxm&nostale&color=green&graph=hourly&action=view"><u><font size="2" color="#0000FF">/xymon-cgi/showgraph.sh?host=hostname&amp;service=memory&amp;graph_width=350&amp;graph_height=100&amp;disp=hostname&amp;nostale&amp;color=green&amp;graph=hourly</font></u></a><font size="2">" ALT="xymon graph"></A> <br></td> </tr> <tr valign="top"> <td><br> <A HREF="</font><a href="view-source:http://10.75.16.5/xymon-cgi/showgraph.sh?host=deehqap011lhaxm&service=websphereJVM_UsedHeap&disp=deehqap011lhaxm&nostale&color=green&action=menu"><u><font size="2" color="#0000FF">/xymon-cgi/showgraph.sh?host=hostname&amp;service=websphereJVM_UsedHeap&amp;disp=hostname&amp;nostale&amp;color=green&amp;action=menu</font></u></a><font size="2">"><IMG BORDER=0 SRC="</font><a href="view-source:http://10.75.16.5/xymon-cgi/showgraph.sh?host=deehqap011lhaxm&service=websphereJVM_UsedHeap&graph_width=350&graph_height=100&disp=deehqap011lhaxm&nostale&color=green&graph=hourly&action=view"><u><font size="2" color="#0000FF">/xymon-cgi/showgraph.sh?host=hostname&amp;service=websphereJVM_UsedHeap&amp;graph_width=350&amp;graph_height=100&amp;disp=hostname&amp;nostale&amp;color=green&amp;graph=hourly</font></u></a><font size="2">" ALT="xymon graph"></A> <br></td> <td><br> <A HREF="</font><a href="view-source:http://10.75.16.5/xymon-cgi/showgraph.sh?host=deehqap011lhaxm&service=websphereSession_LIVE_COUNT&disp=deehqap011lhaxm&nostale&color=green&action=menu"><u><font size="2" color="#0000FF">/xymon-cgi/showgraph.sh?host=hostname&amp;service=websphereSession_LIVE_COUNT&amp;disp=hostname&amp;nostale&amp;color=green&amp;action=menu</font></u></a><font size="2">"><IMG BORDER=0 SRC="</font><a href="view-source:http://10.75.16.5/xymon-cgi/showgraph.sh?host=deehqap011lhaxm&service=websphereSession_LIVE_COUNT&graph_width=350&graph_height=100&disp=deehqap011lhaxm&nostale&color=green&graph=hourly&action=view"><u><font size="2" color="#0000FF">/xymon-cgi/showgraph.sh?host=hostname&amp;service=websphereSession_LIVE_COUNT&amp;graph_width=350&amp;graph_height=100&amp;disp=hostname&amp;nostale&amp;color=green&amp;graph=hourly</font></u></a><font size="2">" ALT="xymon graph"></A> <br></td> <td><br> <A HREF="</font><a href="view-source:http://10.75.16.5/xymon-cgi/showgraph.sh?host=deehqap011lhaxm&service=websphereJDBC_jdbclhcms_ConnsInUse&disp=deehqap011lhaxm&nostale&color=green&action=menu"><u><font size="2" color="#0000FF">/xymon-cgi/showgraph.sh?host=hostname&amp;service=websphereJDBC_jdbclhcms_ConnsInUse&amp;disp=hostname&amp;nostale&amp;color=green&amp;action=menu</font></u></a><font size="2">"><IMG BORDER=0 SRC="</font><a href="view-source:http://10.75.16.5/xymon-cgi/showgraph.sh?host=deehqap011lhaxm&service=websphereJDBC_jdbclhcms_ConnsInUse&graph_width=350&graph_height=100&disp=deehqap011lhaxm&nostale&color=green&graph=hourly&action=view"><u><font size="2" color="#0000FF">/xymon-cgi/showgraph.sh?host=hostname&amp;service=websphereJDBC_jdbclhcms_ConnsInUse&amp;graph_width=350&amp;graph_height=100&amp;disp=hostname&amp;nostale&amp;color=green&amp;graph=hourly</font></u></a><font size="2">" ALT="xymon graph"></A> <br></td> </tr> <tr valign="top"> <td><br> <A HREF="</font><a href="view-source:http://10.75.16.5/xymon-cgi/showgraph.sh?host=deehqap011lhaxm&service=websphereJDBC_jdbclhconf_ConnsInUse&disp=deehqap011lhaxm&nostale&color=green&action=menu"><u><font size="2" color="#0000FF">/xymon-cgi/showgraph.sh?host=hostname&amp;service=websphereJDBC_jdbclhconf_ConnsInUse&amp;disp=hostname&amp;nostale&amp;color=green&amp;action=menu</font></u></a><font size="2">"><IMG BORDER=0 SRC="</font><a href="view-source:http://10.75.16.5/xymon-cgi/showgraph.sh?host=deehqap011lhaxm&service=websphereJDBC_jdbclhconf_ConnsInUse&graph_width=350&graph_height=100&disp=deehqap011lhaxm&nostale&color=green&graph=hourly&action=view"><u><font size="2" color="#0000FF">/xymon-cgi/showgraph.sh?host=hostname&amp;service=websphereJDBC_jdbclhconf_ConnsInUse&amp;graph_width=350&amp;graph_height=100&amp;disp=hostname&amp;nostale&amp;color=green&amp;graph=hourly</font></u></a><font size="2">" ALT="xymon graph"></A> <br></td> <td><br> <A HREF="</font><a href="view-source:http://10.75.16.5/xymon-cgi/showgraph.sh?host=deehqap011lhaxm&service=websphereJDBC_jdbclhrep_ConnsInUse&disp=deehqap011lhaxm&nostale&color=green&action=menu"><u><font size="2" color="#0000FF">/xymon-cgi/showgraph.sh?host=hostname&amp;service=websphereJDBC_jdbclhrep_ConnsInUse&amp;disp=hostname&amp;nostale&amp;color=green&amp;action=menu</font></u></a><font size="2">"><IMG BORDER=0 SRC="</font><a href="view-source:http://10.75.16.5/xymon-cgi/showgraph.sh?host=deehqap011lhaxm&service=websphereJDBC_jdbclhrep_ConnsInUse&graph_width=350&graph_height=100&disp=deehqap011lhaxm&nostale&color=green&graph=hourly&action=view"><u><font size="2" color="#0000FF">/xymon-cgi/showgraph.sh?host=hostname&amp;service=websphereJDBC_jdbclhrep_ConnsInUse&amp;graph_width=350&amp;graph_height=100&amp;disp=hostname&amp;nostale&amp;color=green&amp;graph=hourly</font></u></a><font size="2">" ALT="xymon graph"></A> <br></td> <td><br> <A HREF="</font><a href="view-source:http://10.75.16.5/xymon-cgi/showgraph.sh?host=deehqap011lhaxm&service=websphereJDBC_jdbcrelusrDS_ConnsInUse&disp=deehqap011lhaxm&nostale&color=green&action=menu"><u><font size="2" color="#0000FF">/xymon-cgi/showgraph.sh?host=hostname&amp;service=websphereJDBC_jdbcrelusrDS_ConnsInUse&amp;disp=hostname&amp;nostale&amp;color=green&amp;action=menu</font></u></a><font size="2">"><IMG BORDER=0 SRC="</font><a href="view-source:http://10.75.16.5/xymon-cgi/showgraph.sh?host=deehqap011lhaxm&service=websphereJDBC_jdbcrelusrDS_ConnsInUse&graph_width=350&graph_height=100&disp=deehqap011lhaxm&nostale&color=green&graph=hourly&action=view"><u><font size="2" color="#0000FF">/xymon-cgi/showgraph.sh?host=hostname&amp;service=websphereJDBC_jdbcrelusrDS_ConnsInUse&amp;graph_width=350&amp;graph_height=100&amp;disp=hostname&amp;nostale&amp;color=green&amp;graph=hourly</font></u></a><font size="2">" ALT="xymon graph"></A> <br></td> </tr> </table></font><br><br><font size="2">Consider the use of width and height settings to tune the size of the graph table to fit into the output page.</font><br><font size="2">Sometimes i create static pages (with Xymon header and footer of course, 'xymonpage' will be your friend) with those tables, and link them directly (by title keyword) in hosts.cfg.</font><br><font size="2">Very handy if you want to have the same graphs in one view for a 4 node cluster (it will show the working/not working loadbalancing immediately...). </font><br><br><font size="2">If i have a test with more then several values with graphs i prefer just to add the link and not the image, to avoid oversized pages (sometimes i have several dozens of values at one page, all with rrd and graphs behind).</font><br><br><font size="2">HTH</font><br><br><font size="2">Norbert</font><br><br><br><img width="16" height="16" src="cid:1__=4EBB0B9DDFBB35BF8f9e8a93df938690918c4EB@" border="0" alt="Inactive hide details for Galen Johnson ---25/04/2017 00:09:10---Add a line in xymonserver.cfg named GRAPHS_testname="graph1, g"><font size="2" color="#424282">Galen Johnson ---25/04/2017 00:09:10---Add a line in xymonserver.cfg named GRAPHS_testname="graph1, graph2, ..." TL;DR</font><br><br><font size="2" color="#5F5F5F">From:        </font><font size="2">Galen Johnson <Galen.Johnson@sas.com></font><br><font size="2" color="#5F5F5F">To:        </font><font size="2">"xymon@asitshouldbe.com" <xymon@asitshouldbe.com>, "xymon@xymon.com" <xymon@xymon.com></font><br><font size="2" color="#5F5F5F">Date:        </font><font size="2">25/04/2017 00:09</font><br><font size="2" color="#5F5F5F">Subject:        </font><font size="2">Re: [Xymon] Multiple graphs for one test</font><br><font size="2" color="#5F5F5F">Sent by:        </font><font size="2">"Xymon" <xymon-bounces@xymon.com></font><br><hr width="100%" size="2" align="left" noshade style="color:#8091A5; "><br><br><br><tt><font size="2">Add a line in xymonserver.cfg named GRAPHS_testname="graph1, graph2, ..."<br><br>TL;DR<br><br>I believe you just need to add a "GRAPHS" line that describes which graphs you want to show (you should already have them defined in your graphs.cfg file.  I actually use the terabithia rpms which leverages the include files under the .d folders.  This is not special for that build but saves me having to remember to set it up.  For example, I have a test named ssdbbasic...I have a file graphs.d/ssdbbasic.cfg that contains my graph definitions and a file xymonserver.cfg.d/ssdbbasic with the following :<br><br>GRAPHS_ssdbbasic="ssdbbasic,ssdbbasic1"<br><br>TEST2RRD+=",ssdbbasic=ncv"<br><br>SPLITNCV_ssdbbasic="*:GAUGE"<br><br>You can even split out your rrd definitions if you need (to make them manageable)<br><br>=G=<br><br>________________________________________<br>From: Xymon <xymon-bounces@xymon.com> on behalf of xymon@asitshouldbe.com <xymon@asitshouldbe.com><br>Sent: Monday, April 24, 2017 5:32 PM<br>To: xymon@xymon.com<br>Subject: [Xymon] Multiple graphs for one test<br><br>I have a custom test (mytest) that returns multiple pieces of information. The information is showing up on Xymon as expected. I'd like to be able to graph each piece of information separately, but on the same page. Is that possible?<br><br>For a simplified example, mytest returns these two pieces of information:<br><br>threads<br>connections<br><br>I'm using SPLITNCV to store the results in separate rrd files. That's working.<br><br>I'm currently graphing the threads data. I want to graph the connections information on the same mytest page, but in a separate graph.<br><br>In other words, I want to have multiple graphs using different rrd data files appear on the same Xymon test page.<br><br>Is this possible? Does anyone have a quick sample from graphs.cfg and xymonserver.cfg that can point me in the right direction?<br><br>Again, this is a simplified example. The actual test is returning 27 different pieces of information. Some of those are related to each other, some are related to other things. They're all related to the same application, which is why I'd like them to all appear on the same page. Each graph will likely have 2-4 different lines.<br><br>Thanks.<br><br>Ron<br><br>_______________________________________________<br>Xymon mailing list<br>Xymon@xymon.com<br></font></tt><tt><font size="2"><a href="http://lists.xymon.com/mailman/listinfo/xymon">http://lists.xymon.com/mailman/listinfo/xymon</a></font></tt><tt><font size="2"><br></font></tt><br><br><br><BR>
</body></html>