Type: Incident report
Affects Version/s: None
Fix Version/s: None
operation system:centos 7
Configuration >> Actions >> Event source(Discovery) >> "Auto discovery. Linux servers."
If operations have two details("Add to host groups" and "Link to templates"),zabbix-server appear the error,If operations remove "Link to templates",It turn ok and null error log.
18129:20180830:145902.508 [Z3005] query failed:  You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 [select t.triggerid,t.templateid from triggers t,functions f,items i where t.triggerid=f.triggerid and f.itemid=i.itemid and i.hostid=10260 and]
Active agent auto-registration:
The situation is the same as above,When operations has "Link to templates" work failure,And turn ok after remove "Link to templates".
I try latest zabbix-server 3.0 with same problem.And return 3.4.10 everything turn ok.