Zabbix Performance Tuning

Ricardo Santos
Ricardo SantosSystem Administrator um LocaWeb
ABC of
       Zabbix Performance
             Tuning
               Getting most out of your hardware




:..............................            Zabbix Conference 2011
What is all about



       • 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?




..:............................            Zabbix Conference 2011
Basic data flow
                    Alerter                   Poller    DATA
      GUI
                                  Escalator


                                              Poller
                         History
                         syncer
                                                        DATA
             DATA
                         History              Trapper
                         syncer
Database

                      Conf
                    Conf syncer    OTHER      Trapper   DATA
                     syncer


                    Zabbix Server



            No proxies, not a distributed setup
...:...........................                                Zabbix Conference 2011
Metrics of Zabbix
                    performance

      • Number of values processed per second (NVPS)
      • A rough estimate of NVPS is visible in Zabbix
         Dashboard




                                                        NVPS


....:..........................             Zabbix Conference 2011
Performance delivered by
                  Zabbix


           Hardware: Quad Core CPU, 6GB, RAID10 BBWC

           Budget: around 2K EUR

        • Zabbix is able to deliver 1 million of values per
           minute or around 15.000 of values per second

        • In real life performance would be worse. Why?!
.....:.........................                  Zabbix Conference 2011
Factors making performance
                  lower

        • Type of items, value types, SNMPv3, number of
           triggers and what the triggers are

        • Housekeeper settings and thus size of the database
        • Number of front-end users
        • Complexity of triggers


......:........................                 Zabbix Conference 2011
Slow v.s. Fast
What                       Slow                  Fast
Database size              Large                 Fits into memory
Trigger expressions        min(),max(),avg()     last(), nodata()
Data collection            Polling (SNMP,        Trapping (active
                           Agent-less, Passive   agents)
                           agent)
Data types                 Text, string          Numeric




.......:.......................                   Zabbix Conference 2011
Performance VS number of
                  hosts
 60 items per host, update frequency once per minute
Number of hosts        Performance (values per second)
10                     10
100                    100
1000                   1000
 600 items per host, update frequency once per minute
 Number of hosts                  Performance (values per second)
 10                               100
 100                              1000
 1000                             10000

........:......................                      Zabbix Conference 2011
Visible symptoms of bad
                 performance
     • Zabbix Queue has too many delayed items
           Administration->Queue

     • Frequent gaps in graphs, no data for some of the
         items

     • False positives for triggers having nodata() function
     • Unresponsive front-end


.........:.....................                Zabbix Conference 2011
Nice looking Queue




..........:....................   Zabbix Conference 2011
Identify & fix
          common problems
                                  STEP 1




...........:...................            Zabbix Conference 2011
Different views on
                     performance
        • “I just added 5 hosts and Zabbix died” :-(
        • “Zabbix is so slooooow, I have only 48 hosts” :-(
                however:

        • “Zabbix Milestone achieved - 1000 hosts and
           growing” :-)

        • “Our status update: 3771 hosts, 314698 items, 163266
           triggers, 2707 vps” :-)

                                           :-) - Happy!   :-( - Unhappy!
............:..................                   Zabbix Conference 2011
Common problems of initial
                setup
       • Use of default templates
        • Make your own smarter templates
         Default database settings
       •
           Tune database for the best performance
        •
         Not optimal configuration of Zabbix Server
       •
           Tune Zabbix Server configuration
        •
         Housekeeper
       •
         Use of older releases
       •
           Always use the latest one!
        •

.............:.................                       Zabbix Conference 2011
How do I know database
            performance is bad?

           Zabbix Server configuration file, zabbix_server.conf:



    LogSlowQueries=1000



..............:................                  Zabbix Conference 2011
Tune Zabbix
                 Configuration
                                  STEP 2




...............:...............            Zabbix Conference 2011
Get internal stats

        • Real number of VPS
         • zabbix[wcache, values, all]
         • zabbix[queue,1m] number of items delayed for more
             than 1 minute

        • Zabbix Server components
         • Alerter, Configuration syncer, DB watchdog,
             discoverer, escalator, history syncer, http poller,
             housekeeper, icmp pinger, ipmi poller, poller, trapper


................:..............                   Zabbix Conference 2011
Get internal stats



            Before Zabbix 1.8.5 no way to
           see clearly how well Zabbix
           components work!



.................:.............    Zabbix Conference 2011
Get internal stats

        • Now we have a very nice way of monitoring internal
          performance

        • 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
How it looks like




        • A graph indicating a problem




...................:...........          Zabbix Conference 2011
Tune number of processes
           Zabbix Server configuration file, zabbix_server.conf:



    StartPollers=80
    StartPingers=10
    StartPollersUnreachable=80
    StartIPMIPollers=10
    StartTrappers=20
    StartDBSyncers=8

....................:..........                  Zabbix Conference 2011
Do extra work
                                  STEP 3




.....................:.........            Zabbix Conference 2011
Use Proxies
Alerter                   Trapper    DATA
              Escalator                         Proxy   Pollers       DATA


                          Trapper
     History
     syncer
                                     DATA

     History              Trapper
     syncer
                                                Proxy   Pollers       DATA


  Conf
Conf syncer    OTHER      Trapper    DATA
 syncer


Zabbix Server



                               Proxies do data collection
......................:........                                   Zabbix Conference 2011
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


     Zabbix
     Server                       History
     & GUI



........................:......       Zabbix Conference 2011
With table partitioning
                                  Partition 2011_09



     Zabbix                       Partition 2011_08

     Server
     & GUI                        Partition 2011_07



                                  Partition 2011_06



.........................:.....            Zabbix Conference 2011
Hey, I tried everything!
      Performance is still not good.
           Run all Zabbix components on separate hardware!



                             Database
  Zabbix Server                               Zabbix GUI
                              Fast CPU
    Fast CPU                                   Fast CPU
                            16GB of RAM
   2GB of RAM                                 4GB of RAM
                            Fast storage




..........................:....              Zabbix Conference 2011
Summary
                   Make sure you did everything




...........................:...             Zabbix Conference 2011
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


............................:..                 Zabbix Conference 2011
Additional reading
       • MySQL & PostgreSQL Performance Tuning Guides
       • Table partitioning for Zabbix
        • MySQL: zabbixzone.com
        • PostgreSQL: http://www.zabbix.com/wiki/non-
           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?


                                  We are hiring good
                                      people! :)
..............................:       Zabbix Conference 2011
1 von 31

Recomendados

Zabbix Monitoring Platform von
Zabbix Monitoring Platform Zabbix Monitoring Platform
Zabbix Monitoring Platform Seyedmajid Etehadi
3.1K views25 Folien
Zabbix Performance Tuning von
Zabbix Performance TuningZabbix Performance Tuning
Zabbix Performance TuningAlessandro Silva
10.5K views28 Folien
Alexei Vladishev - Zabbix - Monitoring Solution for Everyone von
Alexei Vladishev - Zabbix - Monitoring Solution for EveryoneAlexei Vladishev - Zabbix - Monitoring Solution for Everyone
Alexei Vladishev - Zabbix - Monitoring Solution for EveryoneZabbix
83.6K views75 Folien
Zabbix von
ZabbixZabbix
Zabbixpundir5
8.1K views31 Folien
Apresentacao zabbix von
Apresentacao zabbixApresentacao zabbix
Apresentacao zabbixDaniel Peres
802 views17 Folien
Deploy MySQL e Performance Tuning - 3º Zabbix Meetup do Interior von
Deploy MySQL e Performance Tuning - 3º Zabbix Meetup do InteriorDeploy MySQL e Performance Tuning - 3º Zabbix Meetup do Interior
Deploy MySQL e Performance Tuning - 3º Zabbix Meetup do InteriorZabbix BR
3.9K views14 Folien

Más contenido relacionado

Was ist angesagt?

Zabbix construindo templates personalizados (zabbix-inventory) von
Zabbix construindo templates personalizados  (zabbix-inventory)Zabbix construindo templates personalizados  (zabbix-inventory)
Zabbix construindo templates personalizados (zabbix-inventory)Magno Monte Cerqueira
1.2K views25 Folien
Zabbix: Uma ferramenta para Gerenciamento de ambientes de T.I von
Zabbix: Uma ferramenta para Gerenciamento de ambientes de T.IZabbix: Uma ferramenta para Gerenciamento de ambientes de T.I
Zabbix: Uma ferramenta para Gerenciamento de ambientes de T.IAécio Pires
16.5K views42 Folien
Zabbix para iniciantes von
Zabbix para iniciantesZabbix para iniciantes
Zabbix para iniciantesWerneck Costa
93.6K views53 Folien
Zabbix 3.2 presentation June 2017 von
Zabbix 3.2 presentation June 2017Zabbix 3.2 presentation June 2017
Zabbix 3.2 presentation June 2017Amirhossein Saberi
4.9K views21 Folien
Monitoramento Enterprise com Zabbix+RHEL von
Monitoramento Enterprise com Zabbix+RHELMonitoramento Enterprise com Zabbix+RHEL
Monitoramento Enterprise com Zabbix+RHELAlessandro Silva
20.3K views50 Folien
Zabbix monitoring in 5 pictures von
Zabbix monitoring in 5 pictures  Zabbix monitoring in 5 pictures
Zabbix monitoring in 5 pictures Nicola Mauri
22.4K views7 Folien

Was ist angesagt?(20)

Zabbix construindo templates personalizados (zabbix-inventory) von Magno Monte Cerqueira
Zabbix construindo templates personalizados  (zabbix-inventory)Zabbix construindo templates personalizados  (zabbix-inventory)
Zabbix construindo templates personalizados (zabbix-inventory)
Zabbix: Uma ferramenta para Gerenciamento de ambientes de T.I von Aécio Pires
Zabbix: Uma ferramenta para Gerenciamento de ambientes de T.IZabbix: Uma ferramenta para Gerenciamento de ambientes de T.I
Zabbix: Uma ferramenta para Gerenciamento de ambientes de T.I
Aécio Pires16.5K views
Zabbix para iniciantes von Werneck Costa
Zabbix para iniciantesZabbix para iniciantes
Zabbix para iniciantes
Werneck Costa93.6K views
Monitoramento Enterprise com Zabbix+RHEL von Alessandro Silva
Monitoramento Enterprise com Zabbix+RHELMonitoramento Enterprise com Zabbix+RHEL
Monitoramento Enterprise com Zabbix+RHEL
Alessandro Silva20.3K views
Zabbix monitoring in 5 pictures von Nicola Mauri
Zabbix monitoring in 5 pictures  Zabbix monitoring in 5 pictures
Zabbix monitoring in 5 pictures
Nicola Mauri22.4K views
오픈스택 기반 클라우드 서비스 구축 방안 및 사례 von SONG INSEOB
오픈스택 기반 클라우드 서비스 구축 방안 및 사례오픈스택 기반 클라우드 서비스 구축 방안 및 사례
오픈스택 기반 클라우드 서비스 구축 방안 및 사례
SONG INSEOB7.7K views
MySQL Monitoring with Zabbix von FromDual GmbH
MySQL Monitoring with ZabbixMySQL Monitoring with Zabbix
MySQL Monitoring with Zabbix
FromDual GmbH27.7K views
Technical Introduction to PostgreSQL and PPAS von Ashnikbiz
Technical Introduction to PostgreSQL and PPASTechnical Introduction to PostgreSQL and PPAS
Technical Introduction to PostgreSQL and PPAS
Ashnikbiz5.5K views
MySQL InnoDB Cluster - New Features in 8.0 Releases - Best Practices von Kenny Gryp
MySQL InnoDB Cluster - New Features in 8.0 Releases - Best PracticesMySQL InnoDB Cluster - New Features in 8.0 Releases - Best Practices
MySQL InnoDB Cluster - New Features in 8.0 Releases - Best Practices
Kenny Gryp2.9K views
Monitoring all Elements of Your Database Operations With Zabbix von Zabbix
Monitoring all Elements of Your Database Operations With ZabbixMonitoring all Elements of Your Database Operations With Zabbix
Monitoring all Elements of Your Database Operations With Zabbix
Zabbix77.6K views
IBM Spectrum Scale for File and Object Storage von Tony Pearson
IBM Spectrum Scale for File and Object StorageIBM Spectrum Scale for File and Object Storage
IBM Spectrum Scale for File and Object Storage
Tony Pearson4.4K views
Prometheus (Prometheus London, 2016) von Brian Brazil
Prometheus (Prometheus London, 2016)Prometheus (Prometheus London, 2016)
Prometheus (Prometheus London, 2016)
Brian Brazil1.2K views
[OpenStack] 공개 소프트웨어 오픈스택 입문 & 파헤치기 von Ian Choi
[OpenStack] 공개 소프트웨어 오픈스택 입문 & 파헤치기[OpenStack] 공개 소프트웨어 오픈스택 입문 & 파헤치기
[OpenStack] 공개 소프트웨어 오픈스택 입문 & 파헤치기
Ian Choi15.7K views
Alexei vladishev - Open Source Monitoring With Zabbix von André Déo
Alexei vladishev - Open Source Monitoring With ZabbixAlexei vladishev - Open Source Monitoring With Zabbix
Alexei vladishev - Open Source Monitoring With Zabbix
André Déo5K views

Similar a Zabbix Performance Tuning

Inside the IT Territory game server / Mark Lokshin (IT Territory) von
Inside the IT Territory game server / Mark Lokshin (IT Territory)Inside the IT Territory game server / Mark Lokshin (IT Territory)
Inside the IT Territory game server / Mark Lokshin (IT Territory)DevGAMM Conference
56 views54 Folien
Zabbix 3.0 and beyond - FISL 2015 von
Zabbix 3.0 and beyond - FISL 2015Zabbix 3.0 and beyond - FISL 2015
Zabbix 3.0 and beyond - FISL 2015Zabbix
32.4K views57 Folien
Vladimir Ulogov - Large Scale Simulation | ZabConf2016 Lightning Talk von
Vladimir Ulogov - Large Scale Simulation | ZabConf2016 Lightning TalkVladimir Ulogov - Large Scale Simulation | ZabConf2016 Lightning Talk
Vladimir Ulogov - Large Scale Simulation | ZabConf2016 Lightning TalkZabbix
285 views14 Folien
OSDC 2016 - Ingesting Logs with Style by Pere Urbon-Bayes von
OSDC 2016 - Ingesting Logs with Style by Pere Urbon-BayesOSDC 2016 - Ingesting Logs with Style by Pere Urbon-Bayes
OSDC 2016 - Ingesting Logs with Style by Pere Urbon-BayesNETWAYS
137 views32 Folien
VS Debugging Tricks von
VS Debugging TricksVS Debugging Tricks
VS Debugging TricksSasha Goldshtein
10.7K views35 Folien
Capacity Planning For Web Operations Presentation von
Capacity Planning For Web Operations PresentationCapacity Planning For Web Operations Presentation
Capacity Planning For Web Operations Presentationjward5519
627 views52 Folien

Similar a Zabbix Performance Tuning(20)

Inside the IT Territory game server / Mark Lokshin (IT Territory) von DevGAMM Conference
Inside the IT Territory game server / Mark Lokshin (IT Territory)Inside the IT Territory game server / Mark Lokshin (IT Territory)
Inside the IT Territory game server / Mark Lokshin (IT Territory)
Zabbix 3.0 and beyond - FISL 2015 von Zabbix
Zabbix 3.0 and beyond - FISL 2015Zabbix 3.0 and beyond - FISL 2015
Zabbix 3.0 and beyond - FISL 2015
Zabbix32.4K views
Vladimir Ulogov - Large Scale Simulation | ZabConf2016 Lightning Talk von Zabbix
Vladimir Ulogov - Large Scale Simulation | ZabConf2016 Lightning TalkVladimir Ulogov - Large Scale Simulation | ZabConf2016 Lightning Talk
Vladimir Ulogov - Large Scale Simulation | ZabConf2016 Lightning Talk
Zabbix285 views
OSDC 2016 - Ingesting Logs with Style by Pere Urbon-Bayes von NETWAYS
OSDC 2016 - Ingesting Logs with Style by Pere Urbon-BayesOSDC 2016 - Ingesting Logs with Style by Pere Urbon-Bayes
OSDC 2016 - Ingesting Logs with Style by Pere Urbon-Bayes
NETWAYS137 views
Capacity Planning For Web Operations Presentation von jward5519
Capacity Planning For Web Operations PresentationCapacity Planning For Web Operations Presentation
Capacity Planning For Web Operations Presentation
jward5519627 views
Capacity Planning For Web Operations Presentation von jward5519
Capacity Planning For Web Operations PresentationCapacity Planning For Web Operations Presentation
Capacity Planning For Web Operations Presentation
jward5519422 views
Web Developing In Search von Frank Xu
Web Developing In SearchWeb Developing In Search
Web Developing In Search
Frank Xu313 views
What’s Slowing Down Your Kafka Pipeline? With Ruizhe Cheng and Pete Stevenson... von HostedbyConfluent
What’s Slowing Down Your Kafka Pipeline? With Ruizhe Cheng and Pete Stevenson...What’s Slowing Down Your Kafka Pipeline? With Ruizhe Cheng and Pete Stevenson...
What’s Slowing Down Your Kafka Pipeline? With Ruizhe Cheng and Pete Stevenson...
HostedbyConfluent351 views
OpenNebulaConf 2013 - Monitoring of OpenNebula installations by Florian Heigl von OpenNebula Project
OpenNebulaConf 2013 - Monitoring of OpenNebula installations by Florian Heigl OpenNebulaConf 2013 - Monitoring of OpenNebula installations by Florian Heigl
OpenNebulaConf 2013 - Monitoring of OpenNebula installations by Florian Heigl
Monitoring of OpenNebula installations von NETWAYS
Monitoring of OpenNebula installationsMonitoring of OpenNebula installations
Monitoring of OpenNebula installations
NETWAYS3.9K views
Alibaba cloud benchmarking report ecs rds limton xavier von Limton Xavier
Alibaba cloud benchmarking report ecs  rds limton xavierAlibaba cloud benchmarking report ecs  rds limton xavier
Alibaba cloud benchmarking report ecs rds limton xavier
Limton Xavier279 views
Microsoft Big Data @ SQLUG 2013 von Nathan Bijnens
Microsoft Big Data @ SQLUG 2013Microsoft Big Data @ SQLUG 2013
Microsoft Big Data @ SQLUG 2013
Nathan Bijnens10K views
Continuous Delivery and Infrastructure as Code von Sascha Möllering
Continuous Delivery and Infrastructure as CodeContinuous Delivery and Infrastructure as Code
Continuous Delivery and Infrastructure as Code
Sascha Möllering5.3K views

Más de Ricardo Santos

Portaria Inquerito Civil 5861/2013 von
Portaria Inquerito Civil 5861/2013Portaria Inquerito Civil 5861/2013
Portaria Inquerito Civil 5861/2013Ricardo Santos
1.2K views9 Folien
Representação ao MP sobre a descida de Ônibus na Pista Sul da Imigrantes von
Representação ao MP sobre a descida de Ônibus na Pista Sul da ImigrantesRepresentação ao MP sobre a descida de Ônibus na Pista Sul da Imigrantes
Representação ao MP sobre a descida de Ônibus na Pista Sul da ImigrantesRicardo Santos
1.1K views20 Folien
Carta enviada ao Governador pela UUFSAI von
Carta enviada ao Governador pela UUFSAICarta enviada ao Governador pela UUFSAI
Carta enviada ao Governador pela UUFSAIRicardo Santos
976 views2 Folien
Apresentação da ARTESP em 27/08 na ALESP von
Apresentação da ARTESP em 27/08 na ALESPApresentação da ARTESP em 27/08 na ALESP
Apresentação da ARTESP em 27/08 na ALESPRicardo Santos
1.3K views32 Folien
Requerimento de Informações à Secretaria de Transportes von
Requerimento de Informações à Secretaria de TransportesRequerimento de Informações à Secretaria de Transportes
Requerimento de Informações à Secretaria de TransportesRicardo Santos
629 views1 Folie
ATA da Reunião com a ARTESP no dia 12/07/2013 von
ATA da Reunião com a ARTESP no dia 12/07/2013ATA da Reunião com a ARTESP no dia 12/07/2013
ATA da Reunião com a ARTESP no dia 12/07/2013Ricardo Santos
1K views2 Folien

Más de Ricardo Santos(14)

Portaria Inquerito Civil 5861/2013 von Ricardo Santos
Portaria Inquerito Civil 5861/2013Portaria Inquerito Civil 5861/2013
Portaria Inquerito Civil 5861/2013
Ricardo Santos1.2K views
Representação ao MP sobre a descida de Ônibus na Pista Sul da Imigrantes von Ricardo Santos
Representação ao MP sobre a descida de Ônibus na Pista Sul da ImigrantesRepresentação ao MP sobre a descida de Ônibus na Pista Sul da Imigrantes
Representação ao MP sobre a descida de Ônibus na Pista Sul da Imigrantes
Ricardo Santos1.1K views
Carta enviada ao Governador pela UUFSAI von Ricardo Santos
Carta enviada ao Governador pela UUFSAICarta enviada ao Governador pela UUFSAI
Carta enviada ao Governador pela UUFSAI
Ricardo Santos976 views
Apresentação da ARTESP em 27/08 na ALESP von Ricardo Santos
Apresentação da ARTESP em 27/08 na ALESPApresentação da ARTESP em 27/08 na ALESP
Apresentação da ARTESP em 27/08 na ALESP
Ricardo Santos1.3K views
Requerimento de Informações à Secretaria de Transportes von Ricardo Santos
Requerimento de Informações à Secretaria de TransportesRequerimento de Informações à Secretaria de Transportes
Requerimento de Informações à Secretaria de Transportes
Ricardo Santos629 views
ATA da Reunião com a ARTESP no dia 12/07/2013 von Ricardo Santos
ATA da Reunião com a ARTESP no dia 12/07/2013ATA da Reunião com a ARTESP no dia 12/07/2013
ATA da Reunião com a ARTESP no dia 12/07/2013
Ricardo Santos1K views
ATA da Reunião da AFREBAS com na Prefeitura de Santos von Ricardo Santos
ATA da Reunião da AFREBAS com na Prefeitura de SantosATA da Reunião da AFREBAS com na Prefeitura de Santos
ATA da Reunião da AFREBAS com na Prefeitura de Santos
Ricardo Santos669 views
Comunicado da AFREBAS aos seus Usuários sobre as Manifestações von Ricardo Santos
Comunicado da AFREBAS aos seus Usuários sobre as ManifestaçõesComunicado da AFREBAS aos seus Usuários sobre as Manifestações
Comunicado da AFREBAS aos seus Usuários sobre as Manifestações
Ricardo Santos735 views
Aplicabilidade de alternativas que promovam a melhoria contínua do tráfego de... von Ricardo Santos
Aplicabilidade de alternativas que promovam a melhoria contínua do tráfego de...Aplicabilidade de alternativas que promovam a melhoria contínua do tráfego de...
Aplicabilidade de alternativas que promovam a melhoria contínua do tráfego de...
Ricardo Santos639 views
Laudo sobre a descida de fretados pela Imigrantes von Ricardo Santos
Laudo sobre a descida de fretados pela ImigrantesLaudo sobre a descida de fretados pela Imigrantes
Laudo sobre a descida de fretados pela Imigrantes
Ricardo Santos777 views
Using Zabbix API from Drupal von Ricardo Santos
Using Zabbix API from DrupalUsing Zabbix API from Drupal
Using Zabbix API from Drupal
Ricardo Santos2.1K views
The hidden power of network maps on Zabbix von Ricardo Santos
The hidden power of network maps on ZabbixThe hidden power of network maps on Zabbix
The hidden power of network maps on Zabbix
Ricardo Santos33.2K views
Zabbix by Alexei Vladishev - FISL12 - 2011 von Ricardo Santos
Zabbix by Alexei Vladishev - FISL12 - 2011Zabbix by Alexei Vladishev - FISL12 - 2011
Zabbix by Alexei Vladishev - FISL12 - 2011
Ricardo Santos4.2K views

Último

Webinar : Desperately Seeking Transformation - Part 2: Insights from leading... von
Webinar : Desperately Seeking Transformation - Part 2:  Insights from leading...Webinar : Desperately Seeking Transformation - Part 2:  Insights from leading...
Webinar : Desperately Seeking Transformation - Part 2: Insights from leading...The Digital Insurer
91 views52 Folien
Transcript: Redefining the book supply chain: A glimpse into the future - Tec... von
Transcript: Redefining the book supply chain: A glimpse into the future - Tec...Transcript: Redefining the book supply chain: A glimpse into the future - Tec...
Transcript: Redefining the book supply chain: A glimpse into the future - Tec...BookNet Canada
41 views16 Folien
CloudStack Object Storage - An Introduction - Vladimir Petrov - ShapeBlue von
CloudStack Object Storage - An Introduction - Vladimir Petrov - ShapeBlueCloudStack Object Storage - An Introduction - Vladimir Petrov - ShapeBlue
CloudStack Object Storage - An Introduction - Vladimir Petrov - ShapeBlueShapeBlue
139 views15 Folien
The Power of Heat Decarbonisation Plans in the Built Environment von
The Power of Heat Decarbonisation Plans in the Built EnvironmentThe Power of Heat Decarbonisation Plans in the Built Environment
The Power of Heat Decarbonisation Plans in the Built EnvironmentIES VE
84 views20 Folien
ESPC 2023 - Protect and Govern your Sensitive Data with Microsoft Purview in ... von
ESPC 2023 - Protect and Govern your Sensitive Data with Microsoft Purview in ...ESPC 2023 - Protect and Govern your Sensitive Data with Microsoft Purview in ...
ESPC 2023 - Protect and Govern your Sensitive Data with Microsoft Purview in ...Jasper Oosterveld
35 views49 Folien
Why and How CloudStack at weSystems - Stephan Bienek - weSystems von
Why and How CloudStack at weSystems - Stephan Bienek - weSystemsWhy and How CloudStack at weSystems - Stephan Bienek - weSystems
Why and How CloudStack at weSystems - Stephan Bienek - weSystemsShapeBlue
247 views13 Folien

Último(20)

