Xymon Mailing List Archive search

Untidy e-Mails

7 messages in this thread

list Nick Pettefar · Tue, 22 Oct 2013 17:13:53 +0100 ·
Hi, we have various alert e-mails which look something like this:

yellow Tue Oct 22 17:05:54 IST 2013 - Ports NOT ok &green PUCA (found
2, req. 2 or more) &green ITouch (found 0, req. none) &green Ericsson
(found 2, req. 2 or more) &green TMI (found 2, req. 2 or more) &green
Revenue (found 2, req. 2 or more) &green OpenSky (found 1, req. 1 or
more) &green OpenMarket (found 1, req. 1 or more) &green XIAM (found
1, req. 1 or more) &green Zamano (found 2, req. 2 or more) &green
Tango (found 0, req. none) &green Opera (found 0, req. none) &green BT
(found 0, req. none) &yellow Modeva (found 0, req. 1 or more) &green
Gemalto (found 2, req. none) &green Biogiorno (found 0, req. none)
&green Phonovation (found 3, req. 2 or more) &green Phonovation1
(found 1, req. 1 or more) &green Conductor_acnsvr1 (found 7, req. 1 or
more) &green Conductor_aaxsvr1 (found 8, req. 1 or more)

Is there a way to tidy them up so that the individual coloured alerts
can easily be discerned?

Regards,

Nick Pettefar
list Nick Pettefar · Wed, 23 Oct 2013 00:05:30 +0100 ·
We just use crummy Outlook.  It's set to text only.

Can the e-mail generator of Xymon put a CR/LF in front of each colour?
 That would improve things enormously.

Regards,

Nick Pettefar


On 22 October 2013 23:49, Ford, Alan <user-eb925835b8b9@xymon.invalid> wrote:
Hi,
Can your email readers handle HTML (eg most smartphones)
quoted from Nick Pettefar
-----Original Message-----
From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Nick Pettefar
Sent: Wednesday, 23 October 2013 2:14 AM
To: xymon
Subject: [Xymon] Untidy e-Mails

Hi, we have various alert e-mails which look something like this:

yellow Tue Oct 22 17:05:54 IST 2013 - Ports NOT ok &green PUCA (found 2, req. 2 or more) &green ITouch (found 0, req. none) &green Ericsson (found 2, req. 2 or more) &green TMI (found 2, req. 2 or more) &green Revenue (found 2, req. 2 or more) &green OpenSky (found 1, req. 1 or
more) &green OpenMarket (found 1, req. 1 or more) &green XIAM (found 1, req. 1 or more) &green Zamano (found 2, req. 2 or more) &green Tango (found 0, req. none) &green Opera (found 0, req. none) &green BT (found 0, req. none) &yellow Modeva (found 0, req. 1 or more) &green Gemalto (found 2, req. none) &green Biogiorno (found 0, req. none) &green Phonovation (found 3, req. 2 or more) &green Phonovation1 (found 1, req. 1 or more) &green Conductor_acnsvr1 (found 7, req. 1 or
more) &green Conductor_aaxsvr1 (found 8, req. 1 or more)

Is there a way to tidy them up so that the individual coloured alerts can easily be discerned?

Regards,

Nick Pettefar


This email is to be read subject to the email disclaimer located at http://www.stanwell.com/email-disclaimer.aspx
list Jeremy Ruffer · Wed, 23 Oct 2013 11:34:18 +0100 ·
I used to have Outlook claiming to filter out blank lines. Once I turned this off it was much better.

Jeremy

Sent from my iPad
quoted from Nick Pettefar
On 23 Oct 2013, at 00:05, Nick Pettefar <user-2027539dd102@xymon.invalid> wrote:

We just use crummy Outlook.  It's set to text only.

Can the e-mail generator of Xymon put a CR/LF in front of each colour?
That would improve things enormously.

Regards,

Nick Pettefar

