[Xymon] group analysis test to multiple hosts

Kris Springer kspringer at innovateteam.com
Thu Dec 6 19:57:34 CET 2018


Thanks Paul, your first suggestion worked.  All I needed was the % at 
the beginning of the host name, no period necessary before the *

Kris Springer


On 12/6/18 11:28 AM, Root, Paul T wrote:
>
> Opps,
>
> HOST=%Upper-Lab-PC.*
>
> *From:*Xymon <xymon-bounces at xymon.com> *On Behalf Of *Root, Paul T
> *Sent:* Thursday, December 06, 2018 12:27 PM
> *To:* 'Kris Springer' <kspringer at innovateteam.com>; Xymon MailingList 
> <xymon at xymon.com>
> *Subject:* Re: [Xymon] group analysis test to multiple hosts
>
> So Upper-Lab-PC is the name of all the machines with numbers appended?
>
> To invoke the regex in the xymon configuration files you need the % 
> character.
>
> HOST=%Upper-Lab-PC*
>
> SVC SoftwareName
>
> You can test with xymond_alert
>
> xymond_alert --test <hostname> <testname>
>
> *From:*Xymon <xymon-bounces at xymon.com 
> <mailto:xymon-bounces at xymon.com>> *On Behalf Of *Kris Springer
> *Sent:* Thursday, December 06, 2018 11:49 AM
> *To:* Xymon MailingList <xymon at xymon.com <mailto:xymon at xymon.com>>
> *Subject:* [Xymon] group analysis test to multiple hosts
>
> I've got a list of 30 hosts that all have the same name except a 
> different number at the end. I'd like to test only those hosts for a 
> running service, but I've tried the following entries in my 
> analysis.cfg file with no success.  It either applies the test to 
> every host in my hosts.cfg file, or it doesn't test any of them.  I 
> can't seem to get it dialed in to only test the specific hosts that I 
> want it to.
>
> I've tried this HOST wildcard, but it applies the test to every host, 
> no matter what name it is.
> *HOST=Upper-Lab-PC*
>     SVC    SoftwareName*
>
> I tried DISPLAYGROUP because the list of hosts are defined in a 
> 'group-only' list in my hosts.cfg file, but this didn't apply the test 
> to any hosts at all.
> *DISPLAYGROUP="Upper Lab Desktops"*
> *    SVC    SoftwareName*
>
> I could of course test each host individually, but that seems a bit 
> ridiculous when the man page says I can group them.  Suggestions?
>
> -- 
> Kris Springer
>
> This communication is the property of CenturyLink and may contain 
> confidential or privileged information. Unauthorized use of this 
> communication is strictly prohibited and may be unlawful. If you have 
> received this communication in error, please immediately notify the 
> sender by reply e-mail and destroy all copies of the communication and 
> any attachments.
>
> This communication is the property of CenturyLink and may contain 
> confidential or privileged information. Unauthorized use of this 
> communication is strictly prohibited and may be unlawful. If you have 
> received this communication in error, please immediately notify the 
> sender by reply e-mail and destroy all copies of the communication and 
> any attachments. 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20181206/033ddc74/attachment.html>


More information about the Xymon mailing list