Zabbix Tuning
Zabbix Tuning
:..............................
Overview of Zabbix Performance Step 1. Identify & fix common problems Step 2. Tuning of Zabbix Parameters Step 3. Do extra work
.:.............................
Zabbix Conference 2011
Overview
What's Zabbix performance?
..:............................
DATA
History syncer
Poller
DATA
Trapper
DATA
History syncer
Database
Conf syncer
Conf syncer
OTHER
Trapper
DATA
Zabbix Server
...:...........................
NVPS
....:..........................
Hardware: Quad Core CPU, 6GB, RAID10 BBWC Budget: around 2K EUR
Housekeeper settings and thus size of the database Number of front-end users Complexity of triggers
......:........................
Zabbix Conference 2011
Data types
.......:.......................
........:......................
.........:.....................
..........:....................
...........:...................
............:..................
.............:.................
LogSlowQueries=1000
..............:................
...............:...............
discoverer, escalator, history syncer, http poller, housekeeper, icmp pinger, ipmi poller, poller, trapper
Before Zabbix 1.8.5 no way to see clearly how well Zabbix components work!
.................:.............
Percentage of time a component is in BUSY state zabbix[process,<type>,<mode>,<state>] <type> - trapper, discoverer, escalator, alerter, etc <mode> - avg, count, min, max <state> - busy, idle
..................:............
Zabbix Conference 2011
...................:...........
Do extra work
STEP 3
.....................:.........
Use Proxies
Alerter Escalator Trapper
DATA
Proxy
Trapper
Pollers
DATA
History syncer
DATA
Trapper
History syncer
Proxy
Trapper
Pollers
DATA
Conf syncer
Conf syncer
OTHER
DATA
Zabbix Server
......................:........
Table partitioning
It is a way to split large tables into smaller partitions. Make sense for historical tables: history_*, trends*, events Benefits Easy to remove older data Much better performance
.......................:.......
Zabbix Conference 2011
No table partitioning
History
........................:......
Partition 2011_08
Partition 2011_07
Partition 2011_06
.........................:.....
..........................:....
Summary
Make sure you did everything
...........................:...
Check list
Zabbix internal statistics is monitored! Otherwise you don't know anything about Zabbix
health
Zabbix configuration is tuned Database performance is tuned Housekeeper is not used, you use table partitions
DisableHousekeeper=1
............................:..
Additional reading
MySQL & PostgreSQL Performance Tuning Guides Table partitioning for Zabbix MySQL: zabbixzone.com http://www.zabbix.com/wiki/non PostgreSQL: english/ru/partitioning_in_postgresql Zabbix Internal Checks http://blog.zabbix.com/monitoring-how-busy-zabbix-processes-are http://www.zabbix.com/documentation/1.8/manual/config/items#in ternal_checks
.............................:.
Zabbix Conference 2011
WWW.ZABBIX.COM
Any questions?
..............................: