Uploaded image for project: 'ZABBIX FEATURE REQUESTS'
  1. ZABBIX FEATURE REQUESTS
  2. ZBXNEXT-7818

Getting the Users Macros for a host

    XMLWordPrintable

Details

    • Change Request
    • Status: Closed
    • Medium
    • Resolution: Duplicate
    • 6.0.5
    • None
    • API (A)
    • None

    Description

      There ir no way to retrive the names and values of the macros a Host will use.

      In host.get, you have a selectMacros but will only retrive the macros defined at host level.

      Of course we can retrieve the templates attached to the host, but the mechanism of determining the value of a macro will be hard, in case the macro is in more than one template or in the global level.

      There is a inheritedTags parameter, a inheritedMacros will be nice. In this property will be all the macros with its values

      Using macro.get, is the same thing. There is a inherited parameter but is for retrivig the inherited macros on a host prototype.

      Attachments

        Issue Links

          Activity

            People

              zabbix.dev Zabbix Development Team
              gustavo.guido@custos.uy Gustavo Guido
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: