Book Image

Zabbix Performance Tuning

By : Luciano Alves, Luciano de C Alves
Book Image

Zabbix Performance Tuning

By: Luciano Alves, Luciano de C Alves

Overview of this book

Table of Contents (20 chapters)
Zabbix Performance Tuning
Credits
Foreword
About the Author
Acknowledgements
About the Reviewers
www.PacktPub.com
Preface
Index

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

  • last(): This uses the most recent value (last) received by the Zabbix server

Pretty low for items that frequently change values or receive values that have a huge oscillation, for example, processor load.

The cost...