Hey Folks,
Since a few days, I'm trying to remove some orphaned or broken data in Zabbix. I added a Template about Systemd Service Discovery on Linux.
I then added these template to a few hosts, and it's working. But then I realized that one host where added with the wrong IP, so I changed the IP in the config of the host, and deleted the discovered items. But a few of these items already alerted a Problem.
The Problem is now staying open.

I even deleted the whole host, removed the template from the host etc. but the Problems still stay open, with no Host...
Then I tried a little more "hardcore" methods, and tried to delete the data directly from the database. I found a few scripts on git who were promising.
But after these scripts ran, All of the Problems, items etc were gone except these ones. So the scripts deleted all the data that weren't orphaned at all.
Now I have a backup from before these scripts run, so I can get back the deleted data at least. But I still need to get rid of these "Ghost" Problems.
Does anyone have an Idea or Solution to these?
Since a few days, I'm trying to remove some orphaned or broken data in Zabbix. I added a Template about Systemd Service Discovery on Linux.
I then added these template to a few hosts, and it's working. But then I realized that one host where added with the wrong IP, so I changed the IP in the config of the host, and deleted the discovered items. But a few of these items already alerted a Problem.
The Problem is now staying open.
I even deleted the whole host, removed the template from the host etc. but the Problems still stay open, with no Host...
Then I tried a little more "hardcore" methods, and tried to delete the data directly from the database. I found a few scripts on git who were promising.
But after these scripts ran, All of the Problems, items etc were gone except these ones. So the scripts deleted all the data that weren't orphaned at all.
Now I have a backup from before these scripts run, so I can get back the deleted data at least. But I still need to get rid of these "Ghost" Problems.
Does anyone have an Idea or Solution to these?
Comment