Setting up a passive proxy

In this recipe, we will show you how to set up your passive proxy. We will also show you the most important parameters that you need to configure when setting up a passive proxy.

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. You also have to set up your proxy as we showed you in the previous recipe, Installing a proxy.

How to do it…

  1. Install the Zabbix proxy just as we have seen in the recipe, Installing a proxy.
  2. In the zabbix_proxy.conf file, we need to change the option Proxy Mode:
    Proxy Mode = 1
  3. Change the ProxyConfigFrequency = 3600 option in the zabbix_server.conf file to a value that suits this option. This will influence how many times the Zabbix server will send the configuration to the proxy.
  4. Change the ProxyDataFrequency = 1 option in the zabbix_server.conf file to a value that suits you. This will tell the Zabbix server how many times it needs to fetch history data from the proxy.
  5. In the zabbix_server.conf file, alter the option StartProxyPollers=1 to at least the number of proxies in your network.
  6. Restart both Zabbix server and proxy to update the configuration.
  7. service zabbix-server restart and for the proxy service zabbix-proxy restart.
  8. Go to the Zabbix web frontend to Administration | Proxies and create a proxy.
  9. Add the Proxy name.
  10. Select Passive for Proxy mode.
  11. Add the correct Interface (IP or DNS preferable IP).
  12. Save the configuration.
    How to do it…

How it works…

When we work with a passive proxy, the proxy will just work like a passive client. The proxy will wait for the server to initiate a connection to fetch all the data from the proxy.

A passive proxy is perfect to use in a DMZ zone where you don't just want your severs to communicate with your LAN. This way the Zabbix server will initiate the connection and fetch all data from the proxy over port 10051.

How it works…
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.147.104.120