Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-12260

log item type with UTF-16 encoding

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • Agent (G)
    • Zabbix server v3.0.9 (Linux, SLES12sp1), v3.2.4 (Centos 7)
      Zabbix agent v2.4.4 (2.2.7, 3.2.0) on Windows 7 Pro sp1 (64-bit), Zabbix agent v2.4.4, v3.0.4, 3.0.9, v3.2.0 on Windows 10 Pro
    • Team A
    • Sprint 18, Sprint 19
    • 1

      There is an issue with log item type monitoring with UTF-16 and possibly UTF-8 encoding type.

      Item key:

      log["C:\Users\User\Desktop\results.log",,"UTF-16"]
      log["C:\Users\User\Desktop\results_utf8.log",,"UTF-8"]

      File type:
      File encoding is UCS-2 LE BOM, in Windows environment it is the synonym of UTF-16 encoding. Sample file in the attachments.
      After conversion of file to UTF-8 the problem persists.
      Sample file in the attachments.

      Expected behavior:
      All file lines are being populated in the item values.

      Visible behavior:
      Last line of file is not being used to populate the item values. Upon the change of last line, previous is added successfully.

            vso Vladislavs Sokurenko
            olegs.vasiljevs Olegs Vasiljevs (Inactive)
            Team A
            Votes:
            1 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: