SlideShare une entreprise Scribd logo
1  sur  31
Télécharger pour lire hors ligne
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

Contenu connexe

Tendances

Google Cloud Platform monitoring with Zabbix
Google Cloud Platform monitoring with ZabbixGoogle Cloud Platform monitoring with Zabbix
Google Cloud Platform monitoring with ZabbixMax Kuzkin
 
Alexei vladishev - Open Source Monitoring With Zabbix
Alexei vladishev - Open Source Monitoring With ZabbixAlexei vladishev - Open Source Monitoring With Zabbix
Alexei vladishev - Open Source Monitoring With ZabbixAndré Déo
 
Monitoring Oracle Database Instances with Zabbix
Monitoring Oracle Database Instances with ZabbixMonitoring Oracle Database Instances with Zabbix
Monitoring Oracle Database Instances with ZabbixGerger
 
Introduction To Terraform
Introduction To TerraformIntroduction To Terraform
Introduction To TerraformSasitha Iresh
 
Terraform -- Infrastructure as Code
Terraform -- Infrastructure as CodeTerraform -- Infrastructure as Code
Terraform -- Infrastructure as CodeMartin Schütte
 
Introduction to Chef
Introduction to ChefIntroduction to Chef
Introduction to ChefKnoldus Inc.
 
[오픈소스컨설팅] Open Stack Ceph, Neutron, HA, Multi-Region
[오픈소스컨설팅] Open Stack Ceph, Neutron, HA, Multi-Region[오픈소스컨설팅] Open Stack Ceph, Neutron, HA, Multi-Region
[오픈소스컨설팅] Open Stack Ceph, Neutron, HA, Multi-RegionJi-Woong Choi
 
Elastic - ELK, Logstash & Kibana
Elastic - ELK, Logstash & KibanaElastic - ELK, Logstash & Kibana
Elastic - ELK, Logstash & KibanaSpringPeople
 
[OpenInfra Days Korea 2018] (Track 2) Neutron LBaaS 어디까지 왔니? - Octavia 소개
[OpenInfra Days Korea 2018] (Track 2) Neutron LBaaS 어디까지 왔니? - Octavia 소개[OpenInfra Days Korea 2018] (Track 2) Neutron LBaaS 어디까지 왔니? - Octavia 소개
[OpenInfra Days Korea 2018] (Track 2) Neutron LBaaS 어디까지 왔니? - Octavia 소개OpenStack Korea Community
 
Monitoramento Enterprise com Zabbix+RHEL
Monitoramento Enterprise com Zabbix+RHELMonitoramento Enterprise com Zabbix+RHEL
Monitoramento Enterprise com Zabbix+RHELAlessandro Silva
 
Automation with ansible
Automation with ansibleAutomation with ansible
Automation with ansibleKhizer Naeem
 
MSA 전략 2: 마이크로서비스, 어떻게 구현할 것인가?
MSA 전략 2: 마이크로서비스, 어떻게 구현할 것인가?MSA 전략 2: 마이크로서비스, 어떻게 구현할 것인가?
MSA 전략 2: 마이크로서비스, 어떻게 구현할 것인가?VMware Tanzu Korea
 
Zabbix e o Mistério das Expressões Regulares
Zabbix e o Mistério das Expressões RegularesZabbix e o Mistério das Expressões Regulares
Zabbix e o Mistério das Expressões RegularesHenrique Haag Ribacki
 

Tendances (20)

Google Cloud Platform monitoring with Zabbix
Google Cloud Platform monitoring with ZabbixGoogle Cloud Platform monitoring with Zabbix
Google Cloud Platform monitoring with Zabbix
 
Zabbix
ZabbixZabbix
Zabbix
 
Alexei vladishev - Open Source Monitoring With Zabbix
Alexei vladishev - Open Source Monitoring With ZabbixAlexei vladishev - Open Source Monitoring With Zabbix
Alexei vladishev - Open Source Monitoring With Zabbix
 
Terraform
TerraformTerraform
Terraform
 
Zabbix Performance Tuning
Zabbix Performance TuningZabbix Performance Tuning
Zabbix Performance Tuning
 
Monitoring Oracle Database Instances with Zabbix
Monitoring Oracle Database Instances with ZabbixMonitoring Oracle Database Instances with Zabbix
Monitoring Oracle Database Instances with Zabbix
 
Terraform Basics
Terraform BasicsTerraform Basics
Terraform Basics
 
Introduction To Terraform
Introduction To TerraformIntroduction To Terraform
Introduction To Terraform
 
Terraform -- Infrastructure as Code
Terraform -- Infrastructure as CodeTerraform -- Infrastructure as Code
Terraform -- Infrastructure as Code
 
Introduction to Chef
Introduction to ChefIntroduction to Chef
Introduction to Chef
 
[오픈소스컨설팅] Open Stack Ceph, Neutron, HA, Multi-Region
[오픈소스컨설팅] Open Stack Ceph, Neutron, HA, Multi-Region[오픈소스컨설팅] Open Stack Ceph, Neutron, HA, Multi-Region
[오픈소스컨설팅] Open Stack Ceph, Neutron, HA, Multi-Region
 
Elastic - ELK, Logstash & Kibana
Elastic - ELK, Logstash & KibanaElastic - ELK, Logstash & Kibana
Elastic - ELK, Logstash & Kibana
 
Final terraform
Final terraformFinal terraform
Final terraform
 
[OpenInfra Days Korea 2018] (Track 2) Neutron LBaaS 어디까지 왔니? - Octavia 소개
[OpenInfra Days Korea 2018] (Track 2) Neutron LBaaS 어디까지 왔니? - Octavia 소개[OpenInfra Days Korea 2018] (Track 2) Neutron LBaaS 어디까지 왔니? - Octavia 소개
[OpenInfra Days Korea 2018] (Track 2) Neutron LBaaS 어디까지 왔니? - Octavia 소개
 
Monitoramento Enterprise com Zabbix+RHEL
Monitoramento Enterprise com Zabbix+RHELMonitoramento Enterprise com Zabbix+RHEL
Monitoramento Enterprise com Zabbix+RHEL
 
Automation with ansible
Automation with ansibleAutomation with ansible
Automation with ansible
 
MSA 전략 2: 마이크로서비스, 어떻게 구현할 것인가?
MSA 전략 2: 마이크로서비스, 어떻게 구현할 것인가?MSA 전략 2: 마이크로서비스, 어떻게 구현할 것인가?
MSA 전략 2: 마이크로서비스, 어떻게 구현할 것인가?
 
Zabbix e o Mistério das Expressões Regulares
Zabbix e o Mistério das Expressões RegularesZabbix e o Mistério das Expressões Regulares
Zabbix e o Mistério das Expressões Regulares
 
Alfresco tuning part1
Alfresco tuning part1Alfresco tuning part1
Alfresco tuning part1
 
Ansible
AnsibleAnsible
Ansible
 

Similaire à Zabbix Performance Tuning

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)
Inside the IT Territory game server / Mark Lokshin (IT Territory)DevGAMM Conference
 
Zabbix 3.0 and beyond - FISL 2015
Zabbix 3.0 and beyond - FISL 2015Zabbix 3.0 and beyond - FISL 2015
Zabbix 3.0 and beyond - FISL 2015Zabbix
 
Vladimir Ulogov - Large Scale Simulation | ZabConf2016 Lightning Talk
Vladimir Ulogov - Large Scale Simulation | ZabConf2016 Lightning TalkVladimir Ulogov - Large Scale Simulation | ZabConf2016 Lightning Talk
Vladimir Ulogov - Large Scale Simulation | ZabConf2016 Lightning TalkZabbix
 
OSDC 2016 - Ingesting Logs with Style by Pere Urbon-Bayes
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
 
Capacity Planning For Web Operations Presentation
Capacity Planning For Web Operations PresentationCapacity Planning For Web Operations Presentation
Capacity Planning For Web Operations Presentationjward5519
 
Capacity Planning For Web Operations Presentation
Capacity Planning For Web Operations PresentationCapacity Planning For Web Operations Presentation
Capacity Planning For Web Operations Presentationjward5519
 
Getting started with ibm tivoli workload scheduler v8.3 sg247237
Getting started with ibm tivoli workload scheduler v8.3 sg247237Getting started with ibm tivoli workload scheduler v8.3 sg247237
Getting started with ibm tivoli workload scheduler v8.3 sg247237Banking at Ho Chi Minh city
 
Web Developing In Search
Web Developing In SearchWeb Developing In Search
Web Developing In SearchFrank Xu
 
Monitoring the ELK stack using Zabbix and Grafana (Dennis Kanbier / 26-11-2015)
Monitoring the ELK stack using Zabbix and Grafana (Dennis Kanbier / 26-11-2015)Monitoring the ELK stack using Zabbix and Grafana (Dennis Kanbier / 26-11-2015)
Monitoring the ELK stack using Zabbix and Grafana (Dennis Kanbier / 26-11-2015)Nederlandstalige Zabbix Gebruikersgroep
 
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...
What’s Slowing Down Your Kafka Pipeline? With Ruizhe Cheng and Pete Stevenson...HostedbyConfluent
 
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
OpenNebulaConf 2013 - Monitoring of OpenNebula installations by Florian Heigl OpenNebula Project
 
Monitoring of OpenNebula installations
Monitoring of OpenNebula installationsMonitoring of OpenNebula installations
Monitoring of OpenNebula installationsNETWAYS
 
Getting started with ibm tivoli performance analyzer version 6.1 sg247478
Getting started with ibm tivoli performance analyzer version 6.1 sg247478Getting started with ibm tivoli performance analyzer version 6.1 sg247478
Getting started with ibm tivoli performance analyzer version 6.1 sg247478Banking at Ho Chi Minh city
 
Tivoli storage productivity center v4.2 release guide sg247894
Tivoli storage productivity center v4.2 release guide sg247894Tivoli storage productivity center v4.2 release guide sg247894
Tivoli storage productivity center v4.2 release guide sg247894Banking at Ho Chi Minh city
 
Alibaba cloud benchmarking report ecs rds limton xavier
Alibaba cloud benchmarking report ecs  rds limton xavierAlibaba cloud benchmarking report ecs  rds limton xavier
Alibaba cloud benchmarking report ecs rds limton xavierLimton Xavier
 
Microsoft Big Data @ SQLUG 2013
Microsoft Big Data @ SQLUG 2013Microsoft Big Data @ SQLUG 2013
Microsoft Big Data @ SQLUG 2013Nathan Bijnens
 
Continuous Delivery and Infrastructure as Code
Continuous Delivery and Infrastructure as CodeContinuous Delivery and Infrastructure as Code
Continuous Delivery and Infrastructure as CodeSascha Möllering
 

Similaire à Zabbix Performance Tuning (20)

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)
Inside the IT Territory game server / Mark Lokshin (IT Territory)
 
Zabbix 3.0 and beyond - FISL 2015
Zabbix 3.0 and beyond - FISL 2015Zabbix 3.0 and beyond - FISL 2015
Zabbix 3.0 and beyond - FISL 2015
 
Vladimir Ulogov - Large Scale Simulation | ZabConf2016 Lightning Talk
Vladimir Ulogov - Large Scale Simulation | ZabConf2016 Lightning TalkVladimir Ulogov - Large Scale Simulation | ZabConf2016 Lightning Talk
Vladimir Ulogov - Large Scale Simulation | ZabConf2016 Lightning Talk
 
OSDC 2016 - Ingesting Logs with Style by Pere Urbon-Bayes
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
 
VS Debugging Tricks
VS Debugging TricksVS Debugging Tricks
VS Debugging Tricks
 
Capacity Planning For Web Operations Presentation
Capacity Planning For Web Operations PresentationCapacity Planning For Web Operations Presentation
Capacity Planning For Web Operations Presentation
 
Capacity Planning For Web Operations Presentation
Capacity Planning For Web Operations PresentationCapacity Planning For Web Operations Presentation
Capacity Planning For Web Operations Presentation
 
Getting started with ibm tivoli workload scheduler v8.3 sg247237
Getting started with ibm tivoli workload scheduler v8.3 sg247237Getting started with ibm tivoli workload scheduler v8.3 sg247237
Getting started with ibm tivoli workload scheduler v8.3 sg247237
 
Web Developing In Search
Web Developing In SearchWeb Developing In Search
Web Developing In Search
 
Monitoring the ELK stack using Zabbix and Grafana (Dennis Kanbier / 26-11-2015)
Monitoring the ELK stack using Zabbix and Grafana (Dennis Kanbier / 26-11-2015)Monitoring the ELK stack using Zabbix and Grafana (Dennis Kanbier / 26-11-2015)
Monitoring the ELK stack using Zabbix and Grafana (Dennis Kanbier / 26-11-2015)
 
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...
What’s Slowing Down Your Kafka Pipeline? With Ruizhe Cheng and Pete Stevenson...
 
Zabbix Console
Zabbix ConsoleZabbix Console
Zabbix Console
 
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
OpenNebulaConf 2013 - Monitoring of OpenNebula installations by Florian Heigl
 
Monitoring of OpenNebula installations
Monitoring of OpenNebula installationsMonitoring of OpenNebula installations
Monitoring of OpenNebula installations
 
Getting started with ibm tivoli performance analyzer version 6.1 sg247478
Getting started with ibm tivoli performance analyzer version 6.1 sg247478Getting started with ibm tivoli performance analyzer version 6.1 sg247478
Getting started with ibm tivoli performance analyzer version 6.1 sg247478
 
Tivoli storage productivity center v4.2 release guide sg247894
Tivoli storage productivity center v4.2 release guide sg247894Tivoli storage productivity center v4.2 release guide sg247894
Tivoli storage productivity center v4.2 release guide sg247894
 
Alibaba cloud benchmarking report ecs rds 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
 
