<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Thanks Paul, your first suggestion worked.  All I needed was the %
    at the beginning of the host name, no period necessary before the *<br>
    <br>
    <pre class="moz-signature" cols="72">Kris Springer


</pre>
    <div class="moz-cite-prefix">On 12/6/18 11:28 AM, Root, Paul T
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:C88055D0A02F174F848A984067ACC21C751EB892@podcwmbxex503.ctl.intranet">
      <meta name="ProgId" content="Word.Document">
      <meta name="Generator" content="Microsoft Word 15">
      <meta name="Originator" content="Microsoft Word 15">
      <div class="WordSection1">
        <p class="MsoNormal"><span>Opps,
          </span></p>
        <p class="MsoNormal"><span> </span></p>
        <p class="MsoNormal"><span>HOST=%Upper-Lab-PC.*</span></p>
        <p class="MsoNormal"><span> </span></p>
        <div>
          <div>
            <p class="MsoNormal"><b><span>From:</span></b><span> Xymon
                <a class="moz-txt-link-rfc2396E" href="mailto:xymon-bounces@xymon.com"><xymon-bounces@xymon.com></a> <b><span>On Behalf Of </span>
                </b>Root, Paul T<br>
                <b><span>Sent:</span></b> Thursday, December 06, 2018
                12:27 PM<br>
                <b><span>To:</span></b> 'Kris Springer'
                <a class="moz-txt-link-rfc2396E" href="mailto:kspringer@innovateteam.com"><kspringer@innovateteam.com></a>; Xymon MailingList
                <a class="moz-txt-link-rfc2396E" href="mailto:xymon@xymon.com"><xymon@xymon.com></a><br>
                <b><span>Subject:</span></b> Re: [Xymon] group analysis
                test to multiple hosts</span></p>
          </div>
        </div>
        <p class="MsoNormal"><span> </span></p>
        <p class="MsoNormal"><span>So Upper-Lab-PC is the name of all
            the machines with numbers appended?</span></p>
        <p class="MsoNormal"><span> </span></p>
        <p class="MsoNormal"><span>To invoke the regex in the xymon
            configuration files you need the % character.</span></p>
        <p class="MsoNormal"><span> </span></p>
        <p class="MsoNormal"><span>HOST=%Upper-Lab-PC*</span></p>
        <p class="MsoNormal"><span><span>               
            </span>SVC SoftwareName</span></p>
        <p class="MsoNormal"><span> </span></p>
        <p class="MsoNormal"><span>You can test with xymond_alert</span></p>
        <p class="MsoNormal"><span> </span></p>
        <p class="MsoNormal"><span>xymond_alert --test <hostname>
            <testname>
          </span></p>
        <p class="MsoNormal"><span> </span></p>
        <div>
          <div>
            <p class="MsoNormal"><b><span>From:</span></b><span> Xymon
                <<a href="mailto:xymon-bounces@xymon.com"
                  moz-do-not-send="true">xymon-bounces@xymon.com</a>>
                <b>
                  <span>On Behalf Of </span></b>Kris Springer<br>
                <b><span>Sent:</span></b> Thursday, December 06, 2018
                11:49 AM<br>
                <b><span>To:</span></b> Xymon MailingList <<a
                  href="mailto:xymon@xymon.com" moz-do-not-send="true">xymon@xymon.com</a>><br>
                <b><span>Subject:</span></b> [Xymon] group analysis test
                to multiple hosts</span></p>
          </div>
        </div>
        <p class="MsoNormal"><span> </span></p>
        <p class="MsoNormal"><span>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. <br>
            <br>
            I've tried this HOST wildcard, but it applies the test to
            every host, no matter what name it is.<br>
            <b><span>HOST=Upper-Lab-PC*<br>
                    SVC    SoftwareName</span></b><br>
            <br>
            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.<br>
            <b><span>DISPLAYGROUP="Upper Lab Desktops"</span></b><br>
            <b><span>    SVC    SoftwareName</span></b><br>
            <br>
            I could of course test each host individually, but that
            seems a bit ridiculous when the man page says I can group
            them.  Suggestions?<br>
            <br>
          </span></p>
        <pre><span>-- </span></pre>
        <pre><span> </span></pre>
        <pre><span>Kris Springer</span></pre>
        <pre><span> </span></pre>
        <pre><span> </span></pre>
        <p class="MsoNormal"><span>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.</span></p>
      </div>
      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.
    </blockquote>
    <br>
  </body>
</html>