Xymon Mailing List Archive search

Test for all but one host

list Timothy Williams
Tue, 11 Jun 2019 09:48:52 -0400
Message-Id: <CAMVnr4NPfEhN2uWq1jAsvRr4DLahG9X6W4a4pf=user-40612fb1a446@xymon.invalid>

I haven't used this specifically, but I think you want to use the EXHOST=
statement.

CLASS=powershell
       SVC bbagent status=started   EXHOST=server2

Let us know if that works.

Tim Williams

On Wed, Jun 5, 2019 at 4:18 PM Jaime Kikpole via Xymon <xymon at xymon.com>
wrote:
---------- Forwarded message ----------
From: Jaime Kikpole <user-c575ba5bb612@xymon.invalid>
To: xymon at xymon.com
Cc:
Bcc:
Date: Wed, 5 Jun 2019 16:17:31 -0400
Subject: Test for all but one host
I want to set up a SVC test for all hosts where CLASS=powershell, except
for one host.  Is there a clean way to do this or will I have to set up a
HOST=... entry for every system?

For example, I wanted to do this:
CLASS=powershell
       SVC bbagent status=started

However, one and only one system doesn't run bbagent.  So is there some
kind of "cancel the default" override I can use?  Or will I have to do this:
HOST=server1
       SVC bbagent status=started
HOST=server3
       SVC bbagent status=started

Thanks in advance!


Jaime Kikpole

Director of Technology & Innovations
Cairo-Durham Central School District
(XXX) XXX-XXXX, x59500
cairodurham.org <http://www.cairodurham.org>;

Technical Support:
user-2eed5d3dd752@xymon.invalid
go.cairodurham.org/techtips

[image: Google Certified Educator, Level 1] [image: Google Certified
Educator, Level 2]

This electronic message and any attachment(s) may contain confidential or
legally privileged information protected by law from further disclosure and
is intended only for the individual or entity identified above as the
addressee. If you are not the addressee (or the employee or agency
responsible to deliver it to the addressee), or if this message has been
addressed to you in error, you are hereby notified that you may not copy,
forward, disclose or use any part of this message or any attachment(s).
Please notify the sender immediately by return email or telephone and
permanently delete this message and attachment(s) from your system.


---------- Forwarded message ----------
From: Jaime Kikpole via Xymon <xymon at xymon.com>
To: xymon at xymon.com
Cc:
Bcc:
Date: Wed, 5 Jun 2019 16:17:31 -0400
Subject: [Xymon] Test for all but one host