<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"><meta name="Generator" content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"Myriad Pro";}
@font-face
        {font-family:"Myriad Pro Light";}
@font-face
        {font-family:"Myriad Web Pro";}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";
        mso-fareast-language:EN-US;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style></head><body lang="EN-ZA" link="blue" vlink="purple"><div class="WordSection1"><p class="MsoNormal">Good day</p><p class="MsoNormal"> </p><p class="MsoNormal">I have a test that determines I a remote web service is responding. The webservice is managed by someone outside of my environment.</p>
<p class="MsoNormal"> </p><p class="MsoNormal">The test fails a couple of times during the day, manual tests confirm that the xymon test is ok. The webservice will fail for maybe 30 to 60 minutes then will restore.</p><p class="MsoNormal">
If the Xymon test runs while the service is unavailable, I will receive a alert and by the time I can investigate all is ok. </p><p class="MsoNormal"> </p><p class="MsoNormal">I added the DURATION>30 or DURATION>1h to the alerts.cnf to only send me alerts if the service has been down for a period of time, but I still receive the alert as soon as Xymon detects the problem.</p>
<p class="MsoNormal"> </p><p class="MsoNormal">Is there another way to delay alerts or do I have some error in my configs?</p><p class="MsoNormal"> </p><p class="MsoNormal">My alerts.cfg</p><p class="MsoNormal">==============</p>
<p class="MsoNormal">PAGE=%prod SERVICE=institution,wsdl</p><p class="MsoNormal">        MAIL <a href="mailto:cellno-xymon@sms.domain.co.za">cellno-xymon@sms.domain.co.za</a> DURATION>1h REPEAT 30m COLOR=red FORMAT=SMS</p>
<p class="MsoNormal">        SCRIPT /usr/lib/xymon/server/ext/smsplus.sh <a href="mailto:cell-xymon@sms.domain.co.za">cell-xymon@sms.domain.co.za</a> DURATION>1h REPEAT 30m COLOR=red</p><p class="MsoNormal"> </p><p class="MsoNormal">
Set debug option in tasks.cfg</p><p class="MsoNormal">CMD xymond_channel --channel=page  --log=$XYMONSERVERLOGS/alert.log xymond_alert --checkpoint-file=$XYMONTMP/alert.chk --checkpoint-interval=600 –debug</p><p class="MsoNormal">
 </p><p class="MsoNormal">Alert.log</p><p class="MsoNormal">=======</p><p class="MsoNormal">10687 2013-03-07 09:29:30 xymond_alert: Got message 237 @@page#237/<a href="http://domain.co.za">domain.co.za</a>|1362641370.822859|196.14.77.34|<a href="http://domain.co.za">domain.co.za</a>|wsdl|196.14.77.34|1362643170|red|green|1362641370|prod|555815|linux|linux||</p>
