<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=utf-8"><meta name=Generator content="Microsoft Word 12 (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:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        color:black;}
h2
        {mso-style-priority:9;
        mso-style-link:"Heading 2 Char";
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:18.0pt;
        font-family:"Times New Roman","serif";
        color:black;
        font-weight:bold;}
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.MsoPlainText, li.MsoPlainText, div.MsoPlainText
        {mso-style-priority:99;
        mso-style-link:"Plain Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.5pt;
        font-family:Consolas;
        color:black;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";
        color:black;}
span.PlainTextChar
        {mso-style-name:"Plain Text Char";
        mso-style-priority:99;
        mso-style-link:"Plain Text";
        font-family:Consolas;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
span.Heading2Char
        {mso-style-name:"Heading 2 Char";
        mso-style-priority:9;
        mso-style-link:"Heading 2";
        font-family:"Cambria","serif";
        color:#4F81BD;
        font-weight:bold;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        color:black;}
span.EmailStyle25
        {mso-style-type:personal-reply;
        font-family:"Arial","sans-serif";
        color:#1F497D;
        font-weight:normal;
        font-style:normal;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 92.4pt 1.0in 92.4pt;}
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 bgcolor=white lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-family:"Arial","sans-serif";color:#1F497D'>David,<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Arial","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:"Arial","sans-serif";color:#1F497D'>I am clear on the Xymon-mailack.  The text issue is resolved by the changing to text for the response. I am testing the delay feature. I sent a sample of the mail to you off list. IS there a way to stop the repeating background color band? It should only have the one on the left side. Is that something outlook is doing or the output from the html_mail.pl?  Oh and anything on the mail message length? The full message is not sent. No link to the test page in the message. <o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Arial","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:"Arial","sans-serif";color:#1F497D'>-Kevin<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Arial","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div style='border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt'><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'> David Baldwin [mailto:david.baldwin@ausport.gov.au] <br><b>Sent:</b> Thursday, May 26, 2011 7:01 PM<br><b>To:</b> KING, KEVIN (ATTSI)<br><b>Cc:</b> xymon@xymon.com<br><b>Subject:</b> Re: [Xymon] html_mail.pl help<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Kevin, <o:p></o:p></p><p class=MsoPlainText>Thanks David,<o:p></o:p></p><p class=MsoPlainText> <o:p></o:p></p><p class=MsoPlainText>I have it running now. I am finding that when using the email ack function these messages are not getting parsed correctly. It is not seeing the delay or and comment text.<o:p></o:p></p><p class=MsoPlainText> <o:p></o:p></p><p class=MsoNormal style='margin-left:5.25pt'><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'>I have never used or tested the email ack function, so not sure what it is expecting.<br><br><br><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'>Quite likely xymon-mailack doesn't handle MIME messages ("This is a multi-part message" would indicate this), since there would be too many options to have to cater for.<br><br>It is possibly a side effect in your MUA (Outlook?) of receiving an html formatted alert e-mail that by default an HTML reply will be generated - can you configure your mail client to do a plain text e-mail reply? Thunderbird has this feature in the address book selectable per user.<br><br>Did it work before you tried html_mail.pl ?<br><br>I don't think it is a limitation of html_mail.pl as such, unless some extra headers could assist in hinting to a MUA to reply in plaintext only.<br><br>David. <o:p></o:p></span></p><p class=MsoPlainText>> -----Original Message-----<o:p></o:p></p><p class=MsoPlainText>> From: David Baldwin [<a href="mailto:david.baldwin@ausport.gov.au">mailto:david.baldwin@ausport.gov.au</a>]<o:p></o:p></p><p class=MsoPlainText>> Sent: Wednesday, May 25, 2011 7:58 PM<o:p></o:p></p><p class=MsoPlainText>> To: KING, KEVIN (ATTSI)<o:p></o:p></p><p class=MsoPlainText>> Cc: <a href="mailto:xymon@xymon.com">xymon@xymon.com</a><o:p></o:p></p><p class=MsoPlainText>> Subject: Re: [Xymon] html_mail.pl help<o:p></o:p></p><p class=MsoPlainText>> <o:p></o:p></p><p class=MsoPlainText>> On 26/05/11 2:26 AM, KING, KEVIN (ATTSI) wrote:<o:p></o:p></p><p class=MsoPlainText>> > David,<o:p></o:p></p><p class=MsoPlainText>> ><o:p></o:p></p><p class=MsoPlainText>> > Where can I dl this? I goggled for it. But the hits I got were in the<o:p></o:p></p><p class=MsoPlainText>> > message archives and those are blocked to be at work.<o:p></o:p></p><p class=MsoPlainText>> ><o:p></o:p></p><p class=MsoPlainText>> <a href="http://xymonton.org/doku.php/alerts">http://xymonton.org/doku.php/alerts</a><o:p></o:p></p><p class=MsoPlainText>> <o:p></o:p></p><p class=MsoPlainText>> David.<o:p></o:p></p><p class=MsoPlainText>> > -Kevin<o:p></o:p></p><p class=MsoPlainText>> ><o:p></o:p></p><p class=MsoPlainText>> >> -----Original Message-----<o:p></o:p></p><p class=MsoPlainText>> >> From: <a href="mailto:xymon-bounces@xymon.com">xymon-bounces@xymon.com</a> [<a href="mailto:xymon-bounces@xymon.com">mailto:xymon-bounces@xymon.com</a>] On<o:p></o:p></p><p class=MsoPlainText>> >> Behalf Of David Baldwin<o:p></o:p></p><p class=MsoPlainText>> >> Sent: Tuesday, May 24, 2011 9:51 PM<o:p></o:p></p><p class=MsoPlainText>> >> To: Joe Rindfleisch<o:p></o:p></p><p class=MsoPlainText>> >> Cc: <a href="mailto:xymon@xymon.com">xymon@xymon.com</a><o:p></o:p></p><p class=MsoPlainText>> >> Subject: Re: [Xymon] html_mail.pl help<o:p></o:p></p><p class=MsoPlainText>> >><o:p></o:p></p><p class=MsoPlainText>> >> Joe,<o:p></o:p></p><p class=MsoPlainText>> >>> I got your name from the html_mail.pl script.  I recently updated<o:p></o:p></p><p class=MsoPlainText>> to<o:p></o:p></p><p class=MsoPlainText>> >>> xymon 4.3.2 and tried to go live in production.<o:p></o:p></p><p class=MsoPlainText>> >>><o:p></o:p></p><p class=MsoPlainText>> >>> On all alerts it seems to send out alerts to this one email<o:p></o:p></p><p class=MsoPlainText>> address.<o:p></o:p></p><p class=MsoPlainText>> >>> it seems to send out to all that are intended to receive the emails<o:p></o:p></p><p class=MsoPlainText>> >>> but the one email has only two hosts that it monitors and gets<o:p></o:p></p><p class=MsoPlainText>> > alerts<o:p></o:p></p><p class=MsoPlainText>> >>> from.  now it gets emails on the entire environment.<o:p></o:p></p><p class=MsoPlainText>> >>><o:p></o:p></p><p class=MsoPlainText>> >> I can't follow what the problem is.<o:p></o:p></p><p class=MsoPlainText>> >><o:p></o:p></p><p class=MsoPlainText>> >> The script gets called from the alerts.cfg file via the SCRIPT<o:p></o:p></p><p class=MsoPlainText>> > keyword.<o:p></o:p></p><p class=MsoPlainText>> >> The hosts it applies to will be determined by the alerts.cfg file<o:p></o:p></p><p class=MsoPlainText>> >> rules.<o:p></o:p></p><p class=MsoPlainText>> >> The recipient for e-mails is specified by the RCPT environment<o:p></o:p></p><p class=MsoPlainText>> > variable<o:p></o:p></p><p class=MsoPlainText>> >> when the script is called.<o:p></o:p></p><p class=MsoPlainText>> >><o:p></o:p></p><p class=MsoPlainText>> >> Without the old and new config to compare, I can't help any further.<o:p></o:p></p><p class=MsoPlainText>> >>> I see a lot of references to BB, has this script been updated?<o:p></o:p></p><p class=MsoPlainText>> >>><o:p></o:p></p><p class=MsoPlainText>> >> The environment variable names have not changed that I know of, but<o:p></o:p></p><p class=MsoPlainText>> I<o:p></o:p></p><p class=MsoPlainText>> >> haven't used it with 4.3.x myself yet.<o:p></o:p></p><p class=MsoPlainText>> >>> # Version       Author          Details<o:p></o:p></p><p class=MsoPlainText>> >>> # -------       ------          -------<o:p></o:p></p><p class=MsoPlainText>> >>> # 1.0           Martin Ward     Initial version. See code for<o:p></o:p></p><p class=MsoPlainText>> >> details.<o:p></o:p></p><p class=MsoPlainText>> >>> # 1.1           David Baldwin   Clean up, remove hard-coded paths.<o:p></o:p></p><p class=MsoPlainText>> >>> # 1.2           David Baldwin   format message as alternative parts<o:p></o:p></p><p class=MsoPlainText>> >>> for plaintext and HTML views<o:p></o:p></p><p class=MsoPlainText>> >>><o:p></o:p></p><p class=MsoPlainText>> >>> thanks for your help<o:p></o:p></p><p class=MsoPlainText>> >> I've CCed to the xymon list which is a better place to get general<o:p></o:p></p><p class=MsoPlainText>> >> help.<o:p></o:p></p><p class=MsoPlainText>> >><o:p></o:p></p><p class=MsoPlainText>> >> David.<o:p></o:p></p><p class=MsoPlainText>> >><o:p></o:p></p><p class=MsoPlainText>> >> --<o:p></o:p></p><p class=MsoPlainText>> >> David Baldwin - IT Unit<o:p></o:p></p><p class=MsoPlainText>> >> Australian Sports Commission          <a href="http://www.ausport.gov.au">www.ausport.gov.au</a><o:p></o:p></p><p class=MsoPlainText>> >> Tel 02 62147830 Fax 02 62141830       PO Box 176 Belconnen ACT 2616<o:p></o:p></p><p class=MsoPlainText>> >> <a href="mailto:david.baldwin@ausport.gov.au">david.baldwin@ausport.gov.au</a>          Leverrier Street Bruce ACT<o:p></o:p></p><p class=MsoPlainText>> 2617<o:p></o:p></p><p class=MsoPlainText>> >><o:p></o:p></p><p class=MsoPlainText>> >><o:p></o:p></p><p class=MsoPlainText>> >><o:p></o:p></p><p class=MsoPlainText>> > ---------------------------------------------------------------------<o:p></o:p></p><p class=MsoPlainText>> --<o:p></o:p></p><p class=MsoPlainText>> >> --------------<o:p></o:p></p><p class=MsoPlainText>> >> Keep up to date with what's happening in Australian sport visit<o:p></o:p></p><p class=MsoPlainText>> >> <a href="http://www.ausport.gov.au">http://www.ausport.gov.au</a><o:p></o:p></p><p class=MsoPlainText>> >><o:p></o:p></p><p class=MsoPlainText>> >> This message is intended for the addressee named and may contain<o:p></o:p></p><p class=MsoPlainText>> >> confidential and privileged information. If you are not the intended<o:p></o:p></p><p class=MsoPlainText>> >> recipient please note that any form of distribution, copying or use<o:p></o:p></p><p class=MsoPlainText>> of<o:p></o:p></p><p class=MsoPlainText>> >> this communication or the information in it is strictly prohibited<o:p></o:p></p><p class=MsoPlainText>> and<o:p></o:p></p><p class=MsoPlainText>> >> may be unlawful. If you receive this message in error, please delete<o:p></o:p></p><p class=MsoPlainText>> > it<o:p></o:p></p><p class=MsoPlainText>> >> and notify the sender.<o:p></o:p></p><p class=MsoPlainText>> >><o:p></o:p></p><p class=MsoPlainText>> > ---------------------------------------------------------------------<o:p></o:p></p><p class=MsoPlainText>> --<o:p></o:p></p><p class=MsoPlainText>> >> --------------<o:p></o:p></p><p class=MsoPlainText>> >> _______________________________________________<o:p></o:p></p><p class=MsoPlainText>> >> Xymon mailing list<o:p></o:p></p><p class=MsoPlainText>> >> <a href="mailto:Xymon@xymon.com">Xymon@xymon.com</a><o:p></o:p></p><p class=MsoPlainText>> >> <a href="http://lists.xymon.com/mailman/listinfo/xymon">http://lists.xymon.com/mailman/listinfo/xymon</a><o:p></o:p></p><p class=MsoPlainText>> <o:p></o:p></p><p class=MsoPlainText>> <o:p></o:p></p><p class=MsoPlainText>> --<o:p></o:p></p><p class=MsoPlainText>> David Baldwin - IT Unit<o:p></o:p></p><p class=MsoPlainText>> Australian Sports Commission          <a href="http://www.ausport.gov.au">www.ausport.gov.au</a><o:p></o:p></p><p class=MsoPlainText>> Tel 02 62147830 Fax 02 62141830       PO Box 176 Belconnen ACT 2616<o:p></o:p></p><p class=MsoPlainText>> <a href="mailto:david.baldwin@ausport.gov.au">david.baldwin@ausport.gov.au</a>          Leverrier Street Bruce ACT 2617<o:p></o:p></p><p class=MsoPlainText> <o:p></o:p></p><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'><br><br><br><o:p></o:p></span></p><pre>-- <o:p></o:p></pre><pre>David Baldwin - IT Unit<o:p></o:p></pre><pre>Australian Sports Commission          <a href="http://www.ausport.gov.au">www.ausport.gov.au</a><o:p></o:p></pre><pre>Tel 02 62147830 Fax 02 62141830       PO Box 176 Belconnen ACT 2616<o:p></o:p></pre><pre><a href="mailto:david.baldwin@ausport.gov.au">david.baldwin@ausport.gov.au</a>          Leverrier Street Bruce ACT 2617<o:p></o:p></pre></div></div></body></html>