Webinar : Desperately Seeking Transformation - Part 2: Insights from leading... von The Digital Insurer
Webinar : Desperately Seeking Transformation - Part 2:  Insights from leading...Webinar : Desperately Seeking Transformation - Part 2:  Insights from leading...
Webinar : Desperately Seeking Transformation - Part 2: Insights from leading...
Transcript: Redefining the book supply chain: A glimpse into the future - Tec... von BookNet Canada
Transcript: Redefining the book supply chain: A glimpse into the future - Tec...Transcript: Redefining the book supply chain: A glimpse into the future - Tec...
Transcript: Redefining the book supply chain: A glimpse into the future - Tec...
BookNet Canada41 views
CloudStack Object Storage - An Introduction - Vladimir Petrov - ShapeBlue von ShapeBlue
CloudStack Object Storage - An Introduction - Vladimir Petrov - ShapeBlueCloudStack Object Storage - An Introduction - Vladimir Petrov - ShapeBlue
CloudStack Object Storage - An Introduction - Vladimir Petrov - ShapeBlue
ShapeBlue139 views
The Power of Heat Decarbonisation Plans in the Built Environment von IES VE
The Power of Heat Decarbonisation Plans in the Built EnvironmentThe Power of Heat Decarbonisation Plans in the Built Environment
The Power of Heat Decarbonisation Plans in the Built Environment
IES VE84 views
ESPC 2023 - Protect and Govern your Sensitive Data with Microsoft Purview in ... von Jasper Oosterveld
ESPC 2023 - Protect and Govern your Sensitive Data with Microsoft Purview in ...ESPC 2023 - Protect and Govern your Sensitive Data with Microsoft Purview in ...
ESPC 2023 - Protect and Govern your Sensitive Data with Microsoft Purview in ...
Why and How CloudStack at weSystems - Stephan Bienek - weSystems von ShapeBlue
Why and How CloudStack at weSystems - Stephan Bienek - weSystemsWhy and How CloudStack at weSystems - Stephan Bienek - weSystems
Why and How CloudStack at weSystems - Stephan Bienek - weSystems
ShapeBlue247 views
Business Analyst Series 2023 - Week 4 Session 8 von DianaGray10
Business Analyst Series 2023 -  Week 4 Session 8Business Analyst Series 2023 -  Week 4 Session 8
Business Analyst Series 2023 - Week 4 Session 8
DianaGray10145 views
2FA and OAuth2 in CloudStack - Andrija Panić - ShapeBlue von ShapeBlue
2FA and OAuth2 in CloudStack - Andrija Panić - ShapeBlue2FA and OAuth2 in CloudStack - Andrija Panić - ShapeBlue
2FA and OAuth2 in CloudStack - Andrija Panić - ShapeBlue
ShapeBlue152 views
VNF Integration and Support in CloudStack - Wei Zhou - ShapeBlue von ShapeBlue
VNF Integration and Support in CloudStack - Wei Zhou - ShapeBlueVNF Integration and Support in CloudStack - Wei Zhou - ShapeBlue
VNF Integration and Support in CloudStack - Wei Zhou - ShapeBlue
ShapeBlue207 views
Elevating Privacy and Security in CloudStack - Boris Stoyanov - ShapeBlue von ShapeBlue
Elevating Privacy and Security in CloudStack - Boris Stoyanov - ShapeBlueElevating Privacy and Security in CloudStack - Boris Stoyanov - ShapeBlue
Elevating Privacy and Security in CloudStack - Boris Stoyanov - ShapeBlue
ShapeBlue224 views
Hypervisor Agnostic DRS in CloudStack - Brief overview & demo - Vishesh Jinda... von ShapeBlue
Hypervisor Agnostic DRS in CloudStack - Brief overview & demo - Vishesh Jinda...Hypervisor Agnostic DRS in CloudStack - Brief overview & demo - Vishesh Jinda...
Hypervisor Agnostic DRS in CloudStack - Brief overview & demo - Vishesh Jinda...
ShapeBlue164 views
KVM Security Groups Under the Hood - Wido den Hollander - Your.Online von ShapeBlue
KVM Security Groups Under the Hood - Wido den Hollander - Your.OnlineKVM Security Groups Under the Hood - Wido den Hollander - Your.Online
KVM Security Groups Under the Hood - Wido den Hollander - Your.Online
ShapeBlue225 views
Don’t Make A Human Do A Robot’s Job! : 6 Reasons Why AI Will Save Us & Not De... von Moses Kemibaro
Don’t Make A Human Do A Robot’s Job! : 6 Reasons Why AI Will Save Us & Not De...Don’t Make A Human Do A Robot’s Job! : 6 Reasons Why AI Will Save Us & Not De...
Don’t Make A Human Do A Robot’s Job! : 6 Reasons Why AI Will Save Us & Not De...
Moses Kemibaro35 views
How to Re-use Old Hardware with CloudStack. Saving Money and the Environment ... von ShapeBlue
How to Re-use Old Hardware with CloudStack. Saving Money and the Environment ...How to Re-use Old Hardware with CloudStack. Saving Money and the Environment ...
How to Re-use Old Hardware with CloudStack. Saving Money and the Environment ...
ShapeBlue171 views
The Power of Generative AI in Accelerating No Code Adoption.pdf von Saeed Al Dhaheri
The Power of Generative AI in Accelerating No Code Adoption.pdfThe Power of Generative AI in Accelerating No Code Adoption.pdf
The Power of Generative AI in Accelerating No Code Adoption.pdf
Saeed Al Dhaheri39 views
Mitigating Common CloudStack Instance Deployment Failures - Jithin Raju - Sha... von ShapeBlue
Mitigating Common CloudStack Instance Deployment Failures - Jithin Raju - Sha...Mitigating Common CloudStack Instance Deployment Failures - Jithin Raju - Sha...
Mitigating Common CloudStack Instance Deployment Failures - Jithin Raju - Sha...
ShapeBlue183 views