On 22 October 2013 23:49, Ford, Alan <user-eb925835b8b9@xymon.invalid> wrote:
Hi,
Can your email readers handle HTML (eg most smartphones)
-----Original Message-----
From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Nick Pettefar
Sent: Wednesday, 23 October 2013 2:14 AM
To: xymon
Subject: [Xymon] Untidy e-Mails

Hi, we have various alert e-mails which look something like this:

yellow Tue Oct 22 17:05:54 IST 2013 - Ports NOT ok &green PUCA (found 2, req. 2 or more) &green ITouch (found 0, req. none) &green Ericsson (found 2, req. 2 or more) &green TMI (found 2, req. 2 or more) &green Revenue (found 2, req. 2 or more) &green OpenSky (found 1, req. 1 or
more) &green OpenMarket (found 1, req. 1 or more) &green XIAM (found 1, req. 1 or more) &green Zamano (found 2, req. 2 or more) &green Tango (found 0, req. none) &green Opera (found 0, req. none) &green BT (found 0, req. none) &yellow Modeva (found 0, req. 1 or more) &green Gemalto (found 2, req. none) &green Biogiorno (found 0, req. none) &green Phonovation (found 3, req. 2 or more) &green Phonovation1 (found 1, req. 1 or more) &green Conductor_acnsvr1 (found 7, req. 1 or
more) &green Conductor_aaxsvr1 (found 8, req. 1 or more)

Is there a way to tidy them up so that the individual coloured alerts can easily be discerned?

Regards,

Nick Pettefar


This email is to be read subject to the email disclaimer located at http://www.stanwell.com/email-disclaimer.aspx
list Mike Burger · Wed, 23 Oct 2013 16:00:41 -0400 (EDT) ·
If it were running on a Windows system, it might insert CR/LFs...if it's
running on a *nix system, probably not.

That having been said, you may notice in Outlook that it says something
like "Extra line breaks in this message were removed." in a blue line
below the From line and the Sent line.

Click on that, and it provides a popup that reads "Restore line
breaks"...click on that popup and voila...you get your separate lines.

-- 
Mike Burger
http://www.bubbanfriends.org

"It's always suicide-mission this, save-the-planet that. No one ever just
stops by to say 'hi' anymore." --Colonel Jack O'Neill, SG1
quoted from Jeremy Ruffer

We just use crummy Outlook.  It's set to text only.

Can the e-mail generator of Xymon put a CR/LF in front of each colour?
 That would improve things enormously.

Regards,

Nick Pettefar


On 22 October 2013 23:49, Ford, Alan <user-eb925835b8b9@xymon.invalid> wrote:
Hi,
Can your email readers handle HTML (eg most smartphones)
-----Original Message-----
From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Nick Pettefar
Sent: Wednesday, 23 October 2013 2:14 AM
To: xymon
Subject: [Xymon] Untidy e-Mails

Hi, we have various alert e-mails which look something like this:

yellow Tue Oct 22 17:05:54 IST 2013 - Ports NOT ok &green PUCA (found 2,
req. 2 or more) &green ITouch (found 0, req. none) &green Ericsson
(found 2, req. 2 or more) &green TMI (found 2, req. 2 or more) &green
Revenue (found 2, req. 2 or more) &green OpenSky (found 1, req. 1 or
more) &green OpenMarket (found 1, req. 1 or more) &green XIAM (found 1,
req. 1 or more) &green Zamano (found 2, req. 2 or more) &green Tango
(found 0, req. none) &green Opera (found 0, req. none) &green BT (found
0, req. none) &yellow Modeva (found 0, req. 1 or more) &green Gemalto
(found 2, req. none) &green Biogiorno (found 0, req. none) &green
Phonovation (found 3, req. 2 or more) &green Phonovation1 (found 1, req.
1 or more) &green Conductor_acnsvr1 (found 7, req. 1 or
more) &green Conductor_aaxsvr1 (found 8, req. 1 or more)

Is there a way to tidy them up so that the individual coloured alerts
can easily be discerned?

Regards,

Nick Pettefar


