[ZBXNEXT-4764] Zabbix host create / update allows duplicate interface definitions Created: 2017 Aug 16  Updated: 2018 Oct 09

Status: Reopened
Project: ZABBIX FEATURE REQUESTS
Component/s: API (A), Frontend (F)
Affects Version/s: 3.4.14, 4.0.0rc1
Fix Version/s: None

Type: New Feature Request Priority: Trivial
Reporter: James Cook Assignee: Zabbix Development Team
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: Microsoft Word Example Duplicate interface.docx     PNG File pic.png    

 Description   

When creating or updating a host you can specify multiple interfaces with the same details and can cause confusion as to which interface is actually being used. This should be restricted through the api and database constraints to prevent this from occurring.

I have attached a screen shot for your viewing.



 Comments   
Comment by Rostislav Palivoda [ 2017 Aug 16 ]

Screen shot missed.

Comment by James Cook [ 2017 Aug 21 ]

I have attached the screen shot of the example

Comment by Valdis Murzins [ 2018 Oct 09 ]

With ability to save 2 identical interfaces we are covering following use case:
Host have one agent, that can be accessed by internal IP and by external IP. Normally you are collecting data from both interfaces. But at some moments, you may want to switch all host items to same interface (for example for the time of maintenance). In this case you can make interfaces same for this time, and then change them back without much work.

But you are right, that it may be hard to distinguish identical interfaces in item configuration. So I would suggest to keep this task, but with purpose to make even identical interfaces distinguishable.

Generated at Thu Apr 25 14:50:29 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.