From colin.coe@gmail.com Wed Jun 24 08:23:00 2026 From: colin.coe@gmail.com To: xymon@xymon.com Subject: [Xymon] Multi-host graphs Date: Fri, 23 May 2014 06:27:00 +0800 Message-ID: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0489480996290464182==" --===============0489480996290464182== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi Vernon Apologies about the delayed reply. I ended up writing a script to achieve what I needed but thanks for the input anyway. Thanks CC On Fri, May 2, 2014 at 2:02 PM, Vernon Everett = wrote: > Hi Colin > > Here's what I knocked together to solve this problem. > Redacted version, of course. > The actual URLs are available if you view the source of the page where the > graph is currently displayed. > > You can leave it as a pure web page, viewable from an external link or URL. > or > Add it to Xymon as a menu option. > or > Make it appear like a test result in its own column. (I personally like this > if it's for a cluster, because you can show more info than just the graph) > To make it appear like a test, get the client on the Xymon server to send > the guts of web page below as if it was the results of a test. You can salt > it with other information related to what you are monitoring too. Just > depends on how creative you want to get. > > Cheers > Vernon > > > > # cat index.html > > > >

Appendix 1: Performance data for HOST1 - Oracle Database LDOM

> src=3D"http://hobbit/xymon-cgi/showgraph.sh?host=3DHOST1&color=3Dgreen&serv= ice=3Dvmstat&graph_height=3D120&graph_width=3D576&disp=3DHOST1&first=3D1&coun= t=3D1&action=3Dview&graph=3Dweekly"> > src=3D"http://hobbit/xymon-cgi/showgraph.sh?host=3DHOST1&color=3Dgreen&serv= ice=3Dncv%3amemstat&graph_height=3D120&graph_width=3D576&disp=3DHOST1&nostale= &action=3Dview&graph=3Dweekly"> > src=3D"http://hobbit/xymon-cgi/showgraph.sh?host=3DHOST1&color=3Dgreen&serv= ice=3Ddisk&graph_height=3D120&graph_width=3D576&disp=3DHOST1&first=3D25&count= =3D4&nostale&action=3Dview&graph=3Dweekly"> > src=3D"http://hobbit/xymon-cgi/showgraph.sh?host=3DHOST1&color=3Dgreen&serv= ice=3Ddisk&graph_height=3D120&graph_width=3D576&disp=3DHOST1&first=3D25&count= =3D4&nostale&action=3Dview&graph=3Dmonthly"> >

Appendix 2: Performance data for HOST2 - Email Application LDOM

> src=3D"http://hobbit/xymon-cgi/showgraph.sh?host=3DHOST2&color=3Dgreen&serv= ice=3Dvmstat&graph_height=3D120&graph_width=3D576&disp=3DHOST2&first=3D1&coun= t=3D1&action=3Dview&graph=3Dweekly"> > src=3D"http://hobbit/xymon-cgi/showgraph.sh?host=3DHOST2&color=3Dgreen&serv= ice=3Dncv%3amemstat&graph_height=3D120&graph_width=3D576&disp=3DHOST2&nostale= &action=3Dview&graph=3Dweekly"> > src=3D"http://hobbit/xymon-cgi/showgraph.sh?host=3DHOST2&color=3Dgreen&serv= ice=3Ddisk&graph_height=3D120&graph_width=3D576&disp=3DHOST2&first=3D5&count= =3D4&nostale&action=3Dview&graph=3Dweekly"> >

Appendix 3: Performance data for HOST3 - Hosted Applications

> src=3D"http://hobbit/xymon-cgi/showgraph.sh?host=3DHOST3&color=3Dgreen&serv= ice=3Dvmstat&graph_height=3D120&graph_width=3D576&disp=3DHOST3&first=3D1&coun= t=3D1&action=3Dview&graph=3Dweekly"> > src=3D"http://hobbit/xymon-cgi/showgraph.sh?host=3DHOST3&color=3Dgreen&serv= ice=3Dncv%3amemstat&graph_height=3D120&graph_width=3D576&disp=3DHOST3&nostale= &action=3Dview&graph=3Dweekly"> > src=3D"http://hobbit/xymon-cgi/showgraph.sh?host=3DHOST3&service=3Ddisk&gra= ph_width=3D576&graph_height=3D120&first=3D1&count=3D4&disp=3DHOST3&nostale&co= lor=3Dgreen&action=3Dview&graph=3Dweekly"> > src=3D"http://hobbit/xymon-cgi/showgraph.sh?host=3DHOST3&service=3Ddisk&gra= ph_width=3D576&graph_height=3D120&first=3D5&count=3D4&disp=3DHOST3&nostale&co= lor=3Dgreen&action=3Dview&graph=3Dweekly"> > > > > > On 30 April 2014 10:36, Vernon Everett wrote: >> >> Hi Colin >> >> I needed something similar for reporting purposes. >> If it's only the graphs you want, it's really easy to create your own web >> page, with links to the graphs. >> Each graph has its own URL, add them to the page, and you're done. >> You can then add backgrounds, headers and footers to make it look like >> part of Xymon if you want, or even get your server to send the page to Xym= on >> as if it was a test result from a client, and it will have its own column = on >> the display. >> I would send you the example I created, but it's at my other client, and I >> will only be back there on Friday. >> Ping me then, and I will send you what I have. >> >> Cheers >> Vernon >> >> >> >> On 30 April 2014 10:30, Colin Coe wrote: >>> >>> Hi all >>> >>> Could someone point me at a guide for $SUBJECT? >>> >>> What I want to end up with is CPU/Load graphs for 4 related servers on >>> a separate page. >>> >>> Similarly, I want CPU/Load and networking graphs for a dozen different >>> related servers on a separate page. >>> >>> Thanks >>> >>> CC >>> >>> >>> -- >>> RHCE#805007969328369 >>> _______________________________________________ >>> Xymon mailing list >>> Xymon at xymon.com >>> http://lists.xymon.com/mailman/listinfo/xymon >> >> >> >> >> -- >> "Accept the challenges so that you can feel the exhilaration of victory" >> - General George Patton > > > > > -- > "Accept the challenges so that you can feel the exhilaration of victory" > - General George Patton --=20 RHCE#805007969328369 --===============0489480996290464182==--