Hi,
We have a zabbix postgresql 5.0.19 install with many hosts. All these hosts inherit from a specific template with a couple triggers.
Currently I need to change a dependency in the template but I cannot apply the change as it complains one of the triggers already exists.
When looking at the host it has two triggers with the same name inherited from the template. But one of these is an older version.
This could explain some of the issues we have with this trigger.
Trying to delete the trigger gives me a "Cannot delete triggers" error. There are probably more hosts with this faulty trigger.
How do I get rid of the old trigger without purging all the historical events of this trigger? Or even with the loss of the trigger history?
Would removing the trigger from the template completely remove both of them?
The database is currently 550 GB with 19000+ hosts so it's not something I can experiment with at the moment.
We have a zabbix postgresql 5.0.19 install with many hosts. All these hosts inherit from a specific template with a couple triggers.
Currently I need to change a dependency in the template but I cannot apply the change as it complains one of the triggers already exists.
When looking at the host it has two triggers with the same name inherited from the template. But one of these is an older version.
This could explain some of the issues we have with this trigger.
Trying to delete the trigger gives me a "Cannot delete triggers" error. There are probably more hosts with this faulty trigger.
How do I get rid of the old trigger without purging all the historical events of this trigger? Or even with the loss of the trigger history?
Would removing the trigger from the template completely remove both of them?
The database is currently 550 GB with 19000+ hosts so it's not something I can experiment with at the moment.
and manual is not allowed (that is a checkbox you set on the trigger) )
Comment