Zabbix template upgrade

From UVOO Tech Wiki
Revision as of 17:30, 24 July 2023 by Busk (talk | contribs) (Created page with "https://www.zabbix.com/forum/zabbix-troubleshooting-and-problems/444292-unable-to-update-existing-templates-zabbix-6-0-4 ``` Hi! Same problem here (upgrade from 5.4 to 6.0)....")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

https://www.zabbix.com/forum/zabbix-troubleshooting-and-problems/444292-unable-to-update-existing-templates-zabbix-6-0-4

Hi!
Same problem here (upgrade from 5.4 to 6.0).

Here is what I did (but I do not recommend on production system since I have not sufficient history to understand if I do not have any regression or item loss) and this is far from being a clean solution:
1/ Unlink (but not clear sub-module templates from "Linux by zabbix Agent Active");
2/ delete all the old templates (sub-module from Linux + "Linux by zabbix Agent Active" + "Zabbix agent active");
3/ import the 6.0 version of "Linux by zabbix Agent Active" and "Zabbix agent active".
4/ Relink everything.

You may also want to use the https://github.com/southbridgeio/zab...-export-import project to regularly export in a GIT repo templates and macros to track any changes.

I am really a big fan of the Zabbix solution but I do not understand why templates have always been so painful to manage (the relatively new diff import feature goes in the right direction though)...

Good luck!