Hi,
Our development team is creating a dashboard where they show the overall status of the env and other components, for internal metrics of a host they want to pull the data from xymon server. Dashboard will have a cron with curl/ wget to fetch data from xymon server, eg. in case of cpu, xymon will need to return current load avg. and show status color, then accordingly the dashboard will update dashboard.
Does xymon provide api's or can I get data through curl/ wget ?
This dashboard will be similar to what http://status.aws.amazon.com/ has.
Thanks, Deepak
Hi,
you can use the xymon-command (or connect to port 1984 via netcat) and send query-commands to the xymon server.
Have a look at the xymondlog, and xymondboard/xymondxboard commands in xymon(1).
FWIW: I’ve written a wrapper called xymonq (xymon query) as a more convenient way to query the server: <http://www.it-eckert.com/software/xymonq/ <http://www.it-eckert.com/software/xymonq/>>
Cheers Thomas
On 16 Sep 2016, at 19:30, deepak deore <deepakdeore2004 at gmail.com> wrote:
Hi,
Our development team is creating a dashboard where they show the overall status of the env and other components, for internal metrics of a host they want to pull the data from xymon server. Dashboard will have a cron with curl/ wget to fetch data from xymon server, eg. in case of cpu, xymon will need to return current load avg. and show status color, then accordingly the dashboard will update dashboard.
Does xymon provide api's or can I get data through curl/ wget ?
This dashboard will be similar to what http://status.aws.amazon.com/ <http://status.aws.amazon.com/> has.
Thanks, Deepak
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
participants (2)
-
deepakdeore2004@gmail.com
-
thomas.eckert@it-eckert.de