Zabbix 6 IT Infrastructure Monitoring Cookbook - Second Edition

Book description

Discover practical recipes to help you efficiently monitor enterprise IT infrastructure for Microsoft Windows, Linux, networking, and more

Key Features

  • Find out how you can leverage some of the most exciting features of Zabbix 6
  • Perform professional IT infrastructure and application monitoring on multiple platforms
  • Discover easy-to-follow, practical solutions to problems in network monitoring with Zabbix

Book Description

This updated second edition of the Zabbix 6 IT Infrastructure Monitoring Cookbook brings you new recipes, updated with Zabbix 6 functionality. You'll learn how to set up Zabbix with built-in high availability, use the improved Business Service Monitoring, set up automatic reporting, and create advanced triggers. Zabbix offers useful insights into your infrastructure performance and issues and enables you to enhance your monitoring setup with its powerful features. This book covers hands-on, easy-to-follow recipes for using Zabbix 6 to monitor effectively the performance of devices and applications over the network.

You'll start by working your way through the installation and most prominent features of Zabbix and make the right design choices for building a scalable and easily manageable environment. This Zabbix book contains recipes for building items and triggers for different types of monitoring, building templates, and using Zabbix proxies. Next, you'll use the Zabbix API for customization and manage your Zabbix server and database efficiently. Finally, you'll find quick solutions to the common and not-so-common problems that you may encounter in your Zabbix monitoring work.

By the end of this book, you'll be able to use Zabbix for all your monitoring needs and build a solid Zabbix setup by leveraging its key functionalities.

What you will learn

  • Implement your high-availability Zabbix setup
  • Build templates and explore the different types of monitoring available in Zabbix 6
  • Use Zabbix proxies to scale your environment effectively
  • Work with custom integrations and the Zabbix API
  • Set up advanced triggers and effective alerting
  • Maintain your Zabbix setup for scaling, backups, and upgrades
  • Discover how to perform advanced Zabbix database management
  • Monitor cloud-based products such as Amazon Web Services (AWS), Azure, and Docker

Who this book is for

This book is for IT engineers who want to get started with Zabbix and anyone with an intermediate-level understanding of Zabbix looking to extend their knowledge. Although not necessary, prior experience with Zabbix will help you to make the most of this book.