Zabbix Performance Tuning

  • 1. ABC of Zabbix Performance Tuning Getting most out of your hardware :.............................. Zabbix Conference 2011
  • 2. What is all about • Overview of Zabbix Performance • Step 1. Identify & fix common problems • Step 2. Tuning of Zabbix Parameters • Step 3. Do extra work .:............................. Zabbix Conference 2011
  • 3. Overview What's Zabbix performance? ..:............................ Zabbix Conference 2011
  • 4. Basic data flow Alerter Poller DATA GUI Escalator Poller History syncer DATA DATA History Trapper syncer Database Conf Conf syncer OTHER Trapper DATA syncer Zabbix Server No proxies, not a distributed setup ...:........................... Zabbix Conference 2011
  • 5. Metrics of Zabbix performance • Number of values processed per second (NVPS) • A rough estimate of NVPS is visible in Zabbix Dashboard NVPS ....:.......................... Zabbix Conference 2011
  • 6. Performance delivered by Zabbix Hardware: Quad Core CPU, 6GB, RAID10 BBWC Budget: around 2K EUR • Zabbix is able to deliver 1 million of values per minute or around 15.000 of values per second • In real life performance would be worse. Why?! .....:......................... Zabbix Conference 2011
  • 7. Factors making performance lower • Type of items, value types, SNMPv3, number of triggers and what the triggers are • Housekeeper settings and thus size of the database • Number of front-end users • Complexity of triggers ......:........................ Zabbix Conference 2011
  • 8. Slow v.s. Fast What Slow Fast Database size Large Fits into memory Trigger expressions min(),max(),avg() last(), nodata() Data collection Polling (SNMP, Trapping (active Agent-less, Passive agents) agent) Data types Text, string Numeric .......:....................... Zabbix Conference 2011
  • 9. Performance VS number of hosts 60 items per host, update frequency once per minute Number of hosts Performance (values per second) 10 10 100 100 1000 1000 600 items per host, update frequency once per minute Number of hosts Performance (values per second) 10 100 100 1000 1000 10000 ........:...................... Zabbix Conference 2011
  • 10. Visible symptoms of bad performance • Zabbix Queue has too many delayed items Administration->Queue • Frequent gaps in graphs, no data for some of the items • False positives for triggers having nodata() function • Unresponsive front-end .........:..................... Zabbix Conference 2011
  • 12. Identify & fix common problems STEP 1 ...........:................... Zabbix Conference 2011
  • 13. Different views on performance • “I just added 5 hosts and Zabbix died” :-( • “Zabbix is so slooooow, I have only 48 hosts” :-( however: • “Zabbix Milestone achieved - 1000 hosts and growing” :-) • “Our status update: 3771 hosts, 314698 items, 163266 triggers, 2707 vps” :-) :-) - Happy! :-( - Unhappy! ............:.................. Zabbix Conference 2011
  • 14. Common problems of initial setup • Use of default templates • Make your own smarter templates Default database settings • Tune database for the best performance • Not optimal configuration of Zabbix Server • Tune Zabbix Server configuration • Housekeeper • Use of older releases • Always use the latest one! • .............:................. Zabbix Conference 2011
  • 15. How do I know database performance is bad? Zabbix Server configuration file, zabbix_server.conf: LogSlowQueries=1000 ..............:................ Zabbix Conference 2011
  • 16. Tune Zabbix Configuration STEP 2 ...............:............... Zabbix Conference 2011
  • 17. Get internal stats • Real number of VPS • zabbix[wcache, values, all] • zabbix[queue,1m] number of items delayed for more than 1 minute • Zabbix Server components • Alerter, Configuration syncer, DB watchdog, discoverer, escalator, history syncer, http poller, housekeeper, icmp pinger, ipmi poller, poller, trapper ................:.............. Zabbix Conference 2011
  • 18. Get internal stats Before Zabbix 1.8.5 no way to see clearly how well Zabbix components work! .................:............. Zabbix Conference 2011
  • 19. Get internal stats • Now we have a very nice way of monitoring internal performance • 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
  • 20. How it looks like • A graph indicating a problem ...................:........... Zabbix Conference 2011
  • 21. Tune number of processes Zabbix Server configuration file, zabbix_server.conf: StartPollers=80 StartPingers=10 StartPollersUnreachable=80 StartIPMIPollers=10 StartTrappers=20 StartDBSyncers=8 ....................:.......... Zabbix Conference 2011
  • 22. Do extra work STEP 3 .....................:......... Zabbix Conference 2011
  • 23. Use Proxies Alerter Trapper DATA Escalator Proxy Pollers DATA Trapper History syncer DATA History Trapper syncer Proxy Pollers DATA Conf Conf syncer OTHER Trapper DATA syncer Zabbix Server Proxies do data collection ......................:........ Zabbix Conference 2011
  • 24. 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
  • 25. No table partitioning Zabbix Server History & GUI ........................:...... Zabbix Conference 2011
  • 26. With table partitioning Partition 2011_09 Zabbix Partition 2011_08 Server & GUI Partition 2011_07 Partition 2011_06 .........................:..... Zabbix Conference 2011
  • 27. Hey, I tried everything! Performance is still not good. Run all Zabbix components on separate hardware! Database Zabbix Server Zabbix GUI Fast CPU Fast CPU Fast CPU 16GB of RAM 2GB of RAM 4GB of RAM Fast storage ..........................:.... Zabbix Conference 2011
  • 28. Summary Make sure you did everything ...........................:... Zabbix Conference 2011
  • 29. 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 ............................:.. Zabbix Conference 2011
  • 30. Additional reading • MySQL & PostgreSQL Performance Tuning Guides • Table partitioning for Zabbix • MySQL: zabbixzone.com • PostgreSQL: http://www.zabbix.com/wiki/non- 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
  • 31. WWW.ZABBIX.COM Any questions? We are hiring good people! :) ..............................: Zabbix Conference 2011