<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 3/20/2017 7:15 PM, Jeremy Laidman
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAAnki7DdqUn6poQ+eHaLTryyFQsDALYhd-UmXD6_SYRDG+r_7A@mail.gmail.com"
      type="cite">
      <div dir="ltr">Does anyone know if it's valid to use multiple NET:
        tags for a host, or will it break stuff? I don't actually use
        NET: tags for its real purpose (for xymonnet to match with
        $XYMONNETWORK) and instead I have some server-side scripts that
        are only meant for hosts on some networks. If I wanted to define
        a host so that it is included in multiple server-side script
        processing, can I do something like this:
        <div><br>
        </div>
        <div>10.1.1.1 <a moz-do-not-send="true"
            href="http://host1.example.com">host1.example.com</a> #
          NET:net1 NET:net2</div>
        <div><br>
        </div>
        <div>Eventually, someone might want to use NET: tags as
          intended, and I don't want to make that not work, or behave
          unexpectedly.</div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
    </blockquote>
    <br>
    Unfortunately, only a single NET property is available for a given
    host. In 4.4 and Terabithia multiple NET's can be assigned to a
    given *poller* (or thing using xymongrep) to filter the hosts by,
    but each host inherently only has a single stored field for this.<br>
    <br>
    Depending on your needs, and if someone is planning on using NETs in
    the future there, you might be able to combine things textually
    (NET:net1.net2). A better option for custom scripting could just be
    to add new arbitrary tags into the hosts.cfg lines and filter using
    xymongrep (locally) or xymon localhost "hostinfo
    XMH_RAW=<string>"<br>
    <br>
    There really isn't a great arbitrary array-of-values field within
    the host record for things like this, other than the config as a
    whole.<br>
    <br>
    <br>
    HTH,<br>
    -jc<br>
  </body>
</html>