So we have a template in our production environment that we have been using under v6.4 for quite some time. We have a staging system where we have been making modifications to the template prior to moving to production. We have used this method for quite some time but this last time we got a huge suprise in trying to import the updated template. Specifically we are suddenly getting thousands of lines of the following:
If we turn off housekeeping in the administrative panel, we get thousands of lines of different errors.
So, how do we debug this or try and figure out how to import our new template. We have months of development in the modified template so its non-trivial to go backwards and try to figure out a merge process or incremental update. It can be done, but then this starts to point us to the point that templates are in fact not always backwards compatable and that the combination of changes to make them non-compatable are... mystic...
Note: Most of our pre-production deployment systems are non-HA. The two production systems we run are both HA. All environments use the MariaDB 10.6 Galera Cluster system with an HAProxy process running on each Zabbix server to reach the DB heads.
Marcos Della
Data Center Architect
Nutanix, Inc.
(blah, posted in the wrong place and now I can't move or delete this)
Code:
Error in query [INSERT INTO housekeeper (housekeeperid,tablename,field,value) VALUES ('62212448','events','itemid','233152'),('62212449','history','itemid','233152'),('62212450','history_log','itemid','233152'),('62212451','history_str','itemid','233152'),('62212452','history_text','itemid','233152'),('62212453','history_uint','itemid','233152'),('62212454','trends','itemid','233152'),('62212455','trends_uint','itemid','233152'),('62212456','events','itemid','233153'),('62212457','history','itemid','233153'),('62212458','history_log','itemid','233153'),('62212459','history_str','itemid','233153'),('62212460','history_text','itemid','233153'),('62212461','history_uint','itemid','233153'),...
So, how do we debug this or try and figure out how to import our new template. We have months of development in the modified template so its non-trivial to go backwards and try to figure out a merge process or incremental update. It can be done, but then this starts to point us to the point that templates are in fact not always backwards compatable and that the combination of changes to make them non-compatable are... mystic...
Note: Most of our pre-production deployment systems are non-HA. The two production systems we run are both HA. All environments use the MariaDB 10.6 Galera Cluster system with an HAProxy process running on each Zabbix server to reach the DB heads.
Marcos Della
Data Center Architect
Nutanix, Inc.
(blah, posted in the wrong place and now I can't move or delete this)
Comment