<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 14 (filtered medium)">
<style><!--
/* Font Definitions */
@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";
        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;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.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><!--[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">
<div class="WordSection1">
<p class="MsoNormal">Hi all,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">My Xymon server is set up so that I have a number of pages for the support teams to monitor (the usual Xymon pages) but I also have a subset of pages that have a cut-down list of servers and monitor items that I want the 24x7 team to look
 at and be alerted on.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I did this by simply duplicating the main pages, changing the IP address to 0.0.0.0 and removing any items I didn’t want alerted on (group-execpt is my friend here!).<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I also configured the alerts.cfg so that the support teams would get emails if things go wrong on their pages and the 24x7 team get alerts if things go wrong on theirs, obviously… one entry looks like this:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Alerts.cfg:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">PAGE=SYS<o:p></o:p></p>
<p class="MsoNormal">     IGNORE HOST=%sys[12].lon.oss.colt.net  SERVICE=procs,ports # These are reported by the sys-jb process<o:p></o:p></p>
<p class="MsoNormal">     SCRIPT /opt/xymon/server/ext/html_mail.pl support@colt.flibble.net  DURATION>10m repeat=1d COLOR=yellow,red<o:p></o:p></p>
<p class="MsoNormal">PAGE=IN-SYS<o:p></o:p></p>
<p class="MsoNormal">     IGNORE HOST=%sys[12].lon.oss.colt.net  SERVICE=procs,ports # These are reported by the sys-jb process<o:p></o:p></p>
<p class="MsoNormal">     SCRIPT /opt/xymon/server/ext/html_mail.pl 24x7@colt.flibble.net DURATION>1h repeat=8h COLOR=red RECOVERED<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">The theory here is that if the disk column goes yellow then only support@colt.flibble.net  gets and email whereas is the disk column goes red then both support@colt.flibble.net and 24x7@colt.flibble.net  get an email.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Sadly only support@colt.flibble.net  gets an email in both cases. Support does always get an email so I know that the actual tests work, I just cannot get the system to send out the second email! I’ve gone through every log file and large
 amounts of debug output to no avail. The output of xymond_alert –dump-config looks fine:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">  173   PAGE=SYS<o:p></o:p></p>
<p class="MsoNormal">        IGNORE REPEAT=30 HOST=%sys[12].lon.oss.colt.net SERVICE=procs,ports STOP<o:p></o:p></p>
<p class="MsoNormal">        SCRIPT /opt/xymon/server/ext/html_mail.pl support@colt.flibble.net FORMAT=SCRIPT REPEAT=1440 COLOR=yellow,red DURATION>10<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">  176   PAGE=IN-SYS<o:p></o:p></p>
<p class="MsoNormal">        IGNORE REPEAT=30 HOST=%sys[12].lon.oss.colt.net SERVICE=procs,ports STOP<o:p></o:p></p>
<p class="MsoNormal">        SCRIPT /opt/xymon/server/ext/html_mail.pl 24x7@colt.flibble.net FORMAT=SCRIPT REPEAT=480 COLOR=red DURATION>60 RECOVERED<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Suggestions are always appreciated,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">|\/|<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>