[Xymon] list of enabled clients

Thomas Eckert thomas.eckert at it-eckert.de
Tue Oct 14 14:23:45 CEST 2014


Hi Kevin,

the disable-feature of Xymon works on a per service basis.
A list of all hosts, that have _any_ service disabled can be queried with

	xymon 127.0.0.1 “xymondboard color=blue” | cut -d”|” -f 1 | sort | uniq

To get a list of not-disabled hosts replace the `blue` by `green,yellow,red,purple` (all colours except `blue`).
I could not find a negation operator — maybe just an oversight.

HTH
Thomas

On 14 Oct 2014, at 13:17, Kevin VerMeer <KVerMeer at peoplenetonline.com> wrote:

> My hosts.cfg file has more than 100 clients, of which several may have alerts disabled at any given time.
> I would guess there is a xymon command to determine if a particular client is enabled/disabled, or to get a list of all enabled/disabled clients. 
> I have tried to check the man pages, but must not be looking in the right spot.
>  
> What I’d really like is a way to determine all currently enabled clients.
>  
> Thanks,
> Kevin VerMeer
> 
> <image001.jpg>
>  
> 4400 Baker Road, Minnetonka, MN 55343
>  
> TOLL FREE 888-346-3486 x 520  |  FAX 952-908-6131
> www.peoplenetonline.com
>  
> PeopleNet is the leading provider of fleet mobility systems to the transportation industry, including truckload, LTL, private, and energy service fleets.
>  
> _______________________________________________
> Xymon mailing list
> Xymon at xymon.com
> http://lists.xymon.com/mailman/listinfo/xymon

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


More information about the Xymon mailing list