<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
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;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-GB" link="blue" vlink="purple">
<!--ppd1000048--><!--ppd1000049--><!--ppd1000056--><!--ppd1000050--><!--ppd1000052-->
<div class="WordSection1">
<p class="MsoNormal">Hi folks,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I’m sure this is going to be something really silly that I’ve missed – but I’ve been pulling my hair out over this one for a couple of days now.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><b>alerts.cfg<o:p></o:p></b></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New"">$EMAIL_ALERT=carl.inglis@rakon.com<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New"">$LIN_WINDOWS_PROBLEMS=$EMAIL_ALERT<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New"">HOST=%lin(.*) SERVICE=%win(.*)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New"">        MAIL $LIN_WINDOWS_PROBLEMS REPEAT=24h DURATION>1d RECOVERED STOP<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New"">HOST=* EXPAGE=printers<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New"">        MAIL $EMAIL_ALERT REPEAT=1h RECOVERED UNMATCHED STOP<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">When the host “lin-apps-01” has a yellow alert on it’s “winUpdates” services, I expect it to shout about it once every 24h. It is, however, shouting about it once every hour.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">It’s clear that the first HOST line is being ignored – I suspect my regex is incorrect in some way.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Any thoughts or pointers would be appreciated.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Regards,<o:p></o:p></p>
<p class="MsoNormal"><br>
Carl<o:p></o:p></p>
</div>
<br>
<div style="WIDTH: 375px"><img style="MARGIN: 0px" border="0" alt="Rakon Logo" src="cid:e24798b9fb4f4f23919ce6fc9404dbe5"></div>
<br>
<div style="WIDTH: 375px"><font face="Calibri">Carl Inglis </font> <font size="2" face="Calibri"><b><br>
Systems Administrator</b><br>
<br>
<b>Rakon UK Limited</b><br>
</font><font size="1" face="Calibri">Dowsett House, Sadler Road, Lincoln LN6 3RS, United Kingdom<br>
Tel: +44 (0)1522 812630 | Fax:+44 (0) 1522 812664 | Mob: +44 (0) 7786 552915</font><br>
<font color="#34b233" size="1" face="Calibri">Carl.Inglis@rakon.com | www.rakon.com</font></div>
<br>
<div style="WIDTH: 375px"><img style="MARGIN: 0px" border="0" alt="Winner of the NZ Hi-Tech Awards 2011 - Hi-Tech Company of the Decade" src="cid:5184abafb7554ce495618291cc3c9e60"></div>
<br>
<div style="WIDTH: 375px"><font size="1" face="Calibri">Winner of the 2010 Lincolnshire Business of the Year Award<br>
<br>
This message together with any attachments contains confidential information and may be<br>
subject to privilege. If you are not the intended recipient you may not distribute it in any<br>
way, you must notify the sender immediately and delete any copies of the message along<br>
with its attachments.</font></div>
<div style="WIDTH: 375px"><br>
<font size="1" face="Verdana"><em>Rakon UK Ltd is a limited company registered in England and Wales.
<br>
Registered Office: Dowsett House, Sadler Road, Lincoln LN6 3RS <br>
Company Registration Number: 5128090. <br>
<br>
Please be aware that Rakon UK Limited may monitor email traffic data<br>
including the date, time, subject line, sender and recipients for the <br>
purposes of security and usage monitoring. Automated monitoring <br>
systems may also be applied to ascertain whether incoming/outgoing <br>
emails are likely to contain viruses, other destructive devices or <br>
inappropriate content. </em></font></div>
</body>
</html>