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

The host macros of templated host prototype is not inherited via usermacro API

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Won't Do
    • Icon: Trivial Trivial
    • None
    • 5.0.12
    • API (A)
    • Sprint 78 (Jul 2021), Sprint 79 (Aug 2021), Sprint 80 (Sep 2021), Sprint 81 (Oct 2021), 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), Sprint 102 (Jul 2023), Sprint 103 (Aug 2023)

      Steps to reproduce:

      1. Create a template with discovery rule with host prototype and link this template to some host.
      2. Add a macro to templated host prototype using usermacro.create API method.

      Result:
      The macro was added only to templated host prototype. The same macro for inherited host prototype was not added.
      Expected:
      The macro was added as for templated host prototype, as for inherited.

      The same issue happens using usermacro.update, usermacro.delete API methods.

      For higher versions this issue will be resolved in scope of ZBXNEXT-6566.

            zabbix.dev Zabbix Development Team
            vmaksimovs Vladimirs Maksimovs
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: