[ZBX-3606] Having a host and a template by the same name is not possible Created: 2011 Mar 11  Updated: 2017 May 30  Resolved: 2011 Sep 01

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Server (S)
Affects Version/s: 1.9.2 (alpha)
Fix Version/s: 2.0.0

Type: Incident report Priority: Minor
Reporter: Walter Heck Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

It is currently not possible to have a host and a template with the same name, which is a shame. I know it's because they are stored in the same table, but it would be good to either be able to have this (preferred) or get a more friendly error message when attempting this.



 Comments   
Comment by richlv [ 2011 Mar 12 ]

if trying to create a host with a name that some template already has, error message says that such a template exists.

if trying to create a template and a host with such name already exists, error message also says that.

how would you improve the messages ?

Comment by richlv [ 2011 Sep 01 ]

messages seem to be good enough (although their style could still be unified more )

as for hosts and templates with the same name, it has been decided that template/host name should be unique

Generated at Tue Mar 18 12:04:37 EET 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.