Microsoft Big Data @ SQLUG 2013
Microsoft Big Data @ SQLUG 2013Microsoft Big Data @ SQLUG 2013
Microsoft Big Data @ SQLUG 2013
 
Continuous Delivery and Infrastructure as Code
Continuous Delivery and Infrastructure as CodeContinuous Delivery and Infrastructure as Code
Continuous Delivery and Infrastructure as Code
 
mtl_rubykaigi
mtl_rubykaigimtl_rubykaigi
mtl_rubykaigi
 

Plus de Ricardo Santos

Portaria Inquerito Civil 5861/2013
Portaria Inquerito Civil 5861/2013Portaria Inquerito Civil 5861/2013
Portaria Inquerito Civil 5861/2013Ricardo Santos
 
Representaçã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 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
 
Carta enviada ao Governador pela UUFSAI
Carta enviada ao Governador pela UUFSAICarta enviada ao Governador pela UUFSAI
Carta enviada ao Governador pela UUFSAIRicardo Santos
 
Apresentação da ARTESP em 27/08 na ALESP
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
 
Requerimento de Informações à Secretaria de Transportes
Requerimento de Informações à Secretaria de TransportesRequerimento de Informações à Secretaria de Transportes
Requerimento de Informações à Secretaria de TransportesRicardo Santos
 
ATA da Reunião com a ARTESP no dia 12/07/2013
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
 
ATA da Reunião da AFREBAS com na Prefeitura de 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 SantosRicardo Santos
 
Comunicado da AFREBAS aos seus Usuários sobre as Manifestações
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çõesRicardo 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...
Aplicabilidade de alternativas que promovam a melhoria contínua do tráfego de...Ricardo Santos
 
Laudo sobre a descida de fretados pela Imigrantes
Laudo sobre a descida de fretados pela ImigrantesLaudo sobre a descida de fretados pela Imigrantes
Laudo sobre a descida de fretados pela ImigrantesRicardo Santos
 
Using Zabbix API from Drupal
Using Zabbix API from DrupalUsing Zabbix API from Drupal
Using Zabbix API from DrupalRicardo Santos
 
The hidden power of network maps on Zabbix
The hidden power of network maps on ZabbixThe hidden power of network maps on Zabbix
The hidden power of network maps on ZabbixRicardo Santos
 
Zabbix over the Internet
Zabbix over the InternetZabbix over the Internet
Zabbix over the InternetRicardo Santos
 
Zabbix by Alexei Vladishev - FISL12 - 2011
Zabbix by Alexei Vladishev - FISL12 - 2011Zabbix by Alexei Vladishev - FISL12 - 2011
Zabbix by Alexei Vladishev - FISL12 - 2011Ricardo Santos
 

Plus de Ricardo Santos (14)

Portaria Inquerito Civil 5861/2013
Portaria Inquerito Civil 5861/2013Portaria Inquerito Civil 5861/2013
Portaria Inquerito Civil 5861/2013
 
Representaçã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 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
 
Carta enviada ao Governador pela UUFSAI
Carta enviada ao Governador pela UUFSAICarta enviada ao Governador pela UUFSAI
Carta enviada ao Governador pela UUFSAI
 
Apresentação da ARTESP em 27/08 na ALESP
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
 
Requerimento de Informações à Secretaria de Transportes
Requerimento de Informações à Secretaria de TransportesRequerimento de Informações à Secretaria de Transportes
Requerimento de Informações à Secretaria de Transportes
 
ATA da Reunião com a ARTESP no dia 12/07/2013
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
 
ATA da Reunião da AFREBAS com na Prefeitura de 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
 
Comunicado da AFREBAS aos seus Usuários sobre as Manifestações
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
 
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...
Aplicabilidade de alternativas que promovam a melhoria contínua do tráfego de...
 
Laudo sobre a descida de fretados pela Imigrantes
Laudo sobre a descida de fretados pela ImigrantesLaudo sobre a descida de fretados pela Imigrantes
Laudo sobre a descida de fretados pela Imigrantes
 
Using Zabbix API from Drupal
Using Zabbix API from DrupalUsing Zabbix API from Drupal
Using Zabbix API from Drupal
 
The hidden power of network maps on Zabbix
The hidden power of network maps on ZabbixThe hidden power of network maps on Zabbix
The hidden power of network maps on Zabbix
 
Zabbix over the Internet
Zabbix over the InternetZabbix over the Internet
Zabbix over the Internet
 
Zabbix by Alexei Vladishev - FISL12 - 2011
Zabbix by Alexei Vladishev - FISL12 - 2011Zabbix by Alexei Vladishev - FISL12 - 2011
Zabbix by Alexei Vladishev - FISL12 - 2011
 

Dernier

[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilV3cube
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 

Dernier (20)

[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 

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