[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: |
|
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:
|