Ad Widget

Collapse

zabbix 1.8.1 invalid byte sequence for encoding

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bulat
    Junior Member
    • Apr 2010
    • 1

    #1

    zabbix 1.8.1 invalid byte sequence for encoding

    Hi!

    I run zabbix 1.8.1 with backend db postgresql 8.4.2 (utf encoding) and found the following misbehaviour:

    parsing agent configuration file zabbix_agentd.conf (on windows systems), zabbix doesn't cut off comments if they are placed after values in the same string. e.g.:

    Code:
    # Unique hostname. Required for active checks.
    Hostname=btc-xxx-xx # Указать имя хоста, на который установлен агент.
    is parsed and appears in sql logs like
    Code:
    select hostid from hosts where [B][I]host='btc-xxx-xx # сЙЮГЮРЭ ХЛЪ УНЯРЮ, МЮ ЙНРНПШИ СЯРЮМНБКЕМ ЮЦЕМР.'[/I][/B] and proxy_hostid=0 and hostid between 000000000000000 and 099999999999999
    and rise postgres error
    Code:
    invalid byte sequence for encoding "UTF8": 0xd3ea
Working...