Table of contents

  1. Zabbix 6 IT Infrastructure Monitoring Cookbook Second Edition
  2. Foreword
  3. Contributors
  4. About the authors
  5. About the reviewers
  6. Preface
    1. Who this book is for
    2. What this book covers
    3. To get the most out of this book
    4. Download the example code files
    5. Download the color images
    6. Conventions used
    7. Get in touch
    8. Share Your Thoughts
  7. Chapter 1: Installing Zabbix and Getting Started Using the Frontend
    1. Technical requirements
    2. Installing the Zabbix server
      1. Getting ready
      2. How to do it…
      3. How it works…
    3. Setting up the Zabbix frontend
      1. Getting ready
      2. How to do it…
      3. How it works…
      4. There's more...
    4. Enabling Zabbix server high availability
      1. Getting ready
      2. How to do it…
      3. How it works...
      4. There's more...
    5. Using the Zabbix frontend
      1. Getting ready
      2. How to do it…
    6. Navigating the frontend
      1. Getting ready
      2. How to do it…
  8. Chapter 2: Getting Things Ready with Zabbix User Management
    1. Technical requirements
    2. Creating user groups
      1. Getting ready
      2. How to do it…
      3. There's more...
    3. Using the new Zabbix user roles
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. There's more...
    4. Creating your first users
      1. Getting ready
      2. How to do it…
    5. Advanced user authentication with SAML
      1. Getting ready
      2. How to do it…
      3. How it works…
      4. There's more…
  9. Chapter 3: Setting Up Zabbix Monitoring
    1. Technical requirements
    2. Setting up Zabbix agent 2 monitoring
      1. Getting ready
      2. How to do it…
      3. How it works…
      4. See also
    3. Working with SNMP monitoring
      1. Getting ready
      2. How to do it…
      3. How it works…
    4. Creating Zabbix simple checks and the Zabbix trapper
      1. Getting ready
      2. How to do it…
      3. How it works…
    5. Working with calculated and dependent items
      1. Getting ready
      2. How to do it…
      3. How it works…
    6. Creating external checks
      1. Getting ready
      2. How to do it…
      3. How it works…
    7. Setting up JMX monitoring
      1. Getting ready
      2. How to do it…
      3. How it works…
      4. See also
    8. Setting up database monitoring
      1. Getting ready
      2. How to do it…
      3. How it works…
      4. There's more…
    9. Setting up HTTP agent monitoring
      1. Getting ready
      2. How to do it…
      3. How it works…
    10. Using Zabbix preprocessing to alter item values
      1. Getting started
      2. How to do it…
      3. How it works…
      4. See also
  10. Chapter 4: Working with Triggers and Alerts
    1. Technical requirements
    2. Setting up triggers
      1. Getting ready
      2. How to do it…
      3. How it works…
      4. There's more…
      5. See also
    3. Setting up advanced triggers
      1. Getting ready
      2. How to do it…
      3. How it works…
      4. There's more…
    4. Setting up alerts
      1. Getting ready
      2. How to do it…
      3. How it works…
      4. There's more…
    5. Keeping alerts effective
      1. Getting ready
      2. How to do it…
      3. How it works…
      4. There's more…
    6. Customizing alerts
      1. Getting ready
      2. How to do it…
      3. How it works…
  11. Chapter 5: Building Your Own Structured Templates
    1. Technical requirements
    2. Creating your Zabbix template
      1. Getting ready
      2. How to do it…
      3. How it works…
      4. There's more…
    3. Setting up template-level tags
      1. Getting ready
      2. How to do it…
      3. How it works…
      4. See also
    4. Creating template items
      1. Getting ready
      2. How to do it…
      3. How it works…
      4. See also
    5. Creating template triggers
      1. Getting ready
      2. How to do it…
      3. How it works…
    6. Setting up different kinds of macros
      1. Getting ready
      2. How to do it…
      3. How it works…
      4. There's more…
    7. Using LLD on templates
      1. Getting ready
      2. How to do it…
      3. How it works…
      4. See also
    8. Nesting Zabbix templates
      1. Getting ready
      2. How to do it…
      3. How it works…
  12. Chapter 6: Visualizing Data, Inventory, and Reporting
    1. Technical requirements
    2. Creating graphs to access visual data
      1. Getting ready
      2. How to do it…
      3. How it works…
    3. Creating maps to keep an eye on infrastructure
      1. Getting ready
      2. How to do it…
      3. How it works…
    4. Creating dashboards to get the right overview
      1. Getting ready
      2. How to do it…
      3. How it works…
    5. Setting up Zabbix inventory
      1. Getting ready
      2. How to do it…
      3. How it works…
    6. Using the new Zabbix Geomap widget
      1. Getting ready
      2. How to do it…
      3. How it works…
    7. Working through Zabbix reporting
      1. Getting ready
      2. How to do it…
    8. Setting up scheduled PDF reports
      1. Getting ready
      2. How to do it…
      3. How it works…
    9. Setting up improved business service monitoring
      1. Getting ready
      2. How to do it…
      3. How it works…
      4. There's more...
  13. Chapter 7: Using Discovery for Automatic Creation
    1. Technical requirements
    2. Setting up Zabbix agent discovery
      1. Getting ready
      2. How to do it…
      3. How it works…
      4. There's more…
    3. Setting up Zabbix SNMP discovery
      1. Getting ready
      2. How to do it…
      3. How it works…
    4. Working with active agent autoregistration
      1. Getting ready
      2. How to do it…
      3. How it works…
      4. There's more…
    5. Using the new Windows performance counter discovery
      1. Getting ready
      2. How to do it…
      3. How it works…
    6. Discovering JMX objects
      1. Getting ready
      2. How to do it…
      3. How it works…
      4. There's more…
  14. Chapter 8: Setting Up Zabbix Proxies
    1. Technical requirements
    2. Setting up a Zabbix proxy
      1. Getting ready
      2. How to do it…
      3. How it works…
      4. There's more…
    3. Working with passive Zabbix proxies
      1. Getting ready
      2. How to do it…
      3. How it works…
    4. Working with active Zabbix proxies
      1. Getting ready
      2. How to do it…
      3. How it works…
    5. Monitoring hosts with Zabbix proxy
      1. Getting ready
      2. How to do it…
      3. How it works…
      4. There's more…
      5. See also
    6. Using discovery with Zabbix proxies
      1. Getting ready
      2. How to do it…
      3. How it works…
    7. Monitoring your Zabbix proxies
      1. Getting ready
      2. How to do it…
      3. How it works…
  15. Chapter 9: Integrating Zabbix with External Services
    1. Technical requirements
    2. Setting up Slack alerting with Zabbix
      1. Getting ready
      2. How to do it…
      3. How it works…
      4. See also
    3. Setting up Microsoft Teams alerting with Zabbix
      1. Getting ready
      2. How to do it…
      3. How it works…
      4. See also
    4. Using Telegram bots with Zabbix
      1. Getting ready
      2. How to do it…
      3. How it works…
      4. There's more…
      5. See also
    5. Integrating Atlassian Opsgenie with Zabbix
      1. Getting ready
      2. How to do it…
      3. How it works…
      4. There's more…
  16. Chapter 10: Extending Zabbix Functionality with Custom Scripts and the Zabbix API
    1. Technical requirements
    2. Setting up and managing API tokens
      1. Getting ready
      2. How to do it…
      3. How it works…
    3. Using the Zabbix API for extending functionality
      1. Getting ready
      2. How to do it…
      3. How it works…
      4. See also
    4. Building a jumphost using the Zabbix API and Python
      1. Getting ready
      2. How to do it…
      3. How it works…
      4. See also
    5. Creating maintenance periods as a Zabbix user
      1. Getting ready
      2. How to do it…
      3. How it works…
      4. See also
    6. Enabling and disabling a host from Zabbix maps
      1. Getting ready
      2. How to do it…
      3. How it works…
      4. See also
  17. Chapter 11: Maintaining Your Zabbix Setup
    1. Technical requirements
    2. Setting Zabbix maintenance periods
      1. Getting ready
      2. How to do it…
      3. How it works…
    3. Backing up your Zabbix setup
      1. Getting ready
      2. How to do it…
      3. How it works…
      4. There's more…
    4. Optionally upgrading the Zabbix backend from PHP 7.2 to PHP 7.4
      1. Getting ready
      2. How to do it…
      3. How it works…
    5. Upgrading a Zabbix database from older MariaDB versions to MariaDB 10.6
      1. Getting ready
      2. How to do it…
      3. How it works…
      4. There's more...
    6. Upgrading your Zabbix setup
      1. Getting ready
      2. How to do it…
      3. How it works…
      4. See also
    7. Maintaining Zabbix performance over time
      1. Getting ready
      2. How to do it…
      3. How it works…
      4. There's more…
  18. Chapter 12: Advanced Zabbix Database Management
    1. Technical requirements
    2. Setting up MySQL partitioning for your Zabbix database
      1. Getting ready
      2. How to do it…
      3. How it works…
      4. See also
    3. Using the PostgreSQL TimescaleDB functionality
      1. Getting ready
      2. How to do it…
      3. How it works…
      4. See also
    4. Securing your Zabbix MySQL database
      1. Getting ready
      2. How to do it…
      3. How it works…
  19. Chapter 13: Bringing Zabbix to the Cloud with Zabbix Cloud Integration
    1. Technical requirements
    2. Setting up AWS monitoring
      1. Getting ready
      2. How to do it…
      3. How it works…
      4. There's more…
    3. Setting up Microsoft Azure monitoring
      1. Getting ready
      2. How to do it…
      3. How it works…
      4. There's more…
    4. Building your Zabbix Docker monitoring
      1. Getting ready
      2. How to do it…
      3. How it works…
      4. There's more…
    5. Why subscribe?
  20. Other Books You May Enjoy
    1. Packt is searching for authors like you
    2. Share Your Thoughts

Product information

  • Title: Zabbix 6 IT Infrastructure Monitoring Cookbook - Second Edition
  • Author(s): Nathan Liefting, Brian van Baekel
  • Release date: March 2022
  • Publisher(s): Packt Publishing
  • ISBN: 9781803246918