This email is to be read subject to the email disclaimer located at
http://www.stanwell.com/email-disclaimer.aspx
list Nick Pettefar · Wed, 23 Oct 2013 21:21:48 +0100 ·
Thanks.  OK, I;ll give it a go tomorrow at work - I don't recall
seeing that message though.

Regards,

Nick Pettefar
quoted from Mike Burger


On 23 October 2013 21:00, Mike Burger <user-cc5c6e80f4c5@xymon.invalid> wrote:
If it were running on a Windows system, it might insert CR/LFs...if it's
running on a *nix system, probably not.

That having been said, you may notice in Outlook that it says something
like "Extra line breaks in this message were removed." in a blue line
below the From line and the Sent line.

Click on that, and it provides a popup that reads "Restore line
breaks"...click on that popup and voila...you get your separate lines.

--
Mike Burger
http://www.bubbanfriends.org

"It's always suicide-mission this, save-the-planet that. No one ever just
stops by to say 'hi' anymore." --Colonel Jack O'Neill, SG1

We just use crummy Outlook.  It's set to text only.

Can the e-mail generator of Xymon put a CR/LF in front of each colour?
 That would improve things enormously.

Regards,

Nick Pettefar


On 22 October 2013 23:49, Ford, Alan <user-eb925835b8b9@xymon.invalid> wrote:
Hi,
Can your email readers handle HTML (eg most smartphones)
-----Original Message-----
From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Nick Pettefar
Sent: Wednesday, 23 October 2013 2:14 AM
To: xymon
Subject: [Xymon] Untidy e-Mails

Hi, we have various alert e-mails which look something like this:

yellow Tue Oct 22 17:05:54 IST 2013 - Ports NOT ok &green PUCA (found 2,
req. 2 or more) &green ITouch (found 0, req. none) &green Ericsson
(found 2, req. 2 or more) &green TMI (found 2, req. 2 or more) &green
Revenue (found 2, req. 2 or more) &green OpenSky (found 1, req. 1 or
more) &green OpenMarket (found 1, req. 1 or more) &green XIAM (found 1,
req. 1 or more) &green Zamano (found 2, req. 2 or more) &green Tango
(found 0, req. none) &green Opera (found 0, req. none) &green BT (found
0, req. none) &yellow Modeva (found 0, req. 1 or more) &green Gemalto
(found 2, req. none) &green Biogiorno (found 0, req. none) &green
Phonovation (found 3, req. 2 or more) &green Phonovation1 (found 1, req.
1 or more) &green Conductor_acnsvr1 (found 7, req. 1 or
more) &green Conductor_aaxsvr1 (found 8, req. 1 or more)

Is there a way to tidy them up so that the individual coloured alerts
can easily be discerned?

Regards,

Nick Pettefar


This email is to be read subject to the email disclaimer located at
http://www.stanwell.com/email-disclaimer.aspx
list Jeremy Laidman · Fri, 25 Oct 2013 11:30:47 +1100 ·
+1 on Outlook removing "extra line breaks" trying to be "helpful".  But I
wouldn't expect this to actually join lines together.

First of all, check if your alert config has FORMAT=PLAIN or FORMAT=TEXT.
 If one, try the other.

You can replace the mail program to insert newlines, by doing something
like the following:

MAILC="/usr/bin/sed 's/$/\r/' | mail"

Another option is to armour your message using MIME, base64 or UU-encoding.
Not sure how though. The problem is that most methods of doing this require
adjustments to the headers, and cannot be done purely by adjustments in the
body. You can do something like this:

MAILC="uuencode message.txt | mail"

This will convert the messages into a form that Outlook sees as an encoded
attachment. The main messages is blank, but the attachment is
"messages.txt" that can be clicked on to view. As the attachment is
uuencoded, all EOL characters are preserved. To get fancy and all
"user-friendly":

MAILC="( printf 'Xymon status message attached.\n\n'; uuencode
messages.txt; ) | mail"

