<div dir="ltr">Rod<div><br></div><div>It's my experience that the conn test does not repeat every 5 minutes under normal circumstances. And this is the behaviour I'd prefer to see for all of my alerts. Once I see the first alert, I know whether I need to take action, and until the recovery message comes through, there isn't much benefit in being informed of something I already know.</div><div><br></div><div>Unless you specify REPEAT in your alerts.cfg, you should get an email every 30 minutes. This is how alerts for the conn test would behave on a default installation. But you can specify REPEAT to be whatever you need. For more on REPEAT keyword, refer to the <a href="https://xymon.sourceforge.io/xymon/help/manpages/man5/alerts.cfg.5.html">man page for alerts.cfg</a>, and the help page on <a href="https://xymon.sourceforge.io/xymon/help/xymon-alerts.html">Configuring Xymon Alerts</a>.</div><div><br></div><div>Cheers</div><div>Jeremy</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 20 Aug 2020 at 11:11, Rod <<a href="mailto:rodbass63@gmail.com">rodbass63@gmail.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"><div dir="ltr"><div class="gmail_default" style="font-family:monospace,monospace;font-size:small;color:rgb(0,0,255)">Hi,</div><div class="gmail_default" style="font-family:monospace,monospace;font-size:small;color:rgb(0,0,255)"><br></div><div class="gmail_default" style="font-family:monospace,monospace;font-size:small;color:rgb(0,0,255)">I wrote a script test and it's not sending the emails every 5 minutes. It sends the first email as soon as I initiate the false positive and it will send the email when it recovers but nothing in between -- sometimes I leave the false positive for 20 minutes. I looked in the mail logs and I see the same thing: the email on the first false positive and the email on the recovery but nothing in between. The default conn test does send the email every 5 minutes as expected but. </div><div class="gmail_default" style="font-family:monospace,monospace;font-size:small;color:rgb(0,0,255)"><br></div><div class="gmail_default" style="font-family:monospace,monospace;font-size:small;color:rgb(0,0,255)">Here is what my alerts.cfg looks like for that host:</div><div class="gmail_default" style="font-family:monospace,monospace;font-size:small;color:rgb(0,0,255)"><br></div><div class="gmail_default" style="font-family:monospace,monospace;font-size:small;color:rgb(0,0,255)">HOST=New-xxxxx-Patient-Portal SERVICE=new-xxxx-patient-portal,http,sslcert,conn<br>    MAIL <a href="mailto:rod.xxxxx@xxxxxx.com" target="_blank">rod.xxxxx@xxxxxx.com</a> COLOR=red RECOVERED<br>    MAIL <a href="mailto:rod.xxxxx@xxxxxxx.com" target="_blank">rod.xxxxx@xxxxxxx.com</a> COLOR=yellow RECOVERED<br>    MAIL <a href="mailto:nur.xxxxx@xxxxxxx.com" target="_blank">nur.xxxxx@xxxxxxx.com</a> COLOR=red RECOVERED<br>    MAIL <a href="mailto:john.xxxxx@xxxxxxx.com" target="_blank">john.xxxxx@xxxxxxx.com</a> COLOR=red RECOVERED<br>    MAIL <a href="mailto:oleg.xxxxxx@xxxxxxx.com" target="_blank">oleg.xxxxxx@xxxxxxx.com</a> COLOR=red RECOVERED<br>    MAIL <a href="mailto:pm_xxxxx@xxxxxxx.com" target="_blank">pm_xxxxx@xxxxxxx.com</a> COLOR=yellow RECOVERED<br></div><div class="gmail_default" style="font-family:monospace,monospace;font-size:small;color:rgb(0,0,255)"><br></div><div class="gmail_default" style="font-family:monospace,monospace;font-size:small;color:rgb(0,0,255)">Here is the tasks.cfg</div><div class="gmail_default" style="font-family:monospace,monospace;font-size:small;color:rgb(0,0,255)"><br></div><div class="gmail_default" style="font-family:monospace,monospace;font-size:small;color:rgb(0,0,255)">[new-xxxxxx-patient-portal]<br>   ENVFILE /usr/lib/xymon/server/etc/xymonserver.cfg<br>   CMD /usr/lib/xymon/server/ext/States/nm/<a href="http://xxxxxx.pl" target="_blank">xxxxxx.pl</a><br>   LOGFILE /var/log/xymon/xxxxxxx.log<br>   INTERVAL 5m<br></div><div class="gmail_default" style="font-family:monospace,monospace;font-size:small;color:rgb(0,0,255)"><br></div><div class="gmail_default" style="font-family:monospace,monospace;font-size:small;color:rgb(0,0,255)">Here is the hosts.cfg part:</div><div class="gmail_default" style="font-family:monospace,monospace;font-size:small;color:rgb(0,0,255)">xx.192.160.xx      

<hostname>      #

new-xxxxxx-patient-portal

 sslcert  <a href="https://xxxxxxxx" target="_blank">https://xxxxxxxx</a>  NOCOLUMNS:info,trends,clientlog,ports,procs,files,inode<br></div><div class="gmail_default" style="font-family:monospace,monospace;font-size:small;color:rgb(0,0,255)"><br></div><div class="gmail_default" style="font-family:monospace,monospace;font-size:small;color:rgb(0,0,255)"><br></div><div class="gmail_default" style="font-family:monospace,monospace;font-size:small;color:rgb(0,0,255)">Any help will be appreciated.</div><div class="gmail_default" style="font-family:monospace,monospace;font-size:small;color:rgb(0,0,255)"><br></div></div>
_______________________________________________<br>
Xymon mailing list<br>
<a href="mailto:Xymon@xymon.com" target="_blank">Xymon@xymon.com</a><br>
<a href="http://lists.xymon.com/mailman/listinfo/xymon" rel="noreferrer" target="_blank">http://lists.xymon.com/mailman/listinfo/xymon</a><br>
</blockquote></div>