• Sprint 82 (Nov 2021), Sprint 83 (Dec 2021), Sprint 84 (Jan 2022), Sprint 85 (Feb 2022), Sprint 86 (Mar 2022), Sprint 87 (Apr 2022), Sprint 88 (May 2022), Sprint 89 (Jun 2022), Sprint 90 (Jul 2022), Sprint 91 (Aug 2022), Sprint 92 (Sep 2022), Sprint 93 (Oct 2022), Sprint 94 (Nov 2022), Sprint 95 (Dec 2022), Sprint 96 (Jan 2023), Sprint 97 (Feb 2023), Sprint 98 (Mar 2023), Sprint 99 (Apr 2023), Sprint 100 (May 2023), Sprint 101 (Jun 2023)
    • 1

      Case 1: Autoregistration ignores templates with matching item keys

      Precondition: Zabbix 6.0; setup your configuration https://www.zabbix.com/documentation/current/en/manual/discovery/auto_registration#:~:text=new%20Zabbix%20proxy-,Configuration,-Specify%20server

      Steps to reproduce:

      • Create two templates e.g. test1 and test2 with an item with key "agent.ping"
      • Simultaneously link both of these templates to e.g. test3
      • Go to Configuration>Actions>Autoregistration actions
      • Create a new action with operations:
        -) Add host
        -) Link to templates: {test3}
      • Wait till a host will be created via the autoregistration process

      Result: Host is created and the template is successfully linked. The host has two items with matching item keys.

      Expected: Host shouldn't contain conflicting items/templates. The error should appear in the zabbix_server.log file regarding matching item keys.

      Note: the same issue appears if hosts are discovered via the "Network discovery" process

       

      Case 2: Autoregistration ignores templates with matching "discovery rule" and "item prototype" key

      Precondition: Zabbix 6.0; setup your configuration https://www.zabbix.com/documentation/current/en/manual/discovery/auto_registration#:~:text=new%20Zabbix%20proxy-,Configuration,-Specify%20server

      Steps to reproduce:

      • Go to Configuration>Templates and create a template e.g. testa with a "discovery rule" key e.g. discovery and "item prototype" with key e.g.
        trap[ {#ID}]
        
      • Full clone the template testa with the name e.g. testb
      • Simultaneously link both templates (testa, testb) to e.g. testc
      • Create a new action with operations:
        -) Add host
        -) Link to templates: {testc}
      • Wait till a host will be created via the autoregistration process

      Result: Host is created and the template is successfully linked. The host has two discovery rules and two item prototypes with matching item keys.
         
      Expected: Host shouldn't contain conflicting discovery rules/item prototypes. The error should appear in the zabbix_server.log file regarding matching item keys.

      Note: the same issue appears if hosts are discovered via the "Network discovery" process

        1. screenshot-4.png
          screenshot-4.png
          47 kB
        2. screenshot-5.png
          screenshot-5.png
          43 kB
        3. screenshot-6.png
          screenshot-6.png
          11 kB
        4. screenshot-7.png
          screenshot-7.png
          11 kB

            kseve Kirils Seve
            epulke Elina Pulke
            Team C
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: