<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:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (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]-->
<title>Mail formats for alerts</title>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @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:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
p
        {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";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=blue>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>I did my own mashup – we have a
number of tests we’ve written that generate many lines of status, most of
which won’t make it to any kind of pager or phone.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>The key chunk in my routine is the
following two lines:<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'># cut the message down to 150 characters
(allows spatch room for<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'># a security code on echelon pages<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>TEXT=`echo "${BBALPHAMSG}" |
grep "&red"`<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>TEXTP=`echo "!BB ! - ${BBHOSTSVC}
[${ACKCODE}] $FIXED- ${TEXT}" | paste -sd" " |  cut -c
1-150`<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>And we have an explicit rule for the
support group – if you get paged on one of these multi-test tests, you
get to fix ALL the errors reported, not just the one in the page.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Tom<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=3 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> Ward, Martin
[mailto:Martin.Ward@colt.net] <br>
<b><span style='font-weight:bold'>Sent:</span></b> Tuesday, July 01, 2008 4:52
AM<br>
<b><span style='font-weight:bold'>To:</span></b> <st1:PersonName w:st="on">hobbit@hswn.dk</st1:PersonName><br>
<b><span style='font-weight:bold'>Subject:</span></b> [hobbit] Mail formats for
alerts</span></font><o:p></o:p></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>

<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Hi
all,</span></font> <o:p></o:p></p>

<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Having
got the alerts working, I have been looking at the mail formats available.
Since I will be configuring my alerts to use email I have not examined the
script or SMS versions yet.</span></font><o:p></o:p></p>

<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>The
default TEXT format sends an email with all the info I need in it, but the
errors at the top look like this:</span></font> <o:p></o:p></p>

<p><font size=2 face="Courier New"><span style='font-size:10.0pt;font-family:
"Courier New"'>red Tue Jul  1 03:32:23 BST 2008 - Processes NOT ok</span></font>
<br>
<font size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>&green
/opt/InfoVista/Agent/jre/bin/java (found 1, req. between 1 and 1) &green
/opt/InfoVista/Agent/bin/wrapper (found 1, req. between 1 and 1) &green
/opt/InfoVista/VistaMart/bin/vmnotifier.sh (found 1, req. between 1 and 1)
&red tnslsnr (found 2, req. between 1 and 1) &green oracleIVDB (found
25, req. between 1 and 99) &green ora_lgwr_IVDB (found 1, req. between 1
and 99)</span></font><o:p></o:p></p>

<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>I
get an alert on the first line and all the monitored processes on the second,
so I have to pick and choose to find the one that's a problem (tnslsnr in this
case). Being lazy<bs><bs><bs><bs> someone who wants to
use technology to help them I would like any/all of the following:</span></font><o:p></o:p></p>

<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>1.
Have the HTML page emailed to me in MIME format, so I can view it even if I
don't have a permanent internet connection (format=HTML?)</span></font><o:p></o:p></p>

<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>2.
Have the alert highlighted in the colour for their status, so at least I can
see the error line quickly (format=MIME?)</span></font><o:p></o:p></p>

<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>3.
Have the alerts displayed on per line, so at least I can more easily spot the
alert text. Henrik, is this possible to do? Have you already done/planned this
in the next version? I'm willing to have a poke at it myself but it may take
some time.</span></font><o:p></o:p></p>

<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>I
am currently thinking that maybe I will need to write a script that will parse
the data and generate a MIME-format email along the lines of 2. above…
unless someone has already done this?</span></font><o:p></o:p></p>

<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>What
thoughts have you all?</span></font> <o:p></o:p></p>

<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>|\/|artin</span></font>
<o:p></o:p></p>

<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>-- </span></font><br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Martin
Ward</span></font> <br>
<b><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial;
font-weight:bold'>Network Systems Operations Specialist</span></font></b> <br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>DDI:   
+44 (0) 20 7863 5218</span></font> <br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Fax:
   +44 (0) 20 7863 5610</span></font> <br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Mob:
   +44 (0) 7971 97 77 21</span></font> <br>
<a href="file:///\\www.colt.net"><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>www.colt.net</span></font></a> <o:p></o:p></p>

<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Data
| Voice | Managed Services </span></font><o:p></o:p></p>

<p><font size=2 color=green face=Arial><span style='font-size:10.0pt;
font-family:Arial;color:green'>Help reduce your carbon footprint | Think before
you print</span></font> <o:p></o:p></p>

<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>COLT
Telecommunications, Beaufort House, 15 St Botolph Street, London, EC3A 7QN UK</span></font>
<br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Registered
in England and Wales, registered number 02452736, VAT number GB 645 4205 50</span></font>
<o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><br>
<br>
*************************************************************************************<br>
The message is intended for the named addressee only and may not be disclosed
to or used by anyone else, nor may it be copied in any way. <br>
<br>
The contents of this message and its attachments are confidential and may also
be subject to legal privilege. If you are not the named addressee and/or have
received this message in error, please advise us by e-mailing security@colt.net
and delete the message and any attachments without retaining any copies. <br>
<br>
Internet communications are not secure and COLT does not accept responsibility
for this message, its contents nor responsibility for any viruses. <br>
<br>
No contracts can be created or varied on behalf of COLT Telecommunications, its
subsidiaries or affiliates ("COLT") and any other party by email
Communications unless expressly agreed in writing with such other party. <br>
<br>
Please note that incoming emails will be automatically scanned to eliminate
potential viruses and unsolicited promotional emails. For more information
refer to www.colt.net or contact us on +44(0)20 7390 3900.<o:p></o:p></span></font></p>

</div>

</body>

</html>

<pre>CONFIDENTIALITY NOTICE:  This email and any attachments are for the 
exclusive and confidential use of the intended recipient.  If you are not
the intended recipient, please do not read, distribute or take action in 
reliance upon this message. If you have received this in error, please 
notify us immediately by return email and promptly delete this message 
and its attachments from your computer system. We do not waive  
attorney-client or work product privilege by the transmission of this
message.