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

localhost discovery affects unexpected host

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • None
    • 3.0.0
    • Server (S)
    • Sprint 1

      while trying to reproduce some issue on a clean setup, found out an unexpected result.

      create a discovery rule that discovers 127.0.0.1, create a discovery action that links to some template.

      expected to see 'localhost' host created, but instead the template got linked to "Zabbix server" (the lowest hostid with 127.0.0.1)

      there might be some localhost-specific logic here, but that doesn't match the manual :

      When adding hosts, a host name is the result of reverse lookup or IP address if reverse lookup fails.

      https://www.zabbix.com/documentation/3.0/manual/discovery/network_discovery

            Unassigned Unassigned
            richlv richlv
            Team A
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: