[ZBX-8913] Zabbix server cannot parse JSON data with multibyte character on Solaris Created: 2014 Oct 16  Updated: 2017 May 30  Resolved: 2014 Oct 16

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Proxy (P), Server (S)
Affects Version/s: 2.2.6
Fix Version/s: 2.2.8rc1, 2.4.2rc1, 2.5.0

Type: Incident report Priority: Blocker
Reporter: Kodai Terashima Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: encoding, logmonitoring, multibyte, proxy, server
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Solaris 11 Sparc/Intel


Issue Links:
Duplicate

 Description   

Zabbix server cannot parse JSON data with multibyte character on Solaris.

Using log[] item key and agent sends log message with multibyte character, "invalid JSON object" errors are recorded in both zabbix_agentd.log & zabbix_server.log



 Comments   
Comment by Andris Zeila [ 2014 Oct 16 ]

Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBX-8913

Comment by Aleksandrs Saveljevs [ 2014 Oct 30 ]

Fix looks good. We cast chars to unsigned chars in src/libs/zbxalgo/evaluate.c, too.

Comment by Andris Zeila [ 2014 Oct 30 ]

Released in:

  • pre-2.2.8rc1 r50297
  • pre-2.4.2rc1 r50298
  • pre-2.5.0 r50299
Generated at Thu Apr 25 23:06:40 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.