Xymon Mailing List Archive search

Displaying all information in another custom webpage

2 messages in this thread

list Anoop Mohan · Fri, 13 Feb 2015 10:59:59 +0100 ·
Hello,
    I need to disply satus information of specific systems in another
webpage with custom design. This website will be running on another
webserver. I tried to get xml report from xymon, but I am not able to get
history information in this case. Is there any way to do this easily ?

Thanks
Anoop
list Jeremy Laidman · Mon, 16 Feb 2015 11:35:25 +1100 ·
quoted from Anoop Mohan
On 13 February 2015 at 20:59, Anoop Mohan <user-db650c8b8fc9@xymon.invalid> wrote:
Hello,
    I need to disply satus information of specific systems in another
webpage with custom design. This website will be running on another
webserver. I tried to get xml report from xymon, but I am not able to get
history information in this case. Is there any way to do this easily ?
Anoop, you can get the history information for a server/test by sending a
web request to the Xymon server.  For example:

curl "
http://xymon-server.example.com/history.sh?HISTFILE=servername.example.com.conn&ENTRIES=20
"

The output is in HTML, so could be parsed for the raw data, or could be
presented directly in the web page.