[ZBX-15175] Zabbix export - host's xml does not contain overrides or diff to templates (e.g. item's storage period, trigger.severity, trigger.status=disabled\enabled) Created: 2018 Nov 16  Updated: 2018 Nov 16  Resolved: 2018 Nov 16

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: API (A), Frontend (F)
Affects Version/s: 4.0.1
Fix Version/s: None

Type: Problem report Priority: Minor
Reporter: Burov Alexey Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: backup, host, template, usability, xml
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File image-2018-11-16-11-01-18-063.png     XML File zbx_export_hosts (3).xml    

 Description   

Steps to reproduce:

  1. Create template with one item and trigger
  2. Create host and link to template
  3. Change host's item History storage period 
  4. Change host's trigger priority and disable trigger

Result:
See attached, host.xml does not contain any diffs between host and template

Expected:
host.xml does contain any diffs from templates. If we export\import host with XML, we expect host exactly what it was

 

It will be usefull for "XML backup" and save Zabbix configuration as code and review this, for example when we use https://gitlab.com/devopshq/zabbix-review-export



 Comments   
Comment by Burov Alexey [ 2018 Nov 16 ]

Comment by Burov Alexey [ 2018 Nov 16 ]

Mistakes in title and text - trigger severity, of course, not priority. 

Can't find edit button for the issue

Comment by richlv [ 2018 Nov 16 ]

Duplicate of ZBXNEXT-1305.

Comment by Edgars Melveris [ 2018 Nov 16 ]

Hello Alexey!
I agree, that such a feature would be great, but as it's stated in the ZBXNEXT-1305 this works as intended. Also I will vote for that feature request.
Closing as duplicate.

Generated at Fri Apr 26 02:53:32 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.