Hi,
I have 858 hosts using the "Linux by Zabbix Agent active" template from Zabbix 5.4.
I want to upgrade the template to version 6.2, especially because of the new functionality with heartbeats in active checks.
I don't think they have any custom changes, and if they do, I don't care about overwriting them.
It seemed like a good idea to follow this blog post: https://blog.zabbix.com/keeping-your...to-date/16412/
The directions says to "add a prefix to their names, so the new and old templates can live side by side", but this is just incorrect. It appears the templates have a UUID, so the name doesn't matter.
(And why is this? If the templates can't compatibly upgrade, they shouldn't have the same UUID..)
Anyway, I exported the 5.4 version of the template and tried to import 6.2. It keeps giving me errors like "Item with key "proc.num" already exists on "Linux by Zabbix agent active".".
I tried removing a few until I figured that's a bad idea.
If I check all the "Delete missing" boxes, it times out with a database error, seemingly trying to update all 858 hosts. I'm unable to reproduce the error the past few attempts, now it just gives "Unexpected server error.".
What gives? What am I supposed to do? Change the UUID in the imported template (or the old)?
Then replace the template on all the hosts?
Template upgrades seem like a huge oversight..
Thanks
I have 858 hosts using the "Linux by Zabbix Agent active" template from Zabbix 5.4.
I want to upgrade the template to version 6.2, especially because of the new functionality with heartbeats in active checks.
I don't think they have any custom changes, and if they do, I don't care about overwriting them.
It seemed like a good idea to follow this blog post: https://blog.zabbix.com/keeping-your...to-date/16412/
The directions says to "add a prefix to their names, so the new and old templates can live side by side", but this is just incorrect. It appears the templates have a UUID, so the name doesn't matter.
(And why is this? If the templates can't compatibly upgrade, they shouldn't have the same UUID..)
Anyway, I exported the 5.4 version of the template and tried to import 6.2. It keeps giving me errors like "Item with key "proc.num" already exists on "Linux by Zabbix agent active".".
I tried removing a few until I figured that's a bad idea.
If I check all the "Delete missing" boxes, it times out with a database error, seemingly trying to update all 858 hosts. I'm unable to reproduce the error the past few attempts, now it just gives "Unexpected server error.".
What gives? What am I supposed to do? Change the UUID in the imported template (or the old)?
Then replace the template on all the hosts?
Template upgrades seem like a huge oversight..
Thanks
Comment