Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-10491

Discovery adds duplicate hosts

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Duplicate
    • Icon: Trivial Trivial
    • None
    • 3.0.1
    • Frontend (F), Server (S)
    • Ubuntu 14.04, packages from repo.zabbix.com

      After migrating a few old servers to new one's we renamed the old to "old-example.com" and added in new ones (new hostnames as well) with display names "example.com". We had to rename because the interface wouldn't allow us to use this a display name since it is a duplicate.

      We then disabled the old servers in Zabbix, but leaving them for history purposes.

      The Zabbix-agent on the old server is configured as hostname 'example.com' and somehow managed to be added to Zabbix again. Editing the host (e.g. disabling it again) results in an error:

      Host with the same visible name "acc.monet-ssd.nl" already exists. [hosts.php:547 ? CFrontendApiWrapper->update() ? CApiWrapper->__call() ? CFrontendApiWrapper->callMethod() ? CApiWrapper->callMethod() ? CFrontendApiWrapper->callClientMethod() ? CLocalApiClient->callMethod() ? call_user_func_array() ? CHost->update() ? CHost->validateUpdate() ? CApiService::exception() in include/classes/api/services/CHost.php:1888]

      The discovery shouldn't be creating hosts that have duplicate (display)names should it?

            Unassigned Unassigned
            frank Frank
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: