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]
4400 Baker Road, Minnetonka, MN 55343
TOLL FREE 888-346-3486 x 520 | FAX 952-908-6131 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.
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
Thanks Thomas. Just what I was looking for!
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 <KVerMeer at peoplenetonline.com<mailto: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<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.
Xymon mailing list Xymon at xymon.com<mailto:Xymon at xymon.com> http://lists.xymon.com/mailman/listinfo/xymon
participants (2)
-
KVerMeer@peoplenetonline.com
-
thomas.eckert@it-eckert.de