-
Change Request
-
Resolution: Duplicate
-
Medium
-
None
-
6.0.5
-
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.
- duplicates
-
ZBXNEXT-4563 Ability to list inherited macros and values in host.get
- Open