Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Zabbix Cookbook

You're reading from   Zabbix Cookbook Over 70 hands-on recipes to get your infrastructure up and running with Zabbix

Arrow left icon
Product type Paperback
Published in Mar 2015
Publisher
ISBN-13 9781784397586
Length 260 pages
Edition 1st Edition
Tools
Concepts
Arrow right icon
Author (1):
Arrow left icon
Patrik Uytterhoeven Patrik Uytterhoeven
Author Profile Icon Patrik Uytterhoeven
Patrik Uytterhoeven
Arrow right icon
View More author details
Toc

Table of Contents (13) Chapters Close

Preface 1. Zabbix Configuration FREE CHAPTER 2. Getting Around in Zabbix 3. Groups, Users, and Permissions 4. Monitoring with Zabbix 5. Testing with Triggers in Zabbix 6. Working with Templates 7. Data Visualization and Reporting in Zabbix 8. Monitoring VMware and Proxies 9. Autodiscovery 10. Zabbix Maintenance and API A. Upgrading and Troubleshooting Zabbix Index

External checks


Just when you thought things couldn't get any better, you notice that Zabbix has support for external checks. This means that Zabbix will run a script or a binary from a specific location, without the need of any agent running on the host that we want to monitor.

Getting ready

For this setup, we need our Zabbix server with a host that can be reached by the Zabbix server. There is no need to install a Zabbix agent on the host as we will make use of our own scripts to run some checks.

How to do it …

  1. Creating external checks is very easy in Zabbix. First thing we need to verify is where to put them on our Zabbix server. This can be done by looking in the configuration file of the Zabbix server in the zabbix_server.conf file. Here we see the option ExternalScripts where we can specify the location or use the standard one:

    ExternalScripts=/usr/lib/zabbix/externalscripts
  2. In this location, we will place our script. For example we could check the number of cores available on our host....

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image