<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><!-- Template generated by Exclaimer Mail Disclaimers on 10:36:26 Wednesday, 15 June 2016 -->
<STYLE type=text/css>P.ImprintUniqueID {
        MARGIN: 0cm 0cm 0pt
}
LI.ImprintUniqueID {
        MARGIN: 0cm 0cm 0pt
}
DIV.ImprintUniqueID {
        MARGIN: 0cm 0cm 0pt
}
TABLE.ImprintUniqueIDTable {
        MARGIN: 0cm 0cm 0pt
}
DIV.Section1 {
        page: Section1
}
</STYLE>
<meta http-equiv=Content-Type content="text/html; charset=utf-8" /><meta name=Generator content="Microsoft Word 14 (filtered medium)" /><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><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;}
/* 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><!--[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-AU link=blue vlink=purple>
<P class=ImprintUniqueID><div class=WordSection1><p class=MsoNormal>Hi,<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>A few months ago I managed to get xymongen to create a custom non-green.html that only has red status , this file red.html is created every minute along with non-green.html , critical.html & xymon.html<o:p></o:p></p><p class=MsoNormal>I cannot remember where I added the extra config to run this extra non-green.sh filtering out only the red status and has no eventlog or acklog.<o:p></o:p></p><p class=MsoNormal>I seem to recall adding an extra stanza to a file to create this custom file but I cannot remember where the file is.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I ran a strace of the scheduled xymongen command exactly as it is run by Xymon and you can see the red.html file being created after the normal non-green.html<o:p></o:p></p><p class=MsoNormal><span style='font-size:8.0pt;font-family:"Courier New"'># strace -f ./xymongen --recentgifs --subpagecolumns=2 --report > /tmp/xymongen.txt3 2>&1<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:8.0pt;font-family:"Courier New"'>...<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:8.0pt;font-family:"Courier New"'>open("nongreen.html.tmp", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 3<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:8.0pt;font-family:"Courier New"'>open("/usr/share/xymon/web/stdnongreen_header", O_RDONLY) = 4<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:8.0pt;font-family:"Courier New"'>fstat(4, {st_mode=S_IFREG|0644, st_size=1221, ...}) = 0<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:8.0pt;font-family:"Courier New"'>read(4, "<!DOCTYPE HTML PUBLIC \"-//W3C//D"..., 1221) = 1221<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:8.0pt;font-family:"Courier New"'>close(4)                                = 0<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:8.0pt;font-family:"Courier New"'>fstat(3, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:8.0pt;font-family:"Courier New"'>mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ff815a4a000<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:8.0pt;font-family:"Courier New"'>stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=453, ...}) = 0<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:8.0pt;font-family:"Courier New"'>write(3, "<!DOCTYPE HTML PUBLIC \"-//W3C//D"..., 4096) = 4096<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:8.0pt;font-family:"Courier New"'>stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=453, ...}) = 0<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:8.0pt;font-family:"Courier New"'>open("/usr/share/xymon/web/bulletin_header", O_RDONLY) = -1 ENOENT (No such file or directory)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:8.0pt;font-family:"Courier New"'>write(3, "</a><span class=\"invis\"> | </spa"..., 4096) = 4096<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:8.0pt;font-family:"Courier New"'>open("/usr/share/xymon/data/hist/allevents", O_RDONLY) = -1 ENOENT (No such file or directory)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:8.0pt;font-family:"Courier New"'>open("/var/log/xymon/acknowledge.log", O_RDONLY) = 4<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:8.0pt;font-family:"Courier New"'>stat("/var/log/xymon/acknowledge.log", {st_mode=S_IFREG|0644, st_size=244, ...}) = 0<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:8.0pt;font-family:"Courier New"'>fstat(4, {st_mode=S_IFREG|0644, st_size=244, ...}) = 0<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:8.0pt;font-family:"Courier New"'>mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ff815a49000<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:8.0pt;font-family:"Courier New"'>read(4, "1465774929\t1877328492\t2880\t18773"..., 4096) = 244<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:8.0pt;font-family:"Courier New"'>read(4, "", 4096)                       = 0<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:8.0pt;font-family:"Courier New"'>close(4)                                = 0<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:8.0pt;font-family:"Courier New"'>munmap(0x7ff815a49000, 4096)            = 0<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:8.0pt;font-family:"Courier New"'>open("/usr/share/xymon/web/stdnongreen_footer", O_RDONLY) = 4<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:8.0pt;font-family:"Courier New"'>fstat(4, {st_mode=S_IFREG|0644, st_size=332, ...}) = 0<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:8.0pt;font-family:"Courier New"'>read(4, "<BR><BR>\n\n<TABLE SUMMARY=\"Bottom"..., 332) = 332<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:8.0pt;font-family:"Courier New"'>close(4)                                = 0<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:8.0pt;font-family:"Courier New"'>open("/usr/share/xymon/web/bulletin_footer", O_RDONLY) = -1 ENOENT (No such file or directory)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:8.0pt;font-family:"Courier New"'>write(3, "ends\"><IMG SRC=\"/xymon/gifs/gree"..., 2422) = 2422<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:8.0pt;font-family:"Courier New"'>close(3)                                = 0<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:8.0pt;font-family:"Courier New"'>munmap(0x7ff815a4a000, 4096)            = 0<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:8.0pt;font-family:"Courier New"'>rename("nongreen.html.tmp", "nongreen.html") = 0<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:8.0pt;font-family:"Courier New"'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:8.0pt;font-family:"Courier New"'>open("red.html.tmp", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 3<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:8.0pt;font-family:"Courier New"'>open("/usr/share/xymon/web/stdnongreen_header", O_RDONLY) = 4<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:8.0pt;font-family:"Courier New"'>fstat(4, {st_mode=S_IFREG|0644, st_size=1221, ...}) = 0<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:8.0pt;font-family:"Courier New"'>read(4, "<!DOCTYPE HTML PUBLIC \"-//W3C//D"..., 1221) = 1221<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:8.0pt;font-family:"Courier New"'>close(4)                                = 0<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:8.0pt;font-family:"Courier New"'>fstat(3, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:8.0pt;font-family:"Courier New"'>mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ff815a4a000<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:8.0pt;font-family:"Courier New"'>stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=453, ...}) = 0<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:8.0pt;font-family:"Courier New"'>write(3, "<!DOCTYPE HTML PUBLIC \"-//W3C//D"..., 4096) = 4096<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:8.0pt;font-family:"Courier New"'>stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=453, ...}) = 0<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:8.0pt;font-family:"Courier New"'>open("/usr/share/xymon/web/bulletin_header", O_RDONLY) = -1 ENOENT (No such file or directory)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:8.0pt;font-family:"Courier New"'>open("/usr/share/xymon/web/stdnongreen_footer", O_RDONLY) = 4<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:8.0pt;font-family:"Courier New"'>fstat(4, {st_mode=S_IFREG|0644, st_size=332, ...}) = 0<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:8.0pt;font-family:"Courier New"'>read(4, "<BR><BR>\n\n<TABLE SUMMARY=\"Bottom"..., 332) = 332<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:8.0pt;font-family:"Courier New"'>close(4)                                = 0<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:8.0pt;font-family:"Courier New"'>open("/usr/share/xymon/web/bulletin_footer", O_RDONLY) = -1 ENOENT (No such file or directory)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:8.0pt;font-family:"Courier New"'>write(3, "</a><span class=\"invis\"> | </spa"..., 3570) = 3570<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:8.0pt;font-family:"Courier New"'>close(3)                                = 0<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:8.0pt;font-family:"Courier New"'>munmap(0x7ff815a4a000, 4096)            = 0<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:8.0pt;font-family:"Courier New"'>rename("red.html.tmp", "red.html")      = 0<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Any ideas of where and what I edited to get this custom html file created <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Cheers,<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><table class=MsoTableGrid border=0 cellspacing=0 cellpadding=0 width=491 style=width:368.4pt;border-collapse:collapse;border:none><tr style=height:98.5pt><td width=151 style="width:4.0cm;border:none;border-right:solid #FFC800 1.5pt;padding:0cm 5.4pt 0cm 5.4pt;height:98.5pt"><p class=MsoNormal style=margin-bottom:12.0pt><b><span style=color:black;mso-fareast-language:EN-AU><img width=126 height=134 id="Picture_x0020_1" src='cid:image001.png@01D1C6EC.9D2898C0' /></span></b><b><span style=color:black><o:p></o:p></span></b></p></td><td width=340 valign=bottom style="width:255.0pt;border:none;padding:0cm 5.4pt 0cm 5.4pt;height:98.5pt"><p class=MsoNormal style=margin-left:14.2pt;line-height:110%;text-autospace:none><b><span lang=EN-GB style=font-size:12.0pt;line-height:110%;color:#768692;letter-spacing:-.25pt>Gary McKenner</span></b><b><span style=font-size:12.0pt;line-height:110%;color:#768692><o:p></o:p></span></b></p><p class=MsoNormal style=margin-left:14.2pt;line-height:110%;text-autospace:none><span lang=EN-GB style=font-size:12.0pt;line-height:110%;color:#5A5A5A;letter-spacing:-.25pt>Unix Systems Administrator<o:p></o:p></span></p><p class=MsoNormal style=margin-left:14.2pt;line-height:110%;text-autospace:none><span lang=EN-GB style=font-size:12.0pt;line-height:110%;color:#5A5A5A;letter-spacing:-.25pt>Group IT Operations<o:p></o:p></span></p><p class=MsoNormal style=margin-left:14.2pt;line-height:110%;text-autospace:none><b><span style=font-size:3.0pt;line-height:110%><o:p> </o:p></span></b></p><p class=MsoNormal style=margin-left:14.2pt;line-height:110%;text-autospace:none><b><span lang=EN-GB style=font-size:12.0pt;line-height:110%;color:#FFC800;letter-spacing:-.25pt>I’m for a better WA.<o:p></o:p></span></b></p><p class=MsoNormal style=margin-left:14.2pt;line-height:110%;text-autospace:none><b><span style=font-size:3.0pt;line-height:110%><o:p> </o:p></span></b></p><p class=MsoNormal style=margin-left:14.2pt;line-height:110%;text-autospace:none><span lang=EN-GB style=font-size:10.0pt;line-height:110%;color:#5A5A5A;letter-spacing:-.25pt>Royal Automobile Club of WA (Inc.)</span><span style=font-size:10.0pt;line-height:110%;color:#5A5A5A><o:p></o:p></span></p><p class=MsoNormal style=margin-left:14.2pt;line-height:110%;text-autospace:none><span lang=EN-GB style=font-size:10.0pt;line-height:110%;color:#5A5A5A;letter-spacing:-.25pt>832 Wellington Street, West Perth, WA 6005</span><span style=font-size:10.0pt;line-height:110%;color:#5A5A5A><o:p></o:p></span></p><p class=MsoNormal style=margin-left:14.2pt;line-height:110%><b><span style=font-size:10.0pt;line-height:110%;color:#FFC800;letter-spacing:-.25pt>T</span></b><span style=font-size:10.0pt;line-height:110%;color:#7F7F7F;letter-spacing:-.25pt> </span><span style=font-size:10.0pt;line-height:110%;color:#5A5A5A;letter-spacing:-.25pt>08 </span><span lang=EN-GB style=font-size:10.0pt;line-height:110%;color:#5A5A5A;letter-spacing:-.25pt>9436 4310 </span><b><span style=font-size:10.0pt;line-height:110%;color:#FFC800;letter-spacing:-.25pt>M</span></b><span style=font-size:10.0pt;line-height:110%;color:#7F7F7F;letter-spacing:-.25pt> </span><span style=font-size:10.0pt;line-height:110%;color:#5A5A5A;letter-spacing:-.25pt>0417972910</span><span style=font-size:10.0pt;line-height:110%><o:p></o:p></span></p><p class=MsoNormal style=margin-left:14.2pt;line-height:110%><b><span style=font-size:10.0pt;line-height:110%;color:#FFC800;letter-spacing:-.25pt>E</span></b><span style=font-size:10.0pt;line-height:110%;color:#FFC800;letter-spacing:-.25pt> </span><span style=font-size:10.0pt;line-height:110%;color:#7F7F7F;letter-spacing:-.25pt> </span><span style=font-size:10.0pt;line-height:110%;color:#5A5A5A;letter-spacing:-.25pt>gary.mckenner@rac.com.au</span><b><o:p></o:p></b></p></td></tr></table><p class=MsoNormal><span style=mso-fareast-language:EN-AU><o:p> </o:p></span></p><p class=MsoNormal><o:p> </o:p></p></div></P>
<P class=ImprintUniqueID> </P>
<P class=ImprintUniqueID><BR />
<HR id=HR1 />
<FONT color=#7d7d7d size=2 face=Arial>DISCLAIMER:<BR />Disclaimer. This e-mail is 
private and confidential. If you are not the intended recipient, please advise 
us by return e-mail immediately, and delete the e-mail and any attachments 
without using or disclosing the contents in any way. The views expressed in this 
e-mail are those of the author, and do not represent those of this company 
unless this is clearly indicated. You should scan this e-mail and any 
attachments for viruses. This company accepts no liability for any direct or 
indirect damage or loss resulting from the use of any attachments to this 
e-mail. <BR /></FONT>
<HR id=HR1 />
</P>
<P class=ImprintUniqueID> </P>
<P class=ImprintUniqueID></P></BODY></HTML>