[ZBXNEXT-3059] specify "old key" in the xml file Created: 2015 Nov 30  Updated: 2016 Jan 22

Status: Open
Project: ZABBIX FEATURE REQUESTS
Component/s: API (A), Frontend (F)
Affects Version/s: 3.0.0alpha3
Fix Version/s: None

Type: New Feature Request Priority: Trivial
Reporter: richlv Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: import, xml
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

there is a way to delete entities that do not exist in the xml file upon import. unfortunately, if item key is changed, all history is lost. similarly, if trigger name or expression is changed, events for that trigger are lost.

it might be useful to allow specifying one or more "old keys", "old names" and "old expressions". that way users could keep on importing templates that change these entities, and keep all the history. especially nice with the default zabbix templates, like the internal monitoring one.



 Comments   
Comment by Oleksii Zagorskyi [ 2015 Dec 01 ]

A bit not related but one of real case - upgrade 2.0 installation to 2.4.
Import new 2.4 "zabbix server app" template to update existing one.
Existing items had quotes for key parameters, items in template are without quotes.

To resolve that I had to manually remove quotes in keys (~10 items) in existing template, only then import.
That's annoying as I had to do that already several times

Comment by richlv [ 2016 Jan 22 ]

ZBXNEXT-3111 is somewhat similar - asks for specifying "old" value for lld

Generated at Sat Apr 20 00:55:33 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.