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 ...

Get Zabbix Performance Tuning now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.