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

Caches and buffers


In the early versions of Zabbix up to version 1.6, all Zabbix server interaction with data occurred directly via SQL statements in the database. For collecting an item, the flow was as follows:

  • The Zabbix server queried the database in search of the next item to be gathered (which would, actually, be the latest item for collection)

  • This query basically took into account two fields in the items table (delay and last_clock)

  • If the duration of the gap between the current time and last_clock (time of the last valid sample collection) was greater than delay (number of seconds between gathers), then the Zabbix server started a new collection for that item

  • A poller would be called and the collection would be made

  • When this poller received data from the Zabbix agent, it would execute INSERT on the database and store the collected values

The entire collection stream involved querying and writing (insert and update) to the database. In an environment of a large organization, where we...