Hello!
Recently we've changed our database backend from mysql to postgres with data porting and have no problem except one.
We use different macros in web monitoring like
In mysql it is stored like
But not in postgres:
It seems that postgres stores CRLF like \015\012 and all the web monitoring is broken right now with "Page did not match". We've tried different settings in database config with no success.
Any suggestions how to fix macros parsing here? Any help would be appreciated. Problem persists in zabbix v1.9.9. It all works good without macros but this is not the case.
Recently we've changed our database backend from mysql to postgres with data porting and have no problem except one.
We use different macros in web monitoring like
Code:
{firmID}=1
{filialID}=1
{city}=Barnaul
{version}=1
{key}=1
Code:
{firmID}=1\r\n{filialID}=1\r\n{city}=Barnaul\r\n{version}=1\r\n{key}=1
Code:
{firmID}=1\015\012{filialID}=1\015\012{city}=Barnaul\015\012\{version}=1\015\012{key}=1
Code:
backslash_quote = safe_encoding standard_conforming_strings = on
Comment