[Xymon] Clientlog in UTF8

zak.beck at accenture.com zak.beck at accenture.com
Thu Mar 23 10:11:54 CET 2017


Hi David


Ø  some users may still be running old servers that can only handle ASCII, so best to leave it configurable

Thanks for your input – I was thinking the same as the above.

Zak

From: David Baldwin [mailto:david.baldwin at ausport.gov.au]
Sent: 22 March 2017 22:11
To: Beck, Zak <zak.beck at accenture.com>; lubos.pavlicek at gmail.com; xymon at xymon.com
Subject: Re: [Xymon] Clientlog in UTF8

On 22/3/17 9:03 pm, zak.beck at accenture.com<mailto:zak.beck at accenture.com> wrote:
Hi Luboš

I think you’re talking about the ASCII encoding in function XymonSend.

I don’t know the reason for choosing ASCII encoding, that code was written before I was involved.
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.

You'd need to test that all client-based tests (DISK, SVC, PORT, PROC, etc) are still working not just eventlog message matching.


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?

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.

David.

Zak

From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Luboš Pavlícek
Sent: 22 March 2017 08:56
To: xymon at xymon.com<mailto:xymon at xymon.com>
Subject: [Xymon] Clientlog in UTF8

Hi,
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.

LOG eventlog_System "%Zpracování zásad skupiny selhalo" COLOR=red
That generally happens when someone leaves a remote session logged on and then changes their password elsewhere. ;)

Exists some pitfalls, why not send clientlog in UTF8, but convert into US-ASCII?
Luboš Pavlíček

________________________________

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.
______________________________________________________________________________________

www.accenture.com<http://www.accenture.com>




_______________________________________________

Xymon mailing list

Xymon at xymon.com<mailto:Xymon at xymon.com>

http://lists.xymon.com/mailman/listinfo/xymon<https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.xymon.com_mailman_listinfo_xymon&d=DwMDaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=S-aLwpx-PHBTBMIG_c2JczRC0SfuZCmsiH9Iams25FI&m=56bdErr67jxvsqigxSp9k6anqyhtUKraJdOpHMsJlUI&s=oKULmdiOfZqPSYRktcv-fYhNtexl4bhKk6jqDsvvrT0&e=>




--

David Baldwin - Senior Systems Administrator (Datacentres + Networks)

Digital Information Management and Technology

Australian Sports Commission          http://ausport.gov.au<https://urldefense.proofpoint.com/v2/url?u=http-3A__ausport.gov.au&d=DwMDaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=S-aLwpx-PHBTBMIG_c2JczRC0SfuZCmsiH9Iams25FI&m=56bdErr67jxvsqigxSp9k6anqyhtUKraJdOpHMsJlUI&s=GL4fN3VjIF0jbEp6AIu7FU7RCXu1inLlRw7TQPsuUP8&e=>

Tel 02 62147830 Fax 02 62141830       PO Box 176 Belconnen ACT 2616

david.baldwin at ausport.gov.au<mailto:david.baldwin at ausport.gov.au>          1 Leverrier Street Bruce ACT 2617

Our Values: RESPECT + INTEGRITY + TEAMWORK + EXCELLENCE

________________________________
Keep up to date with what's happening in Australian sport visit www.ausport.gov.au<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.ausport.gov.au&d=DwMDaQ&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=S-aLwpx-PHBTBMIG_c2JczRC0SfuZCmsiH9Iams25FI&m=56bdErr67jxvsqigxSp9k6anqyhtUKraJdOpHMsJlUI&s=XVgugJurmNjsulR2NzV0Jh7d_xw-_bOiWAWtWA5DxYo&e=>

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.
________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20170323/80234029/attachment.html>


More information about the Xymon mailing list