[Xymon] Get status from command line?

Johan Sjöberg Johan.Sjoberg at deltamanagement.se
Wed Sep 7 15:56:19 CEST 2011


Thanks a lot, that looks like exactly what I want. Thanks to Larry Barber as well for pointing me in the right direction.

/Johan

From: Gore, David W (David) [mailto:david.gore at verizon.com]
Sent: den 7 september 2011 15:21
To: Johan Sjöberg; xymon at xymon.com
Subject: RE: Get status from command line?

~/bin/xymon 0 "xymondboard host=* test=* color=purple"


~David

From: xymon-bounces at xymon.com<mailto:xymon-bounces at xymon.com> [mailto:xymon-bounces at xymon.com]<mailto:[mailto:xymon-bounces at xymon.com]> On Behalf Of Johan Sjöberg
Sent: Wednesday, September 07, 2011 12:46
To: xymon at xymon.com<mailto:xymon at xymon.com>
Subject: [Xymon] Get status from command line?

Hi.

Is it possible to get the current status for specified/all hosts from command line? I want to create a client-side script on the server that checks for purple statuses. We don't want to configure alerts for purple, since there are often multiple tests or hosts that go purple at the same time, and we don't want to be flooded with alerts.
We are currently doing this by checking the nongreen.html file, but that's not a pretty solution.

Best Regards,
Johan Sjöberg

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20110907/5be3f1ed/attachment.html>


More information about the Xymon mailing list