Hello,
95% of our events table in our Zabbix database is filled up with internal trigger events, resulting in some very slow SQL queries, despite it having indexes.
I researched extensively and understood the concept of those events, why and when are they being generated. However, because there are at least 3 reasons because of which those events can be generated (or rather 3 reasons why a trigger would change its state to unknown) - I cannot pinpoint the source of the problem.
We currently have a total of 410 hosts, ~248k items, and ~116k triggers. Many of those hosts go unavailable for some time, because they are in other countries and sometimes there are connectivity issues, so all their triggers go into an unknown state - which generates a lot of events. However, I'm not quite sure if that is really the reason behind this number, this is just a guess at best.
In the events table there currently are ~10,000,000 events - ~9,500,000 of which are internal trigger events.
My questions:
1. Is there a proper way to see what is the root of this huge amount of internal trigger events?
2. Can we safely delete those internal trigger events without causing Zabbix any issues?
3. Is there a way to disable the functionality of Zabbix generating these internal trigger events? I read that it has been added in v2.2 so we can get reports on unknown trigger states, however, if we do not want that - can we disable it somehow, since it fills up the entire table?
The server this is on is a really busy server, so we need to optimize it as much as we can - 95% of our events table being filled up with something we don't use seems bad.
Thanks in advance.
95% of our events table in our Zabbix database is filled up with internal trigger events, resulting in some very slow SQL queries, despite it having indexes.
I researched extensively and understood the concept of those events, why and when are they being generated. However, because there are at least 3 reasons because of which those events can be generated (or rather 3 reasons why a trigger would change its state to unknown) - I cannot pinpoint the source of the problem.
We currently have a total of 410 hosts, ~248k items, and ~116k triggers. Many of those hosts go unavailable for some time, because they are in other countries and sometimes there are connectivity issues, so all their triggers go into an unknown state - which generates a lot of events. However, I'm not quite sure if that is really the reason behind this number, this is just a guess at best.
In the events table there currently are ~10,000,000 events - ~9,500,000 of which are internal trigger events.
My questions:
1. Is there a proper way to see what is the root of this huge amount of internal trigger events?
2. Can we safely delete those internal trigger events without causing Zabbix any issues?
3. Is there a way to disable the functionality of Zabbix generating these internal trigger events? I read that it has been added in v2.2 so we can get reports on unknown trigger states, however, if we do not want that - can we disable it somehow, since it fills up the entire table?
The server this is on is a really busy server, so we need to optimize it as much as we can - 95% of our events table being filled up with something we don't use seems bad.
Thanks in advance.
Comment