Xymon Mailing List Archive search

html_mail.pl help

list Kevin Attsi King
Thu, 26 May 2011 15:26:05 -0400
Message-Id: <user-b0239d25637a@xymon.invalid>

Thanks David,

 
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.

 
Here is what is being displayed on the nongreen page:

 
7 events acknowledged in the past 240 minutes

Thu May 26 14:19:10 2011 

RcpkNj02Ss7R01A

if_stat

 
"KING, KEVIN (ATTSI)" user-ca972c0c43a8@xymon.invalid 

This is a multi-part message i

Thu May 26 14:19:02 2011 

MplsMnGtSs7R01B

if_stat


"KING, KEVIN (ATTSI)" user-ca972c0c43a8@xymon.invalid 

This is a multi-part message i

Thu May 26 14:17:57 2011 

ElssTxAeSS7R01A

if_load


"KING, KEVIN (ATTSI)" user-ca972c0c43a8@xymon.invalid 

This is a multi-part message i

Thu May 26 14:17:41 2011 

ElssTxAeSS7R01A

if_load


"KING, KEVIN (ATTSI)" user-ca972c0c43a8@xymon.invalid 

This is a multi-part message i

Thu May 26 14:06:46 2011 

BurlMaEhSS7R01B

if_dsc


"KING, KEVIN (ATTSI)" user-ca972c0c43a8@xymon.invalid 

This is a multi-part message i

Thu May 26 14:01:13 2011 

AllnTxDwSS7R01B

if_load


"KING, KEVIN (ATTSI)" user-ca972c0c43a8@xymon.invalid 

This is a multi-part message i

Thu May 26 14:00:21 2011 

CncnOhAmSs7R01B

if_stat


"KING, KEVIN (ATTSI)" user-ca972c0c43a8@xymon.invalid 

This is a multi-part message 

 
-----Original Message-----
From: David Baldwin [mailto:user-cbbf693f2c89@xymon.invalid]
Sent: Wednesday, May 25, 2011 7:58 PM
To: KING, KEVIN (ATTSI)
Cc: xymon at xymon.com
Subject: Re: [Xymon] html_mail.pl help
On 26/05/11 2:26 AM, KING, KEVIN (ATTSI) wrote:
David,
Where can I dl this? I goggled for it. But the hits I got were in the
message archives and those are blocked to be at work.
http://xymonton.org/doku.php/alerts
David.
-Kevin
-----Original Message-----
From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On
Behalf Of David Baldwin
Sent: Tuesday, May 24, 2011 9:51 PM
To: Joe Rindfleisch
Cc: xymon at xymon.com
Subject: Re: [Xymon] html_mail.pl help
Joe,
I got your name from the html_mail.pl script.  I recently updated
to
xymon 4.3.2 and tried to go live in production.
On all alerts it seems to send out alerts to this one email
address.
it seems to send out to all that are intended to receive the emails
but the one email has only two hosts that it monitors and gets
alerts
from.  now it gets emails on the entire environment.
I can't follow what the problem is.
The script gets called from the alerts.cfg file via the SCRIPT
keyword.
The hosts it applies to will be determined by the alerts.cfg file
rules.
The recipient for e-mails is specified by the RCPT environment
variable
when the script is called.
Without the old and new config to compare, I can't help any further.
I see a lot of references to BB, has this script been updated?
The environment variable names have not changed that I know of, but
I
haven't used it with 4.3.x myself yet.
# Version       Author          Details
# -------       ------          -------
# 1.0           Martin Ward     Initial version. See code for
details.
# 1.1           David Baldwin   Clean up, remove hard-coded paths.
# 1.2           David Baldwin   format message as alternative parts
for plaintext and HTML views
thanks for your help
I've CCed to the xymon list which is a better place to get general
help.
David.
--
David Baldwin - IT Unit
Australian Sports Commission          www.ausport.gov.au
Tel 02 62147830 Fax 02 62141830       PO Box 176 Belconnen ACT 2616
user-cbbf693f2c89@xymon.invalid          Leverrier Street Bruce ACT
2617
--
Keep up to date with what's happening in Australian sport visit
http://www.ausport.gov.au
This message is intended for the addressee named and may contain
confidential and privileged information. If you are not the intended
recipient please note that any form of distribution, copying or use
of
this communication or the information in it is strictly prohibited
and
may be unlawful. If you receive this message in error, please delete
it
and notify the sender.
--
--
David Baldwin - IT Unit
Australian Sports Commission          www.ausport.gov.au
Tel 02 62147830 Fax 02 62141830       PO Box 176 Belconnen ACT 2616
user-cbbf693f2c89@xymon.invalid          Leverrier Street Bruce ACT 2617