Ad Widget

Collapse

Zabbix Agent2 - logrt on file with UTF16-LE encoding

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • GeoRon
    Junior Member
    • Nov 2023
    • 7

    #1

    Zabbix Agent2 - logrt on file with UTF16-LE encoding

    Before I post a bug on the support page I thought I try to ask this on the forum.

    Currently I am trying to monitor a rotating log file on a Windows client using the Zabbix Agent 2.

    The log import kind of works, but there are weird signs in the item, that do no show up when I open the file on windows.


    Opening the log file using notepad shows the file is encoded using UTF16-LE

    Click image for larger version

Name:	image.png
Views:	403
Size:	17.0 KB
ID:	475375

    So I looked up the encoding possibilities at the documentation at 1 Zabbix agent
    They refer to encoding settings
    1 Zabbix agent​, that link to the libiconv - GNU Project - Free Software Foundation (FSF)​ project.

    There it is mentioned that full unicode UTF-16LE is supported.

    So I changed my item to UTF-16LE encoding

    Click image for larger version

Name:	image.png
Views:	349
Size:	8.3 KB
ID:	475376


    ​​But still the log import is not right..

    Click image for larger version

Name:	image.png
Views:	354
Size:	7.7 KB
ID:	475378

    Am I doing something wrong?
    Or should I file a issue report??

    Thanks in advance...
    Attached Files
Working...