<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Kevin,
<blockquote
cite="mid:DE8E5E40AD4D424B8B2819F1D5E75C0E1681B1D5@WWDCEXCH27.US.Cingular.Net"
type="cite">
<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]-->
<div class="WordSection1"><br>
<p class="MsoNormal"><span style="font-family:
"Arial","sans-serif"; color: rgb(31, 73,
125);">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.</span></p>
</div>
</blockquote>
All good!<br>
<blockquote
cite="mid:DE8E5E40AD4D424B8B2819F1D5E75C0E1681B1D5@WWDCEXCH27.US.Cingular.Net"
type="cite">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-family:
"Arial","sans-serif"; color: rgb(31, 73,
125);"> 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?</span></p>
</div>
</blockquote>
Sorry, I didn't realise the repeating background was still a
problem. I misunderstood when you said you'd got it working...<br>
<br>
The repeating background image is odd. I haven't seen that before.
What version of Outlook do you use?<br>
<br>
I just checked the HTML in the message, and the background images I
am using (which I'm pretty sure are the default set) actually have
an image width of 1800 pixels, so any repeat (which is actually
default behaviour) should be way off to the right out of sight.<br>
<br>
The script should be fixed to use CSS body properties rather than
various properties of the BODY tag, in which case the image could
possibly be made less wide, although then the background colour
would have to be black rather than the status colour. Unlikely that
would cause much problem in this day and age though?<br>
<blockquote
cite="mid:DE8E5E40AD4D424B8B2819F1D5E75C0E1681B1D5@WWDCEXCH27.US.Cingular.Net"
type="cite">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-family:
"Arial","sans-serif"; color: rgb(31, 73,
125);"> Oh and anything on the mail message length? The
full message is not sent. No link to the test page in the
message. </span></p>
</div>
</blockquote>
I've just gone back and checked what html_mail.pl code I am using in
prod vs Xymonton version - I'd added a link at the top in my current
prod version, but will use CSS to do backgrounds and make background
explicitly not repeat in 'x' direction...<br>
<br>
I will create a new html_mail.pl v 1.3 tomorrow when I get time to
clean it up. It would be easier if xymonton had some kind of version
control then keeping it up to date would be a bit easier.<br>
<br>
David.<br>
<blockquote
cite="mid:DE8E5E40AD4D424B8B2819F1D5E75C0E1681B1D5@WWDCEXCH27.US.Cingular.Net"
type="cite">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-family:
"Arial","sans-serif"; color: rgb(31, 73,
125);"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:
"Arial","sans-serif"; color: rgb(31, 73,
125);"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:
"Arial","sans-serif"; color: rgb(31, 73,
125);">-Kevin<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:
"Arial","sans-serif"; color: rgb(31, 73,
125);"><o:p> </o:p></span></p>
<div style="border-width: medium medium medium 1.5pt;
border-style: none none none solid; border-color:
-moz-use-text-color -moz-use-text-color -moz-use-text-color
blue; padding: 0in 0in 0in 4pt;">
<div>
<div style="border-right: medium none; border-width: 1pt
medium medium; border-style: solid none none;
border-color: rgb(181, 196, 223) -moz-use-text-color
-moz-use-text-color; padding: 3pt 0in 0in;">
<p class="MsoNormal"><b><span style="font-size: 10pt;
font-family:
"Tahoma","sans-serif"; color:
windowtext;">From:</span></b><span style="font-size:
10pt; font-family:
"Tahoma","sans-serif"; color:
windowtext;"> David Baldwin
[<a class="moz-txt-link-freetext" href="mailto:david.baldwin@ausport.gov.au">mailto:david.baldwin@ausport.gov.au</a>] <br>
<b>Sent:</b> Thursday, May 26, 2011 7:01 PM<br>
<b>To:</b> KING, KEVIN (ATTSI)<br>
<b>Cc:</b> <a class="moz-txt-link-abbreviated" href="mailto:xymon@xymon.com">xymon@xymon.com</a><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: 12pt; 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: 12pt;
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
moz-do-not-send="true"
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 moz-do-not-send="true"
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 moz-do-not-send="true"
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
moz-do-not-send="true"
href="mailto:xymon-bounces@xymon.com">xymon-bounces@xymon.com</a>
[<a moz-do-not-send="true"
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
moz-do-not-send="true" 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 moz-do-not-send="true"
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
moz-do-not-send="true"
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
moz-do-not-send="true" 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
moz-do-not-send="true" href="mailto:Xymon@xymon.com">Xymon@xymon.com</a><o:p></o:p></p>
<p class="MsoPlainText">> >> <a
moz-do-not-send="true"
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 moz-do-not-send="true"
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 moz-do-not-send="true"
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: 12pt;
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 moz-do-not-send="true" 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 moz-do-not-send="true" 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>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
David Baldwin - IT Unit
Australian Sports Commission <a class="moz-txt-link-abbreviated" href="http://www.ausport.gov.au">www.ausport.gov.au</a>
Tel 02 62147830 Fax 02 62141830 PO Box 176 Belconnen ACT 2616
<a class="moz-txt-link-abbreviated" href="mailto:david.baldwin@ausport.gov.au">david.baldwin@ausport.gov.au</a> Leverrier Street Bruce ACT 2617
</pre>
</body>
</html>