[Xymon] Multi-host graphs

Colin Coe colin.coe at gmail.com
Fri May 23 00:27:00 CEST 2014


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 <everett.vernon at gmail.com> 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
> <!DOCTYPE html>
> <html>
> <body>
> <H3>Appendix 1: Performance data for HOST1 - Oracle Database LDOM</H3>
> <img
> src="http://hobbit/xymon-cgi/showgraph.sh?host=HOST1&color=green&service=vmstat&graph_height=120&graph_width=576&disp=HOST1&first=1&count=1&action=view&graph=weekly">
> <img
> src="http://hobbit/xymon-cgi/showgraph.sh?host=HOST1&color=green&service=ncv%3amemstat&graph_height=120&graph_width=576&disp=HOST1&nostale&action=view&graph=weekly">
> <img
> src="http://hobbit/xymon-cgi/showgraph.sh?host=HOST1&color=green&service=disk&graph_height=120&graph_width=576&disp=HOST1&first=25&count=4&nostale&action=view&graph=weekly">
> <img
> src="http://hobbit/xymon-cgi/showgraph.sh?host=HOST1&color=green&service=disk&graph_height=120&graph_width=576&disp=HOST1&first=25&count=4&nostale&action=view&graph=monthly">
> <H3>Appendix 2: Performance data for HOST2 - Email Application LDOM</H3>
> <img
> src="http://hobbit/xymon-cgi/showgraph.sh?host=HOST2&color=green&service=vmstat&graph_height=120&graph_width=576&disp=HOST2&first=1&count=1&action=view&graph=weekly">
> <img
> src="http://hobbit/xymon-cgi/showgraph.sh?host=HOST2&color=green&service=ncv%3amemstat&graph_height=120&graph_width=576&disp=HOST2&nostale&action=view&graph=weekly">
> <img
> src="http://hobbit/xymon-cgi/showgraph.sh?host=HOST2&color=green&service=disk&graph_height=120&graph_width=576&disp=HOST2&first=5&count=4&nostale&action=view&graph=weekly">
> <H3>Appendix 3: Performance data for HOST3 - Hosted Applications</H3>
> <img
> src="http://hobbit/xymon-cgi/showgraph.sh?host=HOST3&color=green&service=vmstat&graph_height=120&graph_width=576&disp=HOST3&first=1&count=1&action=view&graph=weekly">
> <img
> src="http://hobbit/xymon-cgi/showgraph.sh?host=HOST3&color=green&service=ncv%3amemstat&graph_height=120&graph_width=576&disp=HOST3&nostale&action=view&graph=weekly">
> <img
> src="http://hobbit/xymon-cgi/showgraph.sh?host=HOST3&service=disk&graph_width=576&graph_height=120&first=1&count=4&disp=HOST3&nostale&color=green&action=view&graph=weekly">
> <img
> src="http://hobbit/xymon-cgi/showgraph.sh?host=HOST3&service=disk&graph_width=576&graph_height=120&first=5&count=4&disp=HOST3&nostale&color=green&action=view&graph=weekly">
> </body>
> </html>
>
>
> On 30 April 2014 10:36, Vernon Everett <everett.vernon at gmail.com> 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 Xymon
>> 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 <colin.coe at gmail.com> 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



-- 
RHCE#805007969328369



More information about the Xymon mailing list