SlideShare a Scribd company logo
1 of 31
Download to read offline
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

More Related Content

What's hot

Exadata Patching Demystified
Exadata Patching DemystifiedExadata Patching Demystified
Exadata Patching DemystifiedEnkitec
 
Dan Norris: Exadata security
Dan Norris: Exadata securityDan Norris: Exadata security
Dan Norris: Exadata securityKyle Hailey
 
Nagios Conference 2012 - Dan Wittenberg - Case Study: Scaling Nagios Core at ...
Nagios Conference 2012 - Dan Wittenberg - Case Study: Scaling Nagios Core at ...Nagios Conference 2012 - Dan Wittenberg - Case Study: Scaling Nagios Core at ...
Nagios Conference 2012 - Dan Wittenberg - Case Study: Scaling Nagios Core at ...Nagios
 
Andy Parsons Pivotal June 2011
Andy Parsons Pivotal June 2011Andy Parsons Pivotal June 2011
Andy Parsons Pivotal June 2011Andy Parsons
 
제3회난공불락 오픈소스 인프라세미나 - lustre
제3회난공불락 오픈소스 인프라세미나 - lustre제3회난공불락 오픈소스 인프라세미나 - lustre
제3회난공불락 오픈소스 인프라세미나 - lustreTommy Lee
 
AHMED JASSAT SOUTH ARICAN ORACLE USER GROUP PRESENTATION
AHMED JASSAT SOUTH ARICAN ORACLE USER GROUP PRESENTATIONAHMED JASSAT SOUTH ARICAN ORACLE USER GROUP PRESENTATION
AHMED JASSAT SOUTH ARICAN ORACLE USER GROUP PRESENTATIONZahid02
 

What's hot (6)

Exadata Patching Demystified
Exadata Patching DemystifiedExadata Patching Demystified
Exadata Patching Demystified
 
Dan Norris: Exadata security
Dan Norris: Exadata securityDan Norris: Exadata security
Dan Norris: Exadata security
 
Nagios Conference 2012 - Dan Wittenberg - Case Study: Scaling Nagios Core at ...
Nagios Conference 2012 - Dan Wittenberg - Case Study: Scaling Nagios Core at ...Nagios Conference 2012 - Dan Wittenberg - Case Study: Scaling Nagios Core at ...
Nagios Conference 2012 - Dan Wittenberg - Case Study: Scaling Nagios Core at ...
 
Andy Parsons Pivotal June 2011
Andy Parsons Pivotal June 2011Andy Parsons Pivotal June 2011
Andy Parsons Pivotal June 2011
 
제3회난공불락 오픈소스 인프라세미나 - lustre
제3회난공불락 오픈소스 인프라세미나 - lustre제3회난공불락 오픈소스 인프라세미나 - lustre
제3회난공불락 오픈소스 인프라세미나 - lustre
 
AHMED JASSAT SOUTH ARICAN ORACLE USER GROUP PRESENTATION
AHMED JASSAT SOUTH ARICAN ORACLE USER GROUP PRESENTATIONAHMED JASSAT SOUTH ARICAN ORACLE USER GROUP PRESENTATION
AHMED JASSAT SOUTH ARICAN ORACLE USER GROUP PRESENTATION
 

Viewers also liked

Waves of Change Shaping Digital Experiences
Waves of Change Shaping Digital ExperiencesWaves of Change Shaping Digital Experiences
Waves of Change Shaping Digital ExperiencesJoe Lamantia
 
SXSW Convergence 2010 Dan Shust
SXSW Convergence 2010 Dan ShustSXSW Convergence 2010 Dan Shust
SXSW Convergence 2010 Dan ShustResource/Ammirati
 
Blackboard DevCon 2012 - How to Turn on the Lights to Your Blackboard Learn E...
Blackboard DevCon 2012 - How to Turn on the Lights to Your Blackboard Learn E...Blackboard DevCon 2012 - How to Turn on the Lights to Your Blackboard Learn E...
Blackboard DevCon 2012 - How to Turn on the Lights to Your Blackboard Learn E...Noriaki Tatsumi
 
User Interface Design in Practice
User Interface Design in PracticeUser Interface Design in Practice
User Interface Design in PracticeJustine Sanderson
 
Sirous Kavehercy GSM 3G CeeCom Convergence
Sirous Kavehercy GSM 3G CeeCom ConvergenceSirous Kavehercy GSM 3G CeeCom Convergence
Sirous Kavehercy GSM 3G CeeCom ConvergenceSirous Kavehercy
 
Mobile UI Design – User Centered Design and UI Best Practices
Mobile UI Design – User Centered Design and UI Best PracticesMobile UI Design – User Centered Design and UI Best Practices
Mobile UI Design – User Centered Design and UI Best PracticesOXD
 

Viewers also liked (6)

Waves of Change Shaping Digital Experiences
Waves of Change Shaping Digital ExperiencesWaves of Change Shaping Digital Experiences
Waves of Change Shaping Digital Experiences
 
SXSW Convergence 2010 Dan Shust
SXSW Convergence 2010 Dan ShustSXSW Convergence 2010 Dan Shust
SXSW Convergence 2010 Dan Shust
 
Blackboard DevCon 2012 - How to Turn on the Lights to Your Blackboard Learn E...
Blackboard DevCon 2012 - How to Turn on the Lights to Your Blackboard Learn E...Blackboard DevCon 2012 - How to Turn on the Lights to Your Blackboard Learn E...
Blackboard DevCon 2012 - How to Turn on the Lights to Your Blackboard Learn E...
 
User Interface Design in Practice
User Interface Design in PracticeUser Interface Design in Practice
User Interface Design in Practice
 
Sirous Kavehercy GSM 3G CeeCom Convergence
Sirous Kavehercy GSM 3G CeeCom ConvergenceSirous Kavehercy GSM 3G CeeCom Convergence
Sirous Kavehercy GSM 3G CeeCom Convergence
 
Mobile UI Design – User Centered Design and UI Best Practices
Mobile UI Design – User Centered Design and UI Best PracticesMobile UI Design – User Centered Design and UI Best Practices
Mobile UI Design – User Centered Design and UI Best Practices
 

Similar to Abc 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
 
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
 
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
 

Similar to Abc 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
 
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
 
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
 

Recently uploaded

Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
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
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
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
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
[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
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
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
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?XfilesPro
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
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
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
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
 

Recently uploaded (20)

Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
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
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
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
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
[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
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
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
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
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
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
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
 

Abc 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