• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Abc zabbix performance tuning
 

Abc zabbix performance tuning

on

  • 17,163 views

Abc zabbix performance tuning

Abc zabbix performance tuning

Statistics

Views

Total Views
17,163
Views on SlideShare
2,614
Embed Views
14,549

Actions

Likes
2
Downloads
104
Comments
0

63 Embeds 14,549

http://zabbix-es.blogspot.com 6297
http://zabbix-es.blogspot.com.es 4834
http://zabbix-es.blogspot.com.ar 1269
http://zabbix-es.blogspot.mx 1042
http://www.6w2h.org 419
http://zabbix-es.blogspot.com.br 267
http://zabbix-es.blogspot.fr 77
http://zabbix-es.blogspot.de 47
http://translate.googleusercontent.com 32
http://6w2h.blogspot.com 28
http://6w2h.blogspot.in 23
http://zabbix-es.blogspot.ru 19
http://6w2h.blogspot.com.br 16
http://zabbix-es.blogspot.pt 14
http://zabbix-es.blogspot.co.uk 14
http://zabbix-es.blogspot.ca 13
http://zabbix-es.blogspot.jp 12
http://zabbix-es.blogspot.cz 10
http://zabbix-es.blogspot.in 10
http://zabbix-es.blogspot.nl 7
http://zabbix-es.blogspot.it 7
http://zabbix-es.blogspot.be 6
http://6w2h.blogspot.sg 6
http://6w2h.blogspot.mx 6
http://www.zabbix-es.blogspot.com.es 6
http://zabbix-es.blogspot.com.au 5
http://zabbix-es.blogspot.kr 5
http://www.slashdocs.com 4
http://zabbix-es.blogspot.ch 4
http://zabbix-es.blogspot.co.il 4
http://zabbix-es.blogspot.hu 3
http://www.docseek.net 3
http://zabbix-es.blogspot.fi 3
http://zabbix-es.blogspot.sg 3
http://www.zabbix-es.blogspot.com 2
http://6w2h.blogspot.ie 2
http://6w2h.blogspot.jp 2
http://zabbix-es.blogspot.tw 2
http://www.zabbix-es.blogspot.com.ar 2
http://6w2h.blogspot.ru 1
http://www.google.es 1
http://www.google.com 1
http://zabbix-es.blogspot.co.at 1
http://zabbix-es.blogspot.ae 1
http://www.zabbix-es.blogspot.mx 1
http://www.zabbix.com 1
http://www.docshut.com 1
https://www.google.com.mx 1
https://www.google.es 1
http://webcache.googleusercontent.com 1
More...

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Abc zabbix performance tuning Abc zabbix performance tuning Presentation Transcript

    • 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 Whats Zabbix performance?..:............................ Zabbix Conference 2011
    • Basic data flow Alerter Poller DATA GUI Escalator Poller History syncer DATA DATA History Trapper syncerDatabase 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. FastWhat Slow FastDatabase size Large Fits into memoryTrigger 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 minuteNumber of hosts Performance (values per second)10 10100 1001000 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 ProxiesAlerter Trapper DATA Escalator Proxy Pollers DATA Trapper History syncer DATA History Trapper syncer Proxy Pollers DATA ConfConf syncer OTHER Trapper DATA syncerZabbix 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 dont 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