[ZBX-24875] OOTB template files missing the "formulaid" tag for discovery rules Created: 2024 Jul 17 Updated: 2024 Jul 30 |
|
Status: | Confirmed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Templates (T) |
Affects Version/s: | 7.0.0 |
Fix Version/s: | None |
Type: | Problem report | Priority: | Trivial |
Reporter: | MArk | Assignee: | Zabbix Development Team |
Resolution: | Unresolved | Votes: | 2 |
Labels: | LLD, Tags, discovery, filter, template | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
All |
Attachments: |
![]() ![]() ![]() |
||||
Issue Links: |
|
Description |
Steps to reproduce: I've noticed that some newer templates for Zabbix 7.0 fail to import showing the following error.
The error clearly states that the "formulaid" tag is missing. This is actually the "Filter" expression "Label" from the discovery rule. If we follow the path given, we can see that it points to the first discovery rule in the template .yaml file. In fact, all the discovery rules in the template file do not have the "formulaid" tag.
I have found this missing tag in the templates bellow provided by the official Zabbix Git for release 7.0. "Windows by Zabbix agent" ("template_os_windows_snmp.yaml") for example.
When installing a new updated instance of Zabbix 7.0, the user should not see an error because the installation already includes the template. However, if a user were to update the Zabbix instance to 7.0 and import the new template version, the above error would be detected. The missing tag prevents such templates from being imported. Possibly all OOTB templates that have discovery rules should be revised. |
Comments |
Comment by Roberto Cremasco [ 2024 Jul 30 ] |
I have the same issue on Zabbix 6.4.14 when trying to import Kubernetes templates from https://git.zabbix.com/projects/ZBX/repos/zabbix/browse/templates/app/kubernetes_http?at=refs%2Fheads%2Frelease%2F6.4
|
Comment by Roberto Cremasco [ 2024 Jul 30 ] |
Fixed updating to 6.4.17 as hinted in https://support.zabbix.com/browse/ZBX-24868 thx |