-
Problem report
-
Resolution: Unresolved
-
Minor
-
6.0.33
-
None
-
RHEL/Rocky Linux 8, php-fpm 7.2.24
-
Sprint candidates
Hello,
I've find that sometimes when Zabbix network map is exported, YAML file of exported map is corrupted. Problem is mainly related to "elementtype = '2'", so to triggers on network maps - Sometimes when map is exported, tag which includes "elementtype = '2'" is broken:
This is "good" export:
selements: - elementtype: '2' elements: - description: 'lorem ipsum' expression: 'last(/lorem ipsum/lorem ipsum[lorem ipsum])=1' recovery_expression: ''
But, sometimes exported file looks like that:
selements: - elementtype: '2' label: | lorem ipsum lorem ipsum: {?last(/lorem ipsum/lorem ipsum[lorem ipsum])} lorem ipsum: {?last(/lorem ipsum/lorem ipsum[lorem ipsum])} label_location: '-1'
As you can see, under tag elementtype: '2' we have missing whole section elements, missing are: "description", "expression" and "recovery_expression"
Steps to reproduce:
TBA, currently unknown
**
Result:
See above
**
Expected:
Export of .yaml maps working correctly