-
Problem report
-
Resolution: Fixed
-
Trivial
-
6.0.22rc1, 6.4.7rc1, 7.0.0alpha4
-
S24-W22/23, S24-W26/27, S24-W28/29, S24-W30/31, S24-W32/33, S24-W34/35
-
1
Steps to reproduce:
- Create template with item and trigger
- Export created template
zabbix_export: version: '6.0' date: '2023-08-25T07:23:20Z' groups: - uuid: 0dad8812c0464f75964fee1b81c226b4 name: AAA templates: - uuid: 3305be7494754639960af36f3f814100 template: AAA name: AAA groups: - name: AAA items: - uuid: b9bc953edce447acafe31f8007da982c name: a key: a triggers: - uuid: 76f19a0db027464289ebcb9c375c4172 expression: last(/AAA/a)=0 name: b
- Delete created template
or use file instead of 1-3 steps zbx_export_templates_6.0.yaml - Open Configuration -> Hosts
- Import file
- See misleading message about host - Incorrect trigger expression. Host "AAA" does not exist or you have no access to this host.
- Create host with the same name as template
- Try to import again
- See misleading message about item key - Incorrect item key "a" provided for trigger expression on "AAA".
- Add item with requested key on host
- Import again
Result:
template trigger added to host
Expected:
No misleading messages and template trigger not added to host