Xymon Mailing List Archive search

list of enabled clients

3 messages in this thread

list Kevin VerMeer · Tue, 14 Oct 2014 06:17:21 -0500 ·
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

[cid:image001.jpg at 01CFE776.832C9D10]

XXXX Baker Road, Minnetonka, MN XXXXX

TOLL FREE XXX-XXX-XXXX x 520  |  FAX XXX-XXX-XXXX
www.peoplenetonline.com<http://www.peoplenetonline.com/>;

PeopleNet is the leading provider of fleet mobility systems to the transportation industry, including truckload, LTL, private, and energy service fleets.
list Thomas Eckert · Tue, 14 Oct 2014 14:23:45 +0200 ·
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
quoted from Kevin VerMeer

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>
quoted from Kevin VerMeer
 XXXX Baker Road, Minnetonka, MN XXXXX
 TOLL FREE XXX-XXX-XXXX x 520  |  FAX XXX-XXX-XXXX

www.peoplenetonline.com
quoted from Kevin VerMeer
 PeopleNet is the leading provider of fleet mobility systems to the transportation industry, including truckload, LTL, private, and energy service fleets.
 
list Kevin VerMeer · Tue, 14 Oct 2014 08:08:12 -0500 ·
Thanks Thomas.
Just what I was looking for!
quoted from Thomas Eckert

From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Thomas Eckert
Sent: Tuesday, October 14, 2014 7:24 AM
To: xymon at xymon.com
Subject: Re: [Xymon] list of enabled clients

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<mailto: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<http://www.peoplenetonline.com/>;

PeopleNet is the leading provider of fleet mobility systems to the transportation industry, including truckload, LTL, private, and energy service fleets.