O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Zabbix Performance Tuning

Book Description

Tune and optimize Zabbix to maximize performance

In Detail

Performance is one of the main issues that every administrator faces at one point or another. This book will help you to identify and mitigate it.

The book starts with an introduction to Zabbix and the most common mistakes that are usually overlooked while deploying it. You will discover the importance of an impressive and easy-to-use front-end and how to develop one, along with comparisons between Apache, Ngnix, and lighttpd web servers. Storage, as an important aspect of every deployment, is covered and you will be shown how to choose the right storage system for you and configure it to suit your deployment.

Towards the end of the book, you will walk through the intricacies of the operating system; the final piece of the puzzle that holds all the components together. You will then dive into advanced topics including using a specific piece of hardware for each of the components, the Zabbix proxy, and firewall settings. By the end of the book, you will be able to tune your Zabbix implementation to achieve maximum performance.

What You Will Learn

  • Identify Zabbix's numerous ways of tuning and find the best match for your environment

  • Familiarize yourself with tools including web servers, database servers, storage, and the support system of Zabbix

  • Discover the most common performance configuration errors made by administrators

  • Explore the importance of the Zabbix proxy in your deployment

  • Learn why keeping the Zabbix SIA updated is key to dealing with performance issues

  • Master the art of efficiently troubleshooting Zabbix's performance

  • Downloading the example code for this book. You can download the example code files for all Packt books you have purchased from your account at http://www.PacktPub.com. If you purchased this book elsewhere, you can visit http://www.PacktPub.com/support and register to have the files e-mailed directly to you.

    Table of Contents

    1. Zabbix Performance Tuning
      1. Table of Contents
      2. Zabbix Performance Tuning
      3. Credits
      4. Foreword
      5. About the Author
      6. Acknowledgements
      7. About the Reviewers
      8. www.PacktPub.com
        1. Support files, eBooks, discount offers, and more
          1. Why subscribe?
          2. Free access for Packt account holders
      9. Preface
        1. What this book covers
        2. What you need for this book
        3. Who this book is for
        4. Conventions
        5. Reader feedback
        6. Customer support
          1. Errata
          2. Piracy
          3. Questions
      10. 1. Evolution of Zabbix
        1. Starting our journey
        2. Choosing the right tool
        3. The first wrong step with Zabbix
        4. Getting started with Zabbix
        5. Good practice
        6. Simplifying Zabbix
        7. Challenges in Zabbix
        8. List of don'ts
          1. Starting a Zabbix deployment without planning
          2. Use of default templates
          3. Use of default database settings
        9. The beginning of the real challenge
        10. Summary
      11. 2. Zabbix and I – Almost Heroes
        1. After starting Zabbix – the initial steps
        2. The natural growth
        3. Beyond infrastructure
        4. The Internet of Things wave
        5. Everyone knows about Zabbix
        6. Improvements in Zabbix
        7. Talking about performance
        8. Summary
      12. 3. Tuning the Zabbix Server
        1. Item types and performance issues
          1. Zabbix data types and SQL fields
        2. Active items – a forgotten option
        3. Triggers
        4. Trends and history storage time
          1. History tables
          2. Trend tables
        5. Caches and buffers
        6. Can default templates be the villains?
        7. DBSyncers – the unknown bottleneck
        8. Summary
      13. 4. Tuning the MySQL Database
        1. Comparisons between databases
          1. The main configuration parameters
            1. innodb_buffer_pool_size
            2. innodb_buffer_pool_instances
            3. innodb_flush_log_at_trx_commit
            4. innodb_flush_method
            5. innodb_log_file_size
            6. innodb_io_capacity
            7. tmpdir
        2. Tuning for reading or writing
        3. Summary
      14. 5. Tuning the Frontend
        1. The usual complaints
        2. Differences between web servers
        3. The main configuration parameters
          1. Compression in Apache
          2. Compression in lighttpd
          3. Compression in Nginx
        4. Testing compression
        5. Other alternatives
        6. Summary
      15. 6. Adjusting the Storage
        1. Choosing between shared and local storage
        2. Configuring the storage for performance
        3. Small, medium, or large environments?
        4. What do I need for my environment?
        5. Summary
      16. 7. Tuning the Operating System
        1. Linux distributions and Zabbix
        2. The necessary adjustments in the Kernel
          1. User-level FD limits
          2. Kernel-level FD limits
            1. Changing swap behavior
            2. Changing IO schedulers
            3. The network parameters
        3. Summary
      17. 8. Doing the Extra Work
        1. Dividing the components
        2. Specifying the hardware for each component
        3. Partitioning tables
        4. Summary
      18. 9. Using the Zabbix Proxy
        1. The Zabbix proxy and Zabbix performance
        2. The first steps with the Zabbix proxy
        3. The firewall settings
        4. Hardware for the Zabbix proxy
        5. Summary
      19. 10. Monitoring the Health of Zabbix
        1. The Zabbix queue
        2. Server and proxy internal items
        3. Database performance items
        4. Summary
      20. 11. The Next Challenge
        1. Identifying the sponsors of Zabbix
        2. The demands in business areas
        3. Developing dashboards
        4. Zabbix reports
        5. IT services or SLA reports
        6. Summary
      21. Index