Zabbix auto registration using metadata fails with a "cannot link template(s)" error message

XMLWordPrintable

    • Type: Incident report
    • Resolution: Workaround proposed
    • Priority: Major
    • None
    • Affects Version/s: 3.4.12
    • Component/s: Server (S), Templates (T)
    • None

      Steps to reproduce:

      1. I created a Linux and configured "systemlinux" metadata value in zabbix_agent.conf
      2. I created an action with condition - Host metadata like systemlinux and two operations:Add to host groups: SystemTestLinux and Link to templates: Linux system test template

      Result:

      The host is not being added to the template. Looking at zabbix_server.log I see the following error: "cannot link template(s) "Linux system test" to host "xxxxx": conflicting item key "net.if.discovery" found" 

       

      • Its important to note that I have other actions that link to other temaples using metadata that are working fine. 
        Expected:
        The host should be added to Linux system test template

        1. Linux host wrong template.JPG
          84 kB
          itamar levy
        2. not-contain-systemlinux.png
          7 kB
          Aigars Kadikis
        3. requested query.csv
          1 kB
          itamar levy
        4. Zabbix auto registration conditions.JPG
          93 kB
          itamar levy

            Assignee:
            Unassigned
            Reporter:
            itamar levy
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: