<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    Here's my Slack Alert instructions.<br>
    <a class="moz-txt-link-freetext" href="http://www.krisspringer.com/posts/xymon-slack-alerts.php">http://www.krisspringer.com/posts/xymon-slack-alerts.php</a><br>
    <br>
    <pre class="moz-signature" cols="72">Kris Springer



</pre>
    <div class="moz-cite-prefix">On 5/4/22 11:47, Josh Luthman wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAN9qwJ8aPWJw3Tjb08jNGdPQKmcUwUw7URC8qgfcgk9cpLJ+pw@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">Kris,
        <div><br>
        </div>
        <div>I would love to see Slack alerts if you wouldn't mind.</div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">On Wed, May 4, 2022 at 12:54
          PM Kris Springer <<a
            href="mailto:kspringer@innovateteam.com"
            moz-do-not-send="true" class="moz-txt-link-freetext">kspringer@innovateteam.com</a>>
          wrote:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0px 0px 0px
          0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Here's
          some details of how I send email alerts. They're completely <br>
          customizable.  Hope it helps.<br>
          <a
            href="http://www.krisspringer.com/posts/xymon-email-alerts.php"
            rel="noreferrer" target="_blank" moz-do-not-send="true"
            class="moz-txt-link-freetext">http://www.krisspringer.com/posts/xymon-email-alerts.php</a><br>
          <br>
          I have since switched to Slack alerts instead of emails, but
          those are a <br>
          bit more complex. Let me know if you want instructions for
          that.<br>
          <br>
          Kris Springer<br>
          <br>
          <br>
          On 5/4/22 09:38, Adam Thorn wrote:<br>
          > On 04/05/2022 12:22, Jonathan Bishop wrote:<br>
          >> Hello fellow xymoners,<br>
          >><br>
          >> I have recently setup monitoring of the existence of
          files in a <br>
          >> particular directory, and this seems to be working
          well. When I setup <br>
          >> an alert for a "red" condition, I receive an email
          message with what <br>
          >> appears to be some html tags within it, eg:<br>
          >><br>
          >>        &red <a <br>
          >> href="/xymon-cgi/svcstatus.sh?CLIENT=<a
            href="http://myserver.com" rel="noreferrer" target="_blank"
            moz-do-not-send="true">myserver.com</a>&amp;SECTION=<a class="moz-txt-link-freetext" href="file:/path/to/myfile">file:/path/to/myfile</a>">/path/to/myfile</a><br>
          >>        File is a  - should be file<br>
          >><br>
          >> I have tried setting the alert "FORMAT" to TEXT,
          PLAIN and SMS, but <br>
          >> this doesn't seem to have any effect. I have also
          tried sending the <br>
          >> alert through the <a href="http://html_mail.pl"
            rel="noreferrer" target="_blank" moz-do-not-send="true">html_mail.pl</a>
          extension scripts, and this doesn't <br>
          >> seem to have any effect either. All I really want is
          a plain text <br>
          >> message, which is easy to read. Does anyone know how
          I could clean <br>
          >> this up?<br>
          >><br>
          >> Example Alert Config:<br>
          >> HOST=<a href="http://myserver.com" rel="noreferrer"
            target="_blank" moz-do-not-send="true">myserver.com</a><br>
          >>          MAIL <a
            href="mailto:alerts@someone.who.cares.com" target="_blank"
            moz-do-not-send="true" class="moz-txt-link-freetext">alerts@someone.who.cares.com</a>
          REPEAT=240m COLOR=red <br>
          >> FORMAT=TEXT<br>
          ><br>
          > This may be a red herring, but I wonder if you could try
          changing the <br>
          > order of the different parts of the config line to e.g.<br>
          ><br>
          > HOST=<a href="http://myserver.com" rel="noreferrer"
            target="_blank" moz-do-not-send="true">myserver.com</a>
          COLOR=red MAIL <a href="mailto:alerts@someone.who.cares.com"
            target="_blank" moz-do-not-send="true"
            class="moz-txt-link-freetext">alerts@someone.who.cares.com</a>
          <br>
          > FORMAT=TEXT REPEAT=240m<br>
          ><br>
          > Quoting selectively from the stock comments at the top of
          my <br>
          > alerts.cfg file ....<br>
          ><br>
          > This file is made up from RULES and RECIPIENTS.<br>
          > A RULE is a filter made from ... (etc etc)<br>
          > A RECIPIENT can be a MAIL address, or a SCRIPT.
          Recipients can also <br>
          > have rules associated with them...<br>
          ><br>
          > ..so for your rule, HOST and COLOR constitute the "RULE",
          MAIL is the <br>
          > "RECIPIENT", and REPEAT and FORMAT then modify the
          "RECIPIENT". Your <br>
          > rule mixes together tokens from the RULE and RECIPIENT
          parts, which <br>
          > might lead to the config rule not being parsed properly.<br>
          ><br>
          > (Or maybe this is nonsense and the order doesn't matter
          here; I <br>
          > suspect it would take a careful reading of the source to
          see how the <br>
          > different tokens in that config file get parsed)<br>
          ><br>
          > Adam<br>
          > _______________________________________________<br>
          > Xymon mailing list<br>
          > <a href="mailto:Xymon@xymon.com" target="_blank"
            moz-do-not-send="true" class="moz-txt-link-freetext">Xymon@xymon.com</a><br>
          > <a href="http://lists.xymon.com/mailman/listinfo/xymon"
            rel="noreferrer" target="_blank" moz-do-not-send="true"
            class="moz-txt-link-freetext">http://lists.xymon.com/mailman/listinfo/xymon</a><br>
          <br>
          _______________________________________________<br>
          Xymon mailing list<br>
          <a href="mailto:Xymon@xymon.com" target="_blank"
            moz-do-not-send="true" class="moz-txt-link-freetext">Xymon@xymon.com</a><br>
          <a href="http://lists.xymon.com/mailman/listinfo/xymon"
            rel="noreferrer" target="_blank" moz-do-not-send="true"
            class="moz-txt-link-freetext">http://lists.xymon.com/mailman/listinfo/xymon</a><br>
        </blockquote>
      </div>
    </blockquote>
    <br>
  </body>
</html>