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

Monitoring hosts through a proxy


After setting up a proxy, we want to add some hosts to our proxy. In this recipe, we will show you how to link your hosts to the installed proxies.

Getting ready

For this recipe, we need our Zabbix server with an active or passive proxy configured like we have done in one of the previous recipes. We also need a host that we can use to connect to our proxy.

How to do it…

Adding a host to a proxy is a very straightforward method and doesn't take much time:

  1. First we have to change the Server and/or ActiveServer values in the configuration of our Zabbix client. This can be done in the zabbix_agentd.conf configuration file. Instead of the Zabbix server's IP we add the IP of our proxy.

  2. Restart the agent:

    service zabbix-proxy restart
    
  3. In the Zabbix server, go to the agent in the menu Configuration | Hosts. Select the correct host and at the bottom of the host page, select from Monitored by proxy the correct proxy from the list.

  4. Now, go to Administration | Proxies. You will...

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