I try to setup master node with one child node. Zabbix version 1.6. Postgresql version. Child node used after clean install.
As a standalone servers all ok, but after converting bases (zabbix-server -n [1,2] -c /etc/zabbix/zabbix_server.conf) and adding master/slave nodes in gui i have trouble when change nodes in gui: Error: Unable to select configuration.
In log-files I see:
Master node zabbix-server.log:
Child node zabbix-server.log:
As a standalone servers all ok, but after converting bases (zabbix-server -n [1,2] -c /etc/zabbix/zabbix_server.conf) and adding master/slave nodes in gui i have trouble when change nodes in gui: Error: Unable to select configuration.
In log-files I see:
Master node zabbix-server.log:
Code:
23010:20080930:141743 NODE 1: Received auditlog from node 2 for node 2 datalen 904
23010:20080930:141743 Query::insert into auditlog (auditid,userid,clock,action,resourcetype,details) values (200200000000001,200200000000002,1222768032,4,0,0x4d616e75616c204c6f676f7574)
23010:20080930:141743 Query failed:PGRES_FATAL_ERROR:ERROR: ошибка синтаксиса в или рядом "x4d616e75616c204c6f676f7574"
LINE 1: ... (200200000000001,200200000000002,1222768032,4,0,0x4d616e756...
23014:20080930:142214 NODE 1: Received auditlog from node 2 for node 2 datalen 904
23014:20080930:142214 Query::insert into auditlog (auditid,userid,clock,action,resourcetype,details) values (200200000000001,200200000000002,1222768032,4,0,0x4d616e75616c204c6f676f7574)
23014:20080930:142214 Query failed:PGRES_FATAL_ERROR:ERROR: syntax error near "x4d616e75616c204c6f676f7574"
LINE 1: ... (200200000000001,200200000000002,1222768032,4,0,0x4d616e756...
^
[etc..]
Code:
6078:20080930:141614 NODE 2: Sending auditlog of node 2 to node 1 datalen 904
6078:20080930:141614 NOT OK
6078:20080930:141624 NODE 2: Sending auditlog of node 2 to node 1 datalen 904
6078:20080930:141624 NOT OK
6078:20080930:141635 NODE 2: Sending auditlog of node 2 to node 1 datalen 904
6078:20080930:141635 NOT OK
6078:20080930:141644 NODE 2: Sending auditlog of node 2 to node 1 datalen 904
6078:20080930:141644 NOT OK
6078:20080930:141655 NODE 2: Sending auditlog of node 2 to node 1 datalen 904
6078:20080930:141655 NOT OK
6078:20080930:141705 NODE 2: Sending auditlog of node 2 to node 1 datalen 904
6078:20080930:141705 NOT OK
.....
6078:20080930:141824 Query::insert into node_cksum (nodeid,tablename,recordid,cksumtype,cksum) select 2,'slideshows',slideshowid,1,md5(name)||','||delay from slideshows where 1=1 and slideshowid between 200000000000000 and 299999999999999
union all select 2,'slides',slideid,1,slideshowid||','||screenid||','||step||','||delay from slides where 1=1 and slideid between 200000000000000 and 299999999999999
union all select 2,'drules',druleid,1,proxy_hostid||','||md5(name)||','||md5(iprange)||','||delay||','||nextcheck||','||status from drules where 1=1 and druleid between 200000000000000 and 299999999999999
union all select 2,'dchecks',dcheckid,1,druleid||','||type||','||md5(key_)||','||md5(snmp_community)||','||md5(ports) from dchecks where 1=1 and dcheckid between 200000000000000 and 299999999999999
[... very long query with many unions ...]
6078:20080930:141824 Query failed:PGRES_FATAL_ERROR:ERROR: function md5(numeric) not found
LINE 7: ...||status||','||md5(macros)||','||md5(agent)||','||md5(time)|...
^
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
6078:20080930:141825 NODE 2: Sending auditlog of node 2 to node 1 datalen 904
6078:20080930:141825 NOT OK
6078:20080930:141834 NODE 2: Sending auditlog of node 2 to node 1 datalen 904
6078:20080930:141834 NOT OK
6078:20080930:141845 NODE 2: Sending auditlog of node 2 to node 1 datalen 904
[etc... all errors repeated many times]

Comment