<!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 text="#000000" bgcolor="#ffffff">
John,<br>
<br>
The "corrupted characters" you are seeing are the ASCII characters
corresponding to the number after the \ character. e.g. \4 -> ^D,
\44 -> $, etc. It looks like the string is being passed to
something like a string formatting function (e.g. sprintf) without
being properly quoted to escape '\' characters.<br>
<br>
What version of Xymon are you using?<br>
<br>
David.<br>
<blockquote
cite="mid:35B668A3C92EF848BD77E62CD821281D4DCE2F0FBB@AMRXM3123.dir.svc.accenture.com"
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:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 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";}
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;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
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">
<p class="MsoNormal">Has anyone noticed what appears to be
corruption in BBALPHAMSG? I have only noticed this behavior
(so far) on disk checks and it always follows the backslash
between the Total Space and Available Space. It also seems to
be consistent from host to host (ex. The host below will have
the same corruption for each disk check other hosts may show
slightly different characters but not all hosts exhibit
errors).
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Within my email script all I am doing is
‘echo “$BBALPHAMSG” >tmpfile’.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Xymon Server: Ubuntu 10.04<o:p></o:p></p>
<p class="MsoNormal">Client (in this instance): W2k3 Server<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">The actual client data appears to be just
as expected with no odd characters (this is pulled from the
“Client data” link on the Xymon page):<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style=""><span style="font-family:
"Courier New";">[disk]<o:p></o:p></span></p>
<p class="MsoNormal" style=""><span style="font-family:
"Courier New";">Filesystem 1K-blocks
Used Avail Capacity Mounted
Summary(Total\Avail)<o:p></o:p></span></p>
<p class="MsoNormal" style=""><span style="font-family:
"Courier New";">C 20241899
11256291 8985608 55% /FIXED/C
19.31gb\8.58gb<o:p></o:p></span></p>
<p class="MsoNormal" style=""><span style="font-family:
"Courier New";">D 856979392
641409136 215570256 74% /FIXED/D
817.28gb\205.59gb<o:p></o:p></span></p>
<p class="MsoNormal" style=""><span style="font-family:
"Courier New";">F 179205040
54697624 124507416 30% /FIXED/F
170.92gb\118.75gb<o:p></o:p></span></p>
<p class="MsoNormal" style=""><span style="font-family:
"Courier New";">G 179205072
174737304 4467768 97% /FIXED/G
170.92gb\4.26gb<o:p></o:p></span></p>
<p class="MsoNormal" style=""><span style="font-family:
"Courier New";">H 179205072
174778264 4426808 97% /FIXED/H
170.92gb\4.22gb<o:p></o:p></span></p>
<p class="MsoNormal" style=""><span style="font-family:
"Courier New";">I 176064364
129088448 46975916 73% /FIXED/I
167.92gb\44.81gb<o:p></o:p></span></p>
<p class="MsoNormal" style=""><span style="font-family:
"Courier New";">J 1756490840
41785572 1714705268 2% /FIXED/J
1.65tb\1.61tb<o:p></o:p></span></p>
<p class="MsoNormal" style=""><span style="font-family:
"Courier New";">O 976771068
95844 976675224 0% /FIXED/O
931.53gb\931.44gb<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">But then when I use BBALPHAMSG within an
email script there can be odd corruption:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-family: "Courier
New";">yellow Wed Jul 27 09:24:50 2011 - Filesystems
NOT ok<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Courier
New";">&yellow G (97% used) has reached the WARNING
level (97%)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Courier
New";">&yellow H (97% used) has reached the WARNING
level (97%)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Courier
New";"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Courier
New";">Filesystem 1K-blocks Used Avail
Capacity Mounted Summary(Total\Avail)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Courier
New";">C 20241899 11256291
8985608 55% /FIXED/C 19.31gb\8.58gb<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Courier
New";">D 856979392 641409136
215570256 74% /FIXED/D 817.28gb<span
style="background: none repeat scroll 0% 0% yellow;"><85></span>.59gb<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Courier
New";">F 179205040 54697624
124507416 30% /FIXED/F 170.92gb
<span style="background: none repeat scroll 0% 0% yellow;">8</span>.75gb<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Courier
New";">G 179205072 174737304
4467768 97% /FIXED/G 170.92gb<span
style="background: none repeat scroll 0% 0% yellow;">^D</span>.26gb<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Courier
New";">H 179205072 174778264
4426808 97% /FIXED/H 170.92gb<span
style="background: none repeat scroll 0% 0% yellow;">^D</span>.22gb<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Courier
New";">I 176064364 129088448
46975916 73% /FIXED/I 167.92gb<span
style="background: none repeat scroll 0% 0% yellow;">$</span>.81gb<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Courier
New";">J 1756490840 41785572 1714705268
2% /FIXED/J 1.65tb<span style="background:
none repeat scroll 0% 0% yellow;">^A</span>.61tb<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Courier
New";">O 976771068 95844
976675224 0% /FIXED/O 931.53gb\931.44gb<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Courier
New";"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Courier
New";">See
<a class="moz-txt-link-freetext" href="http://xymonserver/xymon-cgi/svcstatus.sh?HOST=ServerA&SERVICE=disk">http://xymonserver/xymon-cgi/svcstatus.sh?HOST=ServerA&SERVICE=disk</a><o:p></o:p></span></p>
<p class="MsoNormal" style=""><span style="font-size: 10pt;
font-family: "Arial","sans-serif";">Thanks,</span><span
style="font-size: 12pt; font-family: "Times New
Roman","serif";">
<o:p></o:p></span></p>
<p class="MsoNormal" style=""><span style="font-size: 10pt;
font-family: "Arial","sans-serif";">John</span><span
style="font-size: 12pt; font-family: "Times New
Roman","serif";">
<o:p></o:p></span></p>
<p class="MsoNormal" style=""><span style="font-size: 7.5pt;
font-family: "Arial","sans-serif";
color: silver;">_____________________________________________________________________</span><span
style="font-size: 12pt; font-family: "Times New
Roman","serif";">
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">John
Rothlisberger<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">Senior
Analyst <o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">Application
& Technology Integration
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">Implementation
& Managed Services for Business Process Outsourcing<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">IT
Strategy, Infrastructure & Security - Technology Growth
Platform<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">Accenture<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">312.693.3136 office<b><o:p></o:p></b></span></p>
<p class="MsoNormal"><span style="font-size: 7.5pt; font-family:
"Arial","sans-serif"; color: silver;">_____________________________________________________________________</span>
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<br>
<hr>
<font color="Gray" face="Arial" size="2">This message is for the
designated recipient only and may contain privileged,
proprietary, or otherwise private information. If you have
received it in error, please notify the sender immediately and
delete the original. Any other use of the email by you is
prohibited.<br>
</font>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
David Baldwin - Assistant Director, Infrastructure (acting)
Information and Communication Technology Services
Australian Sports Commission <a class="moz-txt-link-freetext" href="http://ausport.gov.au">http://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>
<br>
<hr>
Keep up to date with what's happening in Australian sport visit <a href="http://www.ausport.gov.au">www.ausport.gov.au</a>
<br><br>
<font size="-2" face="arial">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.</font>
<hr>
</body>
</html>