Hello,
My zabbix got a problem to add the master node on the child nodes.
The master zabbix: 10.2.7.250
The child zabbix: 10.2.7.177
The master zabbix can add child node.
The child zabbix can add child node.
But the child zabbix got the following error when child zabbix add the master node.
ERROR: Cannot add node
Error in query [INSERT INTO nodes (nodeid,name,ip,port,nodetype,masterid) VALUES (1,'zabbix1','10.2.7.250','10051','2','NULL')] [Cannot add or update a child row: a foreign key constraint fails (`zabbix`.`nodes`, CONSTRAINT `c_nodes_1` FOREIGN KEY (`masterid`) REFERENCES `nodes` (`nodeid`))]
zabbix version:2.0.8
centos version:6.4_64bit
mysql:5.1.66
php: php-5.3.3-23.el6_4.x86_64
My zabbix got a problem to add the master node on the child nodes.
The master zabbix: 10.2.7.250
The child zabbix: 10.2.7.177
The master zabbix can add child node.
The child zabbix can add child node.
But the child zabbix got the following error when child zabbix add the master node.
ERROR: Cannot add node
Error in query [INSERT INTO nodes (nodeid,name,ip,port,nodetype,masterid) VALUES (1,'zabbix1','10.2.7.250','10051','2','NULL')] [Cannot add or update a child row: a foreign key constraint fails (`zabbix`.`nodes`, CONSTRAINT `c_nodes_1` FOREIGN KEY (`masterid`) REFERENCES `nodes` (`nodeid`))]
zabbix version:2.0.8
centos version:6.4_64bit
mysql:5.1.66
php: php-5.3.3-23.el6_4.x86_64
Comment