[ZBX-3132] DM : Error in md5() call during checksum of host Created: 2010 Oct 22 Updated: 2017 May 30 Resolved: 2011 Jan 19 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | None |
Affects Version/s: | 1.8.3 |
Fix Version/s: | 1.8.5 |
Type: | Incident report | Priority: | Major |
Reporter: | Maxence Dunnewind | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
1.8.3 from debian sid packages. |
Issue Links: |
|
Description |
I install 2 nodes with 1.8.3 zabbix-server-pgsql and frontend. I then enable the zabbix agent on the slave node. data are sent and a few seconds after, related events appear on the master node (when I select "slave"), but I can't see the agent in the configuration section, neither their graphs. 11102:20101022:151408.810 [Z3005] Query failed: [0] PGRES_FATAL_ERROR:ERREUR: la fonction md5(numeric) n'existe pas It seems the md5 is not made on a string but on an integer. |
Comments |
Comment by Maxence Dunnewind [ 2010 Oct 27 ] |
Here is a small patch to solve the issue. 2 explicits casts are missing. — zabbix-1.8.3.orig/src/zabbix_server/nodewatcher/nodesender.c
if (r[0] == NULL || r[1] == NULL || (dest_nodetype == ZBX_NODE_SLAVE && *s != c[0]) || Cheers, Maxence |
Comment by Alexei Vladishev [ 2011 Jan 19 ] |
Fixed in version pre1.8.5, r17036 with |
Comment by Brad Clarke [ 2011 Nov 08 ] |
I've installed 1.8.5 from the Ubuntu packages and am getting this error in the logs. Is the fix really in 1.8.5? |