[ZBX-13455] No LLD rule error in frontend after creating host with errors Created: 2018 Feb 09 Updated: 2024 Apr 10 Resolved: 2018 Mar 02 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Server (S) |
Affects Version/s: | 4.0.0alpha3 |
Fix Version/s: | 3.0.16rc1, 3.4.8rc1, 4.0.0alpha5, 4.0 (plan) |
Type: | Incident report | Priority: | Trivial |
Reporter: | dimir | Assignee: | Viktors Tjarve |
Resolution: | Fixed | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Team: | Team A |
Sprint: | Sprint 28 |
Story Points: | 0.5 |
Description |
Using LLD host discovery and SNMP items. Zabbix is configured incorrectly: initial host has only "Zabbix agent" host interface but discovered host items expect "SNMP agent" interface. The problem is that in this case instead of getting an error the discovered host is created without the configured template and the error message is only in Zabbix server log file, no error indication in frontend. Steps to reproduce:
Result: 2535:20180209:021758.628 cannot link template(s) "Template SNMP" to host "discovered.host": cannot find "SNMP" host interface Expected: |
Comments |
Comment by Viktors Tjarve [ 2018 Feb 21 ] |
It seems to me that a frontend error message is defiantly required in this case. But I'm not so sure about "not creating" a templateless host. Because when it is detected that host interface cannot be found the host is already created. That means removing an already created host or redesigning host validation. The decision should be made about not creating such templateless host. |
Comment by richlv [ 2018 Feb 21 ] |
yeah, this would have to be caught during the validation. adding-deleting a host is a no-go. |
Comment by dimir [ 2018 Feb 21 ] |
Sounds perfect. |
Comment by Vladislavs Sokurenko [ 2018 Feb 22 ] |
I propose simply to add error message in frontend as task name says:
|
Comment by Viktors Tjarve [ 2018 Feb 26 ] |
It was decided that at this point there will be no changes to the behavior of how hosts are created for LLD. Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBX-13455 |
Comment by Viktors Tjarve [ 2018 Mar 02 ] |
|