Book Image

Zabbix Cookbook

By : Patrik Uytterhoeven, patrik uytterhoeven
Book Image

Zabbix Cookbook

By: Patrik Uytterhoeven, patrik uytterhoeven

Overview of this book

Table of Contents (18 chapters)
Zabbix Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Installing a proxy


In this recipe, we will show you how to install a proxy in your network. The installation of a proxy is very straightforward as you will see. However, monitoring and configuring the proxy can be more complicated. For this reason, we have split up installation and the different types of configuring a proxy in this chapter.

Getting ready

What we need for this recipe is of course, our Zabbix server with super administrator rights. We need an extra machine to install our proxy.

How to do it…

As the proxy is a lightweight version of the Zabbix server, the installation procedure is almost exactly the same.

  1. First we add the Zabbix repository to our server:

    rpm -ivh
    http://repo.zabbix.com/zabbix/2.4/rhel/6/x86_64/zabbix- release-2.4-1.el6.noarch.rpm
    
  2. Next step is to install our proxy. We will make use of a SQLite database:

    yum install zabbix-proxy-sqlite3
    
  3. Make sure the proxy will start at our next reboot:

    chkconfig zabbix-proxy on
    
  4. Open the correct port in the firewall. Standardly, this...