You are previewing Zabbix Cookbook.
O'Reilly logo
Zabbix Cookbook

Book Description

Over 70 hands-on recipes to get your infrastructure up and running with Zabbix

In Detail

This book will teach you the skills required to successfully set up and configure a Zabbix server. We will guide you through the interface setup and explain all the features available in Zabbix.

You will begin with learning the Zabbix installation and configuration steps in detail, and then move on to exploring its interface and architecture. You will then work with groups, users, and permissions. The book will then take you through monitoring and testing with Zabbix. Followed by this, you will gain insights into using templates, and also create impressive graphs and maps for data visualization and reporting. Towards the end of the book, you will learn how to maintain, upgrade, and troubleshoot your Zabbix infrastructure.

What You Will Learn

  • Set up your Zabbix infrastructure efficiently

  • Customize the Zabbix interface to suit your system needs

  • Create and customize your own user settings

  • Add groups, hosts, and items in Zabbix to accurately monitor your environment

  • Automate Zabbix to gather data from your inventory

  • Build maps with an overview of the entire IT infrastructure

  • Monitor websites and get statistics about access time, latency, and data usage

  • Monitor your VMware infrastructure in a quick and easy way with Zabbix

  • 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 Cookbook
      1. Table of Contents
      2. Zabbix Cookbook
      3. Credits
      4. About the Author
      5. About the Reviewers
      6. www.PacktPub.com
        1. Support files, eBooks, discount offers, and more
          1. Why Subscribe?
          2. Free Access for Packt account holders
      7. Preface
        1. What this book covers
        2. What you need for this book
        3. Who this book is for
        4. Conventions
        5. Reader feedback
          1. Customer support
          2. Errata
          3. Piracy
          4. Questions
      8. 1. Zabbix Configuration
        1. Introduction
        2. Server installation and configuration
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
          5. See also
        3. Agent installation and configuration
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
        4. Frontend installation and configuration
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
        5. Installing Zabbix from source
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
        6. Installing the server in a distributed setup
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
      9. 2. Getting Around in Zabbix
        1. Introduction
        2. Exploring the frontend
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. See also
        3. Zabbix definitions
          1. Getting ready
          2. How to do it...
          3. How it works...
        4. Acknowledging triggers
          1. Getting ready
          2. How to do it...
          3. How it works...
        5. Zabbix architecture
          1. Getting ready
          2. How to do it...
          3. How it works...
        6. Getting an overview of the latest data
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There is more ...
      10. 3. Groups, Users, and Permissions
        1. Introduction
        2. Creating hosts
          1. Getting ready...
          2. How to do it...
          3. How it works...
          4. See also
        3. Creating host groups
          1. Getting ready...
          2. How to do it...
          3. How it works...
          4. See also
        4. Creating users
          1. Getting ready...
          2. How to do it...
          3. How it works...
          4. See also...
        5. Creating user groups
          1. Getting ready...
          2. How to do it...
          3. How it works...
          4. See also
        6. General administration
          1. Getting ready...
          2. How to do it...
          3. GUI
          4. Housekeeping
          5. Images
          6. Icon mapping
          7. Regular expressions
          8. Macros
          9. Value mapping
          10. Working time
          11. Trigger severities
          12. Trigger displaying options
          13. Other parameters
          14. How it works...
          15. See also
        7. Authenticating users
          1. Getting ready...
          2. How to do it...
          3. How it works...
      11. 4. Monitoring with Zabbix
        1. Introduction
        2. Active agents
          1. Getting ready
          2. How to do it ...
          3. How it works
          4. There's more
          5. See also
        3. Passive agents
          1. Getting ready
          2. How to do it …
          3. How it works
          4. There's more...
        4. Extending agents
          1. Getting ready
          2. How to do it …
          3. How it works
          4. There's more...
          5. See also
          6. Simple checks
          7. Getting ready
          8. How to do it …
          9. How it works
          10. There's more...
          11. See also
        5. SNMP checks
          1. Getting ready
          2. How to do it …
          3. How it works
          4. There's more...
          5. See also
        6. Internal checks
          1. Getting ready
          2. How to do it …
          3. How it works
          4. There's more
          5. See also
        7. Zabbix trapper
          1. Getting ready
          2. How to do it…
          3. How it works
          4. There's more...
          5. See also
        8. IPMI checks
          1. Getting ready
          2. How to do it …
          3. How it works
          4. There's more...
          5. See also
        9. JMX checks
          1. Getting ready
          2. How to do it…
          3. There's more...
          4. See also
        10. Aggregate checks
          1. Getting ready
          2. How to do it …
          3. How it works
          4. There's more...
          5. See also
        11. External checks
          1. Getting ready
          2. How to do it …
          3. How it works
          4. There's more...
          5. See also
        12. Database monitoring
          1. Getting ready
          2. How to do it…
          3. How it works
          4. There's more...
          5. See also
        13. Checks with SSH
          1. Getting ready
          2. How to do it…
          3. How it works
          4. There's more
          5. See also
        14. Checks with Telnet
          1. Getting ready
          2. How to do it…
          3. How it works
          4. There's more...
          5. See also
        15. Calculated checks
          1. Getting ready
          2. How to do it…
          3. How it works
          4. There's more...
          5. See also
        16. Building web scenarios
          1. Getting ready
          2. How to do it…
          3. How it works
          4. There's more...
          5. See also
        17. Monitoring web scenarios
          1. Getting ready
          2. How to do it…
          3. How it works...
          4. See also
        18. Some advanced monitoring tricks
          1. Getting ready
          2. How to do it …
          3. How it works...
          4. See also
        19. Autoinventory
          1. Getting ready
          2. How to do it ...
          3. How it works...
          4. There's more...
          5. See also
      12. 5. Testing with Triggers in Zabbix
        1. Introduction
        2. Creating triggers
          1. Getting ready
          2. How to do it...
          3. How it works
          4. There's more...
          5. See also
        3. Testing log files
          1. Getting ready
          2. How to do it ...
          3. There's more...
          4. How it works
          5. See also
        4. Trigger constructor
          1. Getting ready
          2. How to do it...
          3. How it works
          4. There's more
          5. See also
        5. More advanced triggers
          1. Getting ready
          2. How to do it ...
          3. How it works
          4. There's more...
          5. See also
        6. Testing our trigger expressions
          1. Getting ready
          2. How to do it ...
          3. How it works
          4. There's more...
      13. 6. Working with Templates
        1. Introduction
        2. Creating templates
          1. Getting ready
          2. How to do it ...
          3. How it works
          4. There's more...
          5. See also
        3. Importing and exporting templates
          1. Getting ready
          2. How to do it...
          3. How it works
          4. There's more...
          5. See also
        4. Linking templates
          1. Getting ready
          2. How to do it ...
          3. How it works
          4. See also
        5. Nesting templates
          1. Getting ready
          2. How to do it...
          3. How it works
          4. There's more...
          5. See also
        6. Macros in templates
          1. Getting ready
          2. How to do it ...
          3. How it works
          4. See also
      14. 7. Data Visualization and Reporting in Zabbix
        1. Introduction
        2. Creating graphs
          1. Getting ready
          2. How to do it…
          3. How it works
          4. There's more...
          5. See also
        3. Creating screens
          1. Getting ready
          2. How to do it...
          3. How it works
          4. There's more...
          5. See also
        4. Creating slideshows
          1. Getting ready
          2. How to do it...
          3. How it works
          4. There's more...
          5. See also
        5. Building maps in Zabbix
          1. Getting ready
          2. How to do it...
          3. How it works
          4. There's more...
          5. See also
        6. Creating reports
          1. Getting ready
          2. How to do it...
          3. How it works
          4. See also
        7. Generating SLA reports
          1. Getting ready
          2. How to do it...
          3. How it works
          4. There's more...
          5. See also
      15. 8. Monitoring VMware and Proxies
        1. Introduction
        2. Configuring Zabbix for VMware
          1. Getting ready
          2. How to do it…
          3. How it works…
          4. There's more…
          5. See also
        3. Monitoring VMware
          1. Getting ready
          2. How to do it…
          3. How it works…
          4. There's more…
          5. See also
        4. Installing a proxy
          1. Getting ready
          2. How to do it…
          3. How it works…
          4. There's more…
          5. See also
        5. Setting up an active proxy
          1. Getting ready
          2. How to do it…
          3. How it works…
          4. There's more…
          5. See also
        6. Setting up a passive proxy
          1. Getting ready
          2. How to do it…
          3. How it works…
          4. See also
        7. Monitoring hosts through a proxy
          1. Getting ready
          2. How to do it…
          3. How it works…
          4. There's more…
          5. See also
        8. Monitoring the proxy
          1. Getting ready
          2. How to do it…
          3. How it works…
          4. There's more…
      16. 9. Autodiscovery
        1. Introduction
        2. Configuring network discovery
          1. Getting ready
          2. How to do it...
          3. How it works
          4. There is more…
          5. See also
        3. Automation after discovery
          1. Getting ready
          2. How to do it...
          3. How it works
          4. There is more…
          5. See also
        4. Active agent autoregistration
          1. Getting ready
          2. How to do it ...
          3. How it works
          4. There is more…
          5. See also
        5. Low-level discovery
          1. Getting ready
          2. How to do it ...
          3. How it works
          4. There's more…
          5. See also
      17. 10. Zabbix Maintenance and API
        1. Introduction
        2. Maintenance periods
          1. Getting ready
          2. How to do it...
          3. How it works…
          4. There's more…
          5. See also
        3. Monitoring Zabbix
          1. Getting ready
          2. How to do it
          3. See also
        4. Backups
          1. Getting ready
          2. How to do it...
          3. How it works…
          4. There's more…
          5. See also
        5. Avoiding performance issues
          1. Getting ready
          2. How to do it...
          3. See also
        6. Zabbix API
          1. Getting ready
          2. How to do it...
          3. How it works…
          4. There's more…
          5. See also
        7. API by example
          1. Getting ready
          2. How to do it...
          3. How it works…
          4. See also
      18. A. Upgrading and Troubleshooting Zabbix
        1. Introduction
        2. Some guidelines to upgrade Zabbix
        3. Upgrading your Zabbix installation
        4. Troubleshooting in Zabbix
        5. Zabbix best practices
        6. What to expect in Zabbix 3.0
        7. Zabbix community
      19. Index