Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Zabbix 4 Network Monitoring
Zabbix 4 Network Monitoring

Zabbix 4 Network Monitoring: Monitor the performance of your network devices and applications using the all-new Zabbix 4.0 , Third Edition

Arrow left icon
Profile Icon Patrik Uytterhoeven
Arrow right icon
£7.99 £32.99
Full star icon Full star icon Full star icon Full star icon Full star icon 5 (2 Ratings)
eBook Jan 2019 798 pages 3rd Edition
eBook
£7.99 £32.99
Paperback
£41.99
Subscription
Free Trial
Renews at £16.99p/m
Arrow left icon
Profile Icon Patrik Uytterhoeven
Arrow right icon
£7.99 £32.99
Full star icon Full star icon Full star icon Full star icon Full star icon 5 (2 Ratings)
eBook Jan 2019 798 pages 3rd Edition
eBook
£7.99 £32.99
Paperback
£41.99
Subscription
Free Trial
Renews at £16.99p/m
eBook
£7.99 £32.99
Paperback
£41.99
Subscription
Free Trial
Renews at £16.99p/m

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Product feature icon AI Assistant (beta) to help accelerate your learning
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Table of content icon View table of contents Preview book icon Preview Book

Zabbix 4 Network Monitoring

Getting Your First Notification

We have now installed Zabbix, but it's not doing much—this is what we'd expect. Software that starts doing something on its own would probably be a bit undesirable, at least for now. The promise of Zabbix is to inform you about problems as soon as possible, preferably before your users and management notice them. But how do we get data, where do we place it, and how do we define what a problem is? We will try to quickly get Zabbix working and alerting us on a single monitored item, which is the most common scenario. Before we can tell Zabbix who to send notifications to, we will have to explore and use some basic Zabbix concepts. They are as follows:

  • Exploring the frontend
  • Monitoring quickstart
  • Information flow in Zabbix
  • Let's create some load
  • Basic item configuration
  • Using global search
...

Exploring the frontend

Although we have already looked at some data that was provided by the frontend, we should get a bit more familiar with it before attempting some more configuration tasks.

The configuration steps will be followed by verifying the results in the Monitoring quickstart section. We will then explain some generic item terms that are used in Zabbix and their uses. Items, being the basis of information gathering, have a fair amount of configuration possibilities.

In your browser, go to the URL that contains the IP of your Zabbix setup, as mentioned in the following steps. Zabbix should be properly configured now and manageable from the UI:

  1. Open Zabbix's root URL (http://<server_ip_or_name>/zabbix) and log in again if you have been logged out. You should now see a pretty empty dashboard with a little information.
  2. Click on the entries in the top menu...

Monitoring quickstart

Now that we have a basic understanding of the frontend navigation, it's time to look at the basics of data gathering in Zabbix Items. In general, anything you want to gather data about will eventually go into an item.

An item in Zabbix is a configuration entity that holds information on gathered metrics. It is the very basis of information flowing into Zabbix, and without items, nothing can be retrieved. An item does not hold any information on thresholds—that functionality is covered by triggers.

If items are so important in Zabbix, we should create some. After all, if no data retrieval is possible without items, we can't monitor anything without them. To get started with item configuration, open Configuration | Hosts. If it's not selected by default, choose All in the Group drop-down menu (in the top-right corner). This is a location...

Information flow in Zabbix

We have now configured various things in the Zabbix frontend, including data gathering (Item), threshold definition (Trigger), and instructions on what to do if a threshold is exceeded (Action). But how does it all work together? The flow of information between Zabbix entities can be non-obvious at first glance. Let's look at a schematic showing how the pieces go together:

In our Zabbix server installation, we created a host (A test host), which contains an item (CPU load). A trigger references this item. Whenever the trigger expression matches the current item value, the trigger switches to the PROBLEM state. When it ceases to match, it switches back to the OK state. Each time the trigger changes its state, an event is generated. The event contains details of the trigger state change: when it happened and what the new state is. When configuring...

Let's create some load

Right, so we configured sending email. But it's not very interesting until we actually receive some notifications. Let's increase the load on our test system. In the console, launch the following:

$ cat /dev/urandom | md5sum

This grabs a pseudo random, never-ending character stream and calculates its MD5 checksum, so system load should increase as a result. You can observe the outcome as a graph—navigate to Monitoring | Latest data and click on Graph for our single item again.

Notice how the system load has climbed. If your test system can cope with such a process really well, it might not be enough—in such a case, you can try running multiple such MD5 checksum calculation processes simultaneously.

Allow 3 minutes to pass and there should be a popup in the upper-right corner, accompanied by a sound alert:

There is one of the...

Basic item configuration

We rushed through the configuration of our simple item, so you might have gotten curious about the parameters we didn't change or talk about. Let's take a quick look at what can be monitored and what we can configure for each item.

Zabbix can monitor quite a wide range of system characteristics. Functionally, we can split them into categories, while technically, each method used corresponds to an item type.

Monitoring categories

Let's take a look at the generic categories that we can keep an eye on. Of course, this is not an exhaustive list of things to monitor—consider this as an example subset of interesting parameters. You'll soon discover many more areas to add in your...

Using global search

So far, we have navigated to a host or its items and other entities by going to specific pages in the frontend and then looking up the group and host. This is a convenient enough method in smaller installations, and it's also what we will mostly use in this book. In a larger installation, navigating like this could be very time-consuming, thus, a feature called global search becomes very useful. Actually, many users almost completely skip the classic navigation method and use search exclusively.

The global search field is available in the upper right corner of the Zabbix frontend. In there, type a single letter, a. Anything entered here is matched against the beginnings of host-names, and the results are shown in a drop-down. In our case, A test host matches:

You can choose one of the drop-down entries with your keyboard or mouse, or search using your...

Summary

This was the chapter where we finally got some real action: monitoring an item, creating a trigger, and getting a notification on that trigger. We also explored the Zabbix frontend a bit and looked at basic item parameters. Let's review what basic steps were required to get our first alert:

  • We started by creating a host. In Zabbix, everything to be monitored is attached to a logical entity called a host.
  • Next, we created an item. Being the basis of information gathering, items define parameters about monitored metrics, including what data to gather, how often to gather it, how to store the retrieved values, and other things.
  • After the item, we created a trigger. Each trigger contains an expression that is used to define thresholds. For each trigger, a severity can be configured as well. To let Zabbix know how to reach us, we configured our email settings. This included...

Questions

  1. Name the 5 severity levels in Zabbix.
  2. Can Zabbix send messages to different users or groups, and where do we configure this?
  3. Does Zabbix allow items to be pre-processed before it saves them into the database?
Left arrow icon Right arrow icon

Key benefits

  • Experience the full impact of Zabbix 4.0, a useful and increasingly popular tool
  • Enhance your network’s performance and manage hosts and systems
  • A step-by-step guide to smarter network monitoring

Description

Zabbix 4 Network Monitoring is the perfect starting point for monitoring the performance of your network devices and applications with Zabbix. Even if you’ve never used a monitoring solution before, this book will get you up and running quickly. You’ll learn to monitor more sophisticated operations with ease and soon feel in complete control of your network, ready to meet any challenges you might face. Starting with the installation, you will discover the new features in Zabbix 4.0. You will then get to grips with native Zabbix agents and Simple Network Management Protocol (SNMP) devices. You will also explore Zabbix's integrated functionality for monitoring Java application servers and VMware. This book also covers notifications, permission management, system maintenance, and troubleshooting, so you can be confident that every potential challenge and task is under your control. If you're working with larger environments, you'll also be able to find out more about distributed data collection using Zabbix proxies. Once you're confident and ready to put these concepts into practice, you will understand how to optimize and improve performance. Troubleshooting network issues is vital for anyone working with Zabbix, so the book also helps you work through any technical snags and glitches you might face. By the end of this book, you will have learned more advanced techniques to fine-tune your system and make sure it is in a healthy state.

Who is this book for?

If you're new to Zabbix look no further than this book. Zabbix 4 Network Monitoring is for system and network administrators who are looking to put their knowledge to work with Zabbix 4.0.

What you will learn

  • Install Zabbix server and an agent from source
  • Manage hosts, users, and permissions while acting upon monitored conditions
  • Visualize data with the help of ad hoc graphs, custom graphs, and maps
  • Simplify complex configurations and learn to automate them
  • Monitor everything from web pages to IPMI devices and Java applications to VMware stats
  • Configure Zabbix to send alerts including problem severity and time periods
  • Troubleshoot any network issue

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Jan 21, 2019
Length: 798 pages
Edition : 3rd
Language : English
ISBN-13 : 9781789345247
Concepts :
Tools :

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Product feature icon AI Assistant (beta) to help accelerate your learning
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Product Details

Publication date : Jan 21, 2019
Length: 798 pages
Edition : 3rd
Language : English
ISBN-13 : 9781789345247
Concepts :
Tools :

Packt Subscriptions

See our plans and pricing
Modal Close icon
£16.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
£169.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just £5 each
Feature tick icon Exclusive print discounts
£234.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just £5 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total £ 107.97
CompTIA Network+ Certification Guide
£32.99
Practical Network Automation
£32.99
Zabbix 4 Network Monitoring
£41.99
Total £ 107.97 Stars icon
Banner background image

Table of Contents

24 Chapters
Getting Started with Zabbix Chevron down icon Chevron up icon
Getting Your First Notification Chevron down icon Chevron up icon
Monitoring with Zabbix Agents and Basic Protocols Chevron down icon Chevron up icon
Monitoring SNMP Devices Chevron down icon Chevron up icon
Managing Hosts, Users, and Permissions Chevron down icon Chevron up icon
Detecting Problems with Triggers Chevron down icon Chevron up icon
Acting upon Monitored Conditions Chevron down icon Chevron up icon
Simplifying Complex Configurations with Templates Chevron down icon Chevron up icon
Visualizing Data with Screens and Slideshows Chevron down icon Chevron up icon
Advanced Item Monitoring Chevron down icon Chevron up icon
Automating Configuration Chevron down icon Chevron up icon
Monitoring Web Pages Chevron down icon Chevron up icon
High-Level Business Service Monitoring Chevron down icon Chevron up icon
Monitoring IPMI Devices Chevron down icon Chevron up icon
Monitoring Java Applications Chevron down icon Chevron up icon
Monitoring VMware Chevron down icon Chevron up icon
Using Proxies to Monitor Remote Locations Chevron down icon Chevron up icon
Encrypting Zabbix Traffic Chevron down icon Chevron up icon
Working Closely with Data Chevron down icon Chevron up icon
Zabbix Maintenance Chevron down icon Chevron up icon
Troubleshooting Chevron down icon Chevron up icon
Being Part of the Community Chevron down icon Chevron up icon
Assessment Chevron down icon Chevron up icon
Other Books You May Enjoy Chevron down icon Chevron up icon

Customer reviews

Rating distribution
Full star icon Full star icon Full star icon Full star icon Full star icon 5
(2 Ratings)
5 star 100%
4 star 0%
3 star 0%
2 star 0%
1 star 0%
Leticia Jul 24, 2019
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Muy completo merece la pena aunque echo de menos la versión kindle
Amazon Verified review Amazon
William Farnworth Jun 30, 2021
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Introduced to Zabbix at a new position and this book was the perfect tool I needed to ramp up and have a offline reference I could dog ear and highlight as wanted to.
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

How do I buy and download an eBook? Chevron down icon Chevron up icon

Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.

If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.

Please Note: Packt eBooks are non-returnable and non-refundable.

Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:

  • You may make copies of your eBook for your own use onto any machine
  • You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website? Chevron down icon Chevron up icon

If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:

  1. Register on our website using your email address and the password.
  2. Search for the title by name or ISBN using the search option.
  3. Select the title you want to purchase.
  4. Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title. 
  5. Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook? Chevron down icon Chevron up icon
  • If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
  • To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
  • To view your account details or to download a new copy of the book go to www.packtpub.com/account
  • To contact us directly if a problem is not resolved, use www.packtpub.com/contact-us
What eBook formats do Packt support? Chevron down icon Chevron up icon

Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.

You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.

What are the benefits of eBooks? Chevron down icon Chevron up icon
  • You can get the information you need immediately
  • You can easily take them with you on a laptop
  • You can download them an unlimited number of times
  • You can print them out
  • They are copy-paste enabled
  • They are searchable
  • There is no password protection
  • They are lower price than print
  • They save resources and space
What is an eBook? Chevron down icon Chevron up icon

Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.

When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.

For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.