-
New Feature Request
-
Resolution: Fixed
-
Major
-
2.2.3
-
Sprint 62 (Mar 2020), Sprint 63 (Apr 2020)
-
3
Having the capability to create user-defined macros when defining a host prototype can be really useful in order pass values to this host that where only available in the LLD context, like {#SNMPINDEX} or {#SNMPVALUE}.
Example : by creating a user-defined macros with the values of {#SNMPINDEX} on an host prototypes with a template attached, one can implement a LLD discovering sub-parts of an SNMP-enabled host (Power Supplys, Blades on a chassis, etc...) which then creates full-fledged hosts representing these sub-parts of the original host.
Then these hosts can have items requesting OIDs relevant to them, by using the attached template with items refering to the user-defined macros storing the {#SNMPINDEX} found during the LLD.
- causes
-
ZBX-17655 Use of unitialized variable when linking template with host prototypes
- Closed
-
ZBX-18174 Host macro updates when linking templates on server is broken with Oracle DB
- Closed
- is duplicated by
-
ZBXNEXT-2690 Host Prototype Macros
- Closed
-
ZBXNEXT-2605 LLD Host prototype: create user macros on host based on values returned by the discovery
- Closed
-
ZBXNEXT-2734 Support configurable User Macros
- Closed
- mentioned in
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...