Adding device from cli vs browser - This host already exists

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
Prochniak
Posts: 1
Joined: Mon Jul 29, 2013 4:57 am

Adding device from cli vs browser - This host already exists

Post by Prochniak »

Hi,
When I added new device from cli I got msg "This host already exists in the database", but when I added it from browser I didn't received it. How can I disable creating duplicates from browser?
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Adding device from cli vs browser - This host already ex

Post by gandalf »

Well, I know that this is inconsistent.
But both have been required ...
When changing the database table "host" to have a unique index on the column hostname, duplicates will be suppressed by the database ... (custom mod)
R.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests