Zabbix 7.2.4., MySQL DB.
I had attached a new version of a template to some existing hosts, then I went back to the previous template since I had to review some parameters.
However, some discovered triggers from the new template continued to fire up.
I deleted the new template altogether, but some orphaned LLD items and templates are still present in the database, since some triggers still continue to being fired up.
I am unable to find those orphaned entries in the web interface. There are several sql scripts to clean up the database on github, but all of them are for very old Zabbix versions.
Does anybody have some scripts to clean the database that have been tested on recent Zabbix versions?
Or else, can anybody suggest a query to find those orphaned items in the database?
I had attached a new version of a template to some existing hosts, then I went back to the previous template since I had to review some parameters.
However, some discovered triggers from the new template continued to fire up.
I deleted the new template altogether, but some orphaned LLD items and templates are still present in the database, since some triggers still continue to being fired up.
I am unable to find those orphaned entries in the web interface. There are several sql scripts to clean up the database on github, but all of them are for very old Zabbix versions.
Does anybody have some scripts to clean the database that have been tested on recent Zabbix versions?
Or else, can anybody suggest a query to find those orphaned items in the database?
Comment