<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 22/3/17 9:03 pm,
<a class="moz-txt-link-abbreviated" href="mailto:zak.beck@accenture.com">zak.beck@accenture.com</a> wrote:<br>
</div>
<blockquote
cite="mid:634226fe4aa74675af1b3524f8c014b3@SN4PR4205MB0432.048d.mgd.msft.net"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (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:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
span.gmail-
{mso-style-name:gmail-;}
span.EmailStyle19
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:#0D13FF;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
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"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#0D13FF;mso-fareast-language:EN-US">Hi
Luboš<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#0D13FF;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#0D13FF;mso-fareast-language:EN-US">I
think you’re talking about the ASCII encoding in function
XymonSend.<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#0D13FF;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#0D13FF;mso-fareast-language:EN-US">I
don’t know the reason for choosing ASCII encoding, that code
was written before I was involved.<o:p></o:p></span></p>
</div>
</blockquote>
I wrote that code. From memory, the xymon server could only handle
the clientlog message in ASCII at the time, and forcing the
translation to ASCII was a key part to getting it working. If the
constraint of ASCII clientlog message has changed, then by all means
feel free to convert to UTF8, however some users may still be
running old servers that can only handle ASCII, so best to leave it
configurable.<br>
<br>
You'd need to test that all client-based tests (DISK, SVC, PORT,
PROC, etc) are still working not just eventlog message matching.<br>
<blockquote
cite="mid:634226fe4aa74675af1b3524f8c014b3@SN4PR4205MB0432.048d.mgd.msft.net"
type="cite">
<div class="WordSection1">
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#0D13FF;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#0D13FF;mso-fareast-language:EN-US">If
the server can accept UTF-8 on all platforms then there is
no reason why it should not be changed – maybe one of the
server developers (Japheth ?) could comment?<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#0D13FF;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
</div>
</blockquote>
As above, need to verify server can handle UTF8. I suspect the
clientlog message must be all one encoding - can't just do eventlog
section in UTF8 and the rest in ASCII.<br>
<br>
David.<br>
<blockquote
cite="mid:634226fe4aa74675af1b3524f8c014b3@SN4PR4205MB0432.048d.mgd.msft.net"
type="cite">
<div class="WordSection1">
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#0D13FF">Zak
</span><span
style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#0D13FF"><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#0D13FF;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif"
lang="EN-US">From:</span></b><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif"
lang="EN-US"> Xymon [<a class="moz-txt-link-freetext" href="mailto:xymon-bounces@xymon.com">mailto:xymon-bounces@xymon.com</a>]
<b>On Behalf Of </b>Luboš Pavlícek<br>
<b>Sent:</b> 22 March 2017 08:56<br>
<b>To:</b> <a class="moz-txt-link-abbreviated" href="mailto:xymon@xymon.com">xymon@xymon.com</a><br>
<b>Subject:</b> [Xymon] Clientlog in UTF8<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Hi,<o:p></o:p></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span
class="gmail-"><span lang="EN">We use powershell client
on computers with localized windows (Czech language).
EventLog messages are in Czech with non ASCII
characters. I modified the winpsclient to send
clientlog in UTF8. Messages are displayed on xymon web
correctly, I was able filter messages, e.g.</span></span><span
lang="EN"><br>
<br>
<span class="gmail-">LOG eventlog_System "%Zpracování
zásad skupiny selhalo" COLOR=red</span><br>
<br>
</span></p>
</div>
</div>
</div>
</blockquote>
That generally happens when someone leaves a remote session logged
on and then changes their password elsewhere. ;)<br>
<blockquote
cite="mid:634226fe4aa74675af1b3524f8c014b3@SN4PR4205MB0432.048d.mgd.msft.net"
type="cite">
<div class="WordSection1">
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span
lang="EN">
<span class="gmail-">Exists some pitfalls, why not send
clientlog in UTF8, but convert into US-ASCII?</span></span><o:p></o:p></p>
</div>
<p class="MsoNormal"><span class="gmail-"><span lang="EN">Luboš
Pavlíček</span></span><o:p></o:p></p>
</div>
</div>
<br>
<hr>
<font color="Gray" face="Arial" size="1"><br>
This message is for the designated recipient only and may
contain privileged, proprietary, or otherwise confidential
information. If you have received it in error, please notify the
sender immediately and delete the original. Any other use of the
e-mail by you is prohibited. Where allowed by local law,
electronic communications with Accenture and its affiliates,
including e-mail and instant messaging (including content), may
be scanned by our systems for the purposes of information
security and assessment of internal compliance with Accenture
policy. <br>
______________________________________________________________________________________<br>
<br>
<a class="moz-txt-link-abbreviated" href="http://www.accenture.com">www.accenture.com</a><br>
</font>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Xymon mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Xymon@xymon.com">Xymon@xymon.com</a>
<a class="moz-txt-link-freetext" href="http://lists.xymon.com/mailman/listinfo/xymon">http://lists.xymon.com/mailman/listinfo/xymon</a>
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
David Baldwin - Senior Systems Administrator (Datacentres + Networks)
Digital Information Management and Technology
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> 1 Leverrier Street Bruce ACT 2617
Our Values: RESPECT + INTEGRITY + TEAMWORK + EXCELLENCE
</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>