Xymon Mailing List Archive search

list of enabled clients

list Thomas Eckert
Tue, 14 Oct 2014 14:23:45 +0200
Message-Id: <user-8da5898f15b7@xymon.invalid>

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 <user-169ead9c8f04@xymon.invalid> 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>
 XXXX Baker Road, Minnetonka, MN XXXXX
 TOLL FREE XXX-XXX-XXXX x 520  |  FAX XXX-XXX-XXXX
www.peoplenetonline.com
 PeopleNet is the leading provider of fleet mobility systems to the transportation industry, including truckload, LTL, private, and energy service fleets.