Hi,
I'm using Zabbix 3.01 on CentOS 7.2 with Mysql.
I've a strange issue: when I try to add a new host and add a simple Template, like i.e. "Template OS Linux", Zabbix returns the error "Error in query [INSERT INTO graphs (graphid,name,width,height,yaxismin,yaxismax,templ ateid,show_work_period,show_triggers,graphtype,sho w_legend,show_3d,percent_left,percent_right,ymin_t ype,ymax_type,ymin_itemid,ymax_itemid,flags) VALUES ('3116','Network traffic on {#IFNAME}','900','200','0.0000','100.0000','420',' 1','1','0','1','0','0.0000','0.0000','1','0',NULL, NULL,'2')] [Duplicate entry '3116' for key 'PRIMARY']
SQL statement execution has failed "INSERT INTO graphs (graphid,name,width,height,yaxismin,yaxismax,templ ateid,show_work_period,show_triggers,graphtype,sho w_legend,show_3d,percent_left,percent_right,ymin_t ype,ymax_type,ymin_itemid,ymax_itemid,flags) VALUES ('3116','Network traffic on {#IFNAME}','900','200','0.0000','100.0000','420',' 1','1','0','1','0','0.0000','0.0000','1','0',NULL, NULL,'2')"."
If I try to add "Template App Zabbix Agent", I have no problems.
For each new host, just for to be sure, I create new HostGroup, without Template Linked.
I don't understand what the problem is. I didn't find anything on this Forum.
Can somebody Help Me ?
Thanks in advance
I'm using Zabbix 3.01 on CentOS 7.2 with Mysql.
I've a strange issue: when I try to add a new host and add a simple Template, like i.e. "Template OS Linux", Zabbix returns the error "Error in query [INSERT INTO graphs (graphid,name,width,height,yaxismin,yaxismax,templ ateid,show_work_period,show_triggers,graphtype,sho w_legend,show_3d,percent_left,percent_right,ymin_t ype,ymax_type,ymin_itemid,ymax_itemid,flags) VALUES ('3116','Network traffic on {#IFNAME}','900','200','0.0000','100.0000','420',' 1','1','0','1','0','0.0000','0.0000','1','0',NULL, NULL,'2')] [Duplicate entry '3116' for key 'PRIMARY']
SQL statement execution has failed "INSERT INTO graphs (graphid,name,width,height,yaxismin,yaxismax,templ ateid,show_work_period,show_triggers,graphtype,sho w_legend,show_3d,percent_left,percent_right,ymin_t ype,ymax_type,ymin_itemid,ymax_itemid,flags) VALUES ('3116','Network traffic on {#IFNAME}','900','200','0.0000','100.0000','420',' 1','1','0','1','0','0.0000','0.0000','1','0',NULL, NULL,'2')"."
If I try to add "Template App Zabbix Agent", I have no problems.
For each new host, just for to be sure, I create new HostGroup, without Template Linked.
I don't understand what the problem is. I didn't find anything on this Forum.
Can somebody Help Me ?
Thanks in advance


Comment