[ZBXNEXT-2297] Add macro creation/edition for host prototypes Created: 2014 May 13 Updated: 2024 Apr 10 Resolved: 2020 Apr 28 |
|
Status: | Closed |
Project: | ZABBIX FEATURE REQUESTS |
Component/s: | Frontend (F), Server (S), Templates (T) |
Affects Version/s: | 2.2.3 |
Fix Version/s: | 5.0.0beta1, 5.0 (plan) |
Type: | New Feature Request | Priority: | Major |
Reporter: | Julien Leloup | Assignee: | Gregory Chalenko |
Resolution: | Fixed | Votes: | 62 |
Labels: | lld, macros, templates | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Attachments: |
![]() ![]() |
||||||||||||||||||||||||||||||||
Issue Links: |
|
||||||||||||||||||||||||||||||||
Team: | |||||||||||||||||||||||||||||||||
Sprint: | Sprint 62 (Mar 2020), Sprint 63 (Apr 2020) | ||||||||||||||||||||||||||||||||
Story Points: | 3 |
Description |
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. |
Comments |
Comment by Julien Leloup [ 2014 May 15 ] |
Also for this feature to work, user-defined macros values should be filled with the value of another macro, like {#SNMPINDEX}. |
Comment by Marc [ 2014 May 22 ] |
If I'm not wrong it might be similar to |
Comment by Julien Leloup [ 2014 May 28 ] |
It seems But only having To do this I believe we need to :
Sorry for the headache but I think this kind of scenario is missing for Zabbix right now and it can greatly improve the useability of Host Prototypes. |
Comment by Glebs Ivanovskis (Inactive) [ 2018 Jan 09 ] |
When counting votes on this feature request please consider duplicates. |
Comment by Steffen Höhne [ 2018 Dec 07 ] |
would still be great to have this feature! Thank you! |
Comment by Nikolai Djilinski [ 2019 Nov 27 ] |
+1 for this feature. Use cases: As result of LLD discovery we create the host and pass the LLD macro(s) to new created host (where LLD macros are treated as custom ones). in this case, those macros might be used for items config (key name, http url query etc.). |
Comment by Alexei Vladishev [ 2020 Feb 20 ] |
This functionality can be used for a number of useful use cases. I have included it into the roadmap, it will be implemented in Zabbix 5.2 or 5.0 (less likely). |
Comment by Michael Veksler [ 2020 Apr 09 ] |
Available in:
Documentation updated:
|