Hello,
as part of an upgrade process, I am reading upgrade notes for each version and I noticed, that positional and user macros in item names and item prototype names are deprecated as of Zabbix 4.0.
Source: Upgrade notes for 4.0.0
Yet in user macros documentation, it says they can be used in item names. Release notes for Zabbix 4.0.0 says, that positional macros were removed from item names in templates, but there is no mention of user macros being also removed from names.
So there is conflicting information, that user macros are at the same time supported and deprecated in item names. Before I can upgrade our server, I need clarification, because we currently use user macros macros (and positional macros, that we will remove) in names.
So questions are:
as part of an upgrade process, I am reading upgrade notes for each version and I noticed, that positional and user macros in item names and item prototype names are deprecated as of Zabbix 4.0.
Using positional ($1, $2, …$9) and user macros in item and item prototype names is now deprecated.
Yet in user macros documentation, it says they can be used in item names. Release notes for Zabbix 4.0.0 says, that positional macros were removed from item names in templates, but there is no mention of user macros being also removed from names.
So there is conflicting information, that user macros are at the same time supported and deprecated in item names. Before I can upgrade our server, I need clarification, because we currently use user macros macros (and positional macros, that we will remove) in names.
So questions are:
- Are user macros supported in item names?
- Will there be any issue with other parts of Zabbix, if we keep user macros in item names?
- Are user macros supported in item prototype names?
- Will there be any issue with user macros in item prototype names?
Comment