<p class="MsoNormal">10687 2013-03-07 09:29:30 startpos 2171, fillpos 2171, endpos -1</p><p class="MsoNormal">10687 2013-03-07 09:29:30 Got page message from domain.co.za:wsdl</p><p class="MsoNormal">10687 2013-03-07 09:29:30 Alert status changed from 0 to 1</p>
<p class="MsoNormal">10687 2013-03-07 09:29:30 Found a first matching rule</p><p class="MsoNormal">10687 2013-03-07 09:29:30 No more secondary matching rule</p><p class="MsoNormal">10687 2013-03-07 09:29:30 No files modified, skipping reload of /usr/lib/xymon/server/etc/alerts.cfg</p>
<p class="MsoNormal">10687 2013-03-07 09:29:30 No files modified, skipping reload of /usr/lib/xymon/server/etc/holidays.cfg</p><p class="MsoNormal">10687 2013-03-07 09:29:30 Found a first matching rule</p><p class="MsoNormal">
10687 2013-03-07 09:29:30 No more secondary matching rule</p><p class="MsoNormal">10687 2013-03-07 09:29:30 Found a first matching rule</p><p class="MsoNormal">10687 2013-03-07 09:29:30 1 alerts to go</p><p class="MsoNormal">
12977 2013-03-07 09:29:30 send_alert domain.co.za:wsdl state 0</p><p class="MsoNormal">12977 2013-03-07 09:29:30 Found a first matching rule</p><p class="MsoNormal">12977 2013-03-07 09:29:30   repeat <a href="http://domain.co.za">domain.co.za</a>|wsdl|mail|<a href="mailto:operations@domain.co.za">operations@domain.co.za</a> at 0</p>
<p class="MsoNormal">12977 2013-03-07 09:29:30   Alert for domain.co.za:wsdl to <a href="mailto:operations@domain.co.za">operations@domain.co.za</a></p><p class="MsoNormal">10687 2013-03-07 09:29:30 Found a first matching rule</p>
<p class="MsoNormal">10687 2013-03-07 09:29:30 No more secondary matching rule</p><p class="MsoNormal">10687 2013-03-07 09:29:30 Want msg 238, startpos 2171, fillpos 2171, endpos -1, usedbytes=0, bufleft=264068</p><p class="MsoNormal">
12977 2013-03-07 09:29:30   repeat <a href="http://domain.co.za">domain.co.za</a>|wsdl|mail|REPEAT at 0</p><p class="MsoNormal">12977 2013-03-07 09:29:30   Alert for domain.co.za:wsdl to REPEAT</p><p class="MsoNormal">12977 2013-03-07 09:29:30   repeat <a href="http://domain.co.za">domain.co.za</a>|wsdl|mail|30m at 0</p>
<p class="MsoNormal">12977 2013-03-07 09:29:30   Alert for domain.co.za:wsdl to 30m</p><p class="MsoNormal">12977 2013-03-07 09:29:30   repeat <a href="http://domain.co.za">domain.co.za</a>|wsdl|mail|<a href="mailto:cellno-xymon@sms.conclude.co.za">cellno-xymon@sms.conclude.co.za</a> at 0</p>
<p class="MsoNormal">12977 2013-03-07 09:29:30   Alert for domain.co.za:wsdl to <a href="mailto:cellno-xymon@sms.conclude.co.za">cellno-xymon@sms.conclude.co.za</a></p><p class="MsoNormal">12977 2013-03-07 09:29:30   repeat <a href="http://domain.co.za">domain.co.za</a>|wsdl|mail|REPEAT at 0</p>
<p class="MsoNormal">12977 2013-03-07 09:29:30   Alert for domain.co.za:wsdl to REPEAT</p><p class="MsoNormal">12977 2013-03-07 09:29:30   repeat <a href="http://domain.co.za">domain.co.za</a>|wsdl|mail|30m at 0</p><p class="MsoNormal">
12977 2013-03-07 09:29:30   Alert for domain.co.za:wsdl to 30m</p><p class="MsoNormal">12977 2013-03-07 09:29:30   repeat <a href="http://domain.co.za">domain.co.za</a>|wsdl|script|<a href="mailto:cellno-xymon@sms.conclude.co.za">cellno-xymon@sms.conclude.co.za</a> at 0</p>
<p class="MsoNormal">12977 2013-03-07 09:29:30   Alert for domain.co.za:wsdl to <a href="mailto:cellno-xymon@sms.conclude.co.za">cellno-xymon@sms.conclude.co.za</a></p><p class="MsoNormal">12977 2013-03-07 09:29:30   repeat <a href="http://domain.co.za">domain.co.za</a>|wsdl|script|REPEAT at 0</p>
<p class="MsoNormal">12977 2013-03-07 09:29:30   Alert for domain.co.za:wsdl to REPEAT</p><p class="MsoNormal">12977 2013-03-07 09:29:30   repeat <a href="http://domain.co.za">domain.co.za</a>|wsdl|script|30m at 0</p><p class="MsoNormal">
12977 2013-03-07 09:29:30   Alert for domain.co.za:wsdl to 30m</p><p class="MsoNormal">12977 2013-03-07 09:29:30 No more secondary matching rule</p><p class="MsoNormal"> </p><p class="MsoNormal"><span lang="EN-US" style="font-family:"Myriad Web Pro"">Kind Regards,</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:8.0pt;font-family:"Myriad Web Pro""> </span></p><p class="MsoNormal"><span style="font-family:"Myriad Web Pro"">Chris Pretorius</span><span style="font-family:"Myriad Web Pro""></span></p>
<p class="MsoNormal"><span style="font-family:"Myriad Web Pro";color:red">Systems Administrator</span><span lang="EN-US" style></span></p><p class="MsoNormal"><span lang="EN-US" style> </span></p><p class="MsoNormal">
<span style><img width="220" height="86" id="Picture_x0020_1" src="cid:image002.jpg@01CE1B22.70CE7660" alt="logo small"></span><span lang="EN-US" style></span></p><p class="MsoNormal"><b><i><span lang="EN-US" style="font-size:18.0pt;font-family:"Myriad Pro Light";color:#7f7f7f">Your market gateway</span></i></b></p>
<p class="MsoNormal"><b><i><span lang="EN-US" style="font-size:10.0pt;color:#7f7f7f"> </span></i></b></p><p class="MsoNormal"><span style="font-family:"Myriad Pro"">  </span><span style="font-family:"Myriad Web Pro"">Southdowns Office Park</span><span style="font-family:"Myriad Web Pro"">, Block B 2<sup>nd</sup> Floor SF02, Cnr John Vorster Drive & Karee Street, Highveld, Centurion</span><span style="font-size:5.0pt;font-family:"Myriad Web Pro""></span></p>
<p class="MsoNormal" style="margin-left:36.0pt;text-indent:36.0pt"><span style="font-size:3.0pt;font-family:"Myriad Web Pro""> </span></p><p class="MsoNormal" style="margin-left:36.0pt;text-indent:36.0pt"><span style="font-family:"Myriad Web Pro"">  Tel:</span><span style="font-size:12.0pt;font-family:"Myriad Web Pro""> 012 684 6600  <img width="5" height="7" id="_x0000_i1028" src="cid:image004.jpg@01CE1B22.70CE7660" alt="dot red">  Fax: 012 684 6629  <img width="5" height="7" id="Picture_x0020_3" src="cid:image004.jpg@01CE1B22.70CE7660" alt="dot red"></span><span style="font-size:5.0pt;font-family:"Myriad Web Pro""></span></p>
<p class="MsoNormal" style="margin-left:36.0pt;text-indent:36.0pt"><span style="font-size:5.0pt;font-family:"Myriad Web Pro""> </span></p><p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:12.0pt;font-family:"Myriad Web Pro"">                  <span style="color:red">Email: <a href="mailto:chris.pretorius@signio.co.za"><span style="color:blue">chris.pretorius@signio.co.za</span></a>   <img border="0" width="5" height="7" id="Picture_x0020_4" src="cid:image004.jpg@01CE1B22.70CE7660" alt="dot red">    Web: <a href="http://www.signio.co.za/"><span style="color:blue">www.signio.co.za</span></a></span></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:12.0pt;font-family:"Myriad Pro";color:red"> </span></p><p class="MsoNormal"><span style><img border="0" width="1111" height="46" id="Picture_x0020_2" src="cid:image006.jpg@01CE1B22.70CE7660" alt="3"></span><span lang="EN-US" style="font-size:3.0pt"></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:3.0pt"> </span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:3.0pt"> </span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:3.0pt"> </span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:3.0pt"> </span></p><p class="MsoNormal"><span style="font-size:8.0pt">This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify us via email : <a href="mailto:support@signio.co.za"><span style="color:blue">support@signio.co.za</span></a> . </span></p>
<p class="MsoNormal"><span style="font-size:8.0pt">Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company. </span></p><p class="MsoNormal">
<span style="font-size:8.0pt">Finally, the recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. </span><span style></span></p>
<p class="MsoNormal"><span style> </span></p><p class="MsoNormal"><span style="font-size:8.0pt">Signio (PTY) LTD, Reg Nr: 2003/001508/07</span><span style></span></p><p class="MsoNormal" style="margin-left:36.0pt;text-indent:36.0pt">
<span style="font-family:"Myriad Pro""> </span></p><p class="MsoNormal"><span lang="EN-US" style> </span></p><p class="MsoNormal"> </p></div></body></html>