Triggers
Trigger functions can also affect the Zabbix server's performance in the same way as items and value types do. We know that Zabbix has a lot of trigger functions and each one has its pros and cons.
Again, the default templates released with Zabbix's sources shouldn't be used in a production environment. Why? That's easy; the trigger functions are really simple and will start lots of events. This amount of events will fill the database tables with unusable or useless data.
On the other hand, we have trigger functions that use time shifting and have a higher processing cost. So, there is a thin line that separates the effectiveness of a trigger and its efficiency.
Basically, we can explain this situation in the following table:
Trigger function |
Tolerance |
Processing cost |
---|---|---|
|
Pretty low for items that frequently change values or receive values that have a huge oscillation, for example, processor... |