[Xymon] Test for all but one host

Timothy Williams tlwilliams4 at vcu.edu
Tue Jun 11 15:48:52 CEST 2019


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 <jkikpole at cairodurham.org>
> 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
> (518) 622-8543, x59500
> cairodurham.org <http://www.cairodurham.org>
>
> Technical Support:
> help at cairodurham.org
> 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
> _______________________________________________
> 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/20190611/227d8993/attachment.html>


More information about the Xymon mailing list