Perhaps you could take a look at the email headers and see of a
content-type is being set? You might be able to override that somehow in
your MAILC config. You can view the email headers in Outlook by
right-clicking on the message (in the message list) and selecting "Message
Options".

J
quoted from Nick Pettefar


On 24 October 2013 07:21, Nick Pettefar <user-2027539dd102@xymon.invalid> wrote:
Thanks.  OK, I;ll give it a go tomorrow at work - I don't recall
seeing that message though.

Regards,

Nick Pettefar


On 23 October 2013 21:00, Mike Burger <user-cc5c6e80f4c5@xymon.invalid> wrote:
If it were running on a Windows system, it might insert CR/LFs...if it's
running on a *nix system, probably not.

That having been said, you may notice in Outlook that it says something
like "Extra line breaks in this message were removed." in a blue line
below the From line and the Sent line.

Click on that, and it provides a popup that reads "Restore line
breaks"...click on that popup and voila...you get your separate lines.

--
Mike Burger
http://www.bubbanfriends.org

"It's always suicide-mission this, save-the-planet that. No one ever just
stops by to say 'hi' anymore." --Colonel Jack O'Neill, SG1

We just use crummy Outlook.  It's set to text only.

Can the e-mail generator of Xymon put a CR/LF in front of each colour?
 That would improve things enormously.

Regards,

Nick Pettefar


On 22 October 2013 23:49, Ford, Alan <user-eb925835b8b9@xymon.invalid> wrote:
Hi,
Can your email readers handle HTML (eg most smartphones)
-----Original Message-----
From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Nick
Pettefar
Sent: Wednesday, 23 October 2013 2:14 AM
To: xymon
Subject: [Xymon] Untidy e-Mails

Hi, we have various alert e-mails which look something like this:

yellow Tue Oct 22 17:05:54 IST 2013 - Ports NOT ok &green PUCA (found
2,
req. 2 or more) &green ITouch (found 0, req. none) &green Ericsson
(found 2, req. 2 or more) &green TMI (found 2, req. 2 or more) &green
Revenue (found 2, req. 2 or more) &green OpenSky (found 1, req. 1 or
more) &green OpenMarket (found 1, req. 1 or more) &green XIAM (found 1,
req. 1 or more) &green Zamano (found 2, req. 2 or more) &green Tango
(found 0, req. none) &green Opera (found 0, req. none) &green BT (found
0, req. none) &yellow Modeva (found 0, req. 1 or more) &green Gemalto
(found 2, req. none) &green Biogiorno (found 0, req. none) &green
Phonovation (found 3, req. 2 or more) &green Phonovation1 (found 1,
req.
1 or more) &green Conductor_acnsvr1 (found 7, req. 1 or
more) &green Conductor_aaxsvr1 (found 8, req. 1 or more)

Is there a way to tidy them up so that the individual coloured alerts
can easily be discerned?

Regards,

Nick Pettefar


This email is to be read subject to the email disclaimer located at
http://www.stanwell.com/email-disclaimer.aspx
list Nick Pettefar · Fri, 25 Oct 2013 10:29:31 +0100 ·
Actually, on closer closer closer investigation, I found an option in Outlook:
  Tools -> Options -> E-mail Options (in the E-mail list) and finally
you see "Remove extra line breaks in plain text messages"

I was looking under the Mail Format tab, naturally!

Now the messages are perfect:

green Thu Oct 24 04:03:50 IST 2013 - Ports ok
&green blah (found 2, req. 2 or more)
&green blahblah (found 0, req. none)
&green blah2 (found 2, req. 2 or more)
&green blahblah2 (found 2, req. 2 or more)
&green blah3 (found 2, req. 2 or more)
&green blahblah3 (found 1, req. 1 or more)
----

 Thanks to all.

Regards,

Nick Pettefar
quoted from Jeremy Laidman


On 25 October 2013 01:30, Jeremy Laidman <user-71895fb2e44c@xymon.invalid> wrote:
+1 on Outlook removing "extra line breaks" trying to be "helpful".  But I
wouldn't expect this to actually join lines together.