Hello !
I recently upgraded from zabbix 3.0 to 3.4 (zabbix-proxy-pgsql: 1:3.4.13-1+stretch). And I broke hosts autoregistration.
Before maybe reporting a bug issue I try here.
zabbix-agent on the host that should be discovered is configured to talk with a zabbix proxy :
The proxy can communicate with the server :
Of course I tried debugging and I can see on the server the database INSERT without error log :
But the host is not available in the GUI.
What's really strange is that if I enter the "insert into hosts" SQL command manually using psql... it's working : the host is then available in the GUI.
Any idea about this ? The only strange thing I can notice in the logs is the "end of line" between the end of the "insert into hosts" SQL command and the trailing "]" charracter.
Regards,
I recently upgraded from zabbix 3.0 to 3.4 (zabbix-proxy-pgsql: 1:3.4.13-1+stretch). And I broke hosts autoregistration.
Before maybe reporting a bug issue I try here.
zabbix-agent on the host that should be discovered is configured to talk with a zabbix proxy :
Code:
Server=zabbix-proxy ServerActive=zabbix-proxy Hostname=todiscover
Code:
Server=zabbix Hostname=zabbix-proxy
Code:
26116:20180908:153414.816 End of DBget_nextid():10770 table:'hosts' recid:'hostid' 26116:20180908:153414.816 query [txnlev:1] [insert into hosts (hostid,proxy_hostid,host,name) values (10770,10584,'todiscover','todiscover'); ] 26116:20180908:153414.817 In DBadd_interface() 26116:20180908:153414.817 query [txnlev:1] [select interfaceid[...]
What's really strange is that if I enter the "insert into hosts" SQL command manually using psql... it's working : the host is then available in the GUI.
Any idea about this ? The only strange thing I can notice in the logs is the "end of line" between the end of the "insert into hosts" SQL command and the trailing "]" charracter.
Regards,
Comment