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

Getting the Users Macros for a host

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved: