The following steps are for setting up a proxy server. Windows clients can talk directly to the cloud using
an encrypted agent. However for networking devices, we recommend a simple proxy to ensure
security and best performance.
> In our example we will use Ubuntu, however any Linux distribution will work.
> Download Ubuntu here.
> Complete the installation in your environment.
> Confirm you have the following system requirements met.
* Always make infrastructure changes carefully and consult your IT team before making any changes.
> Connect onto your Ubuntu (or other) server where you want the proxy to live.
> Install the repository using the following:
sudo -s
wget https://repo.zabbix.com/zabbix/7.4/release/ubuntu/pool/main/z/zabbix-release/zabbix-release_latest_7.4+ubuntu24.04_all.deb
> Continue the repository installation.
> Enter the following command:
sudo dpkg -i zabbix-release_latest_7.4+ubuntu24.04_all.deb
> Update your repository with the following command
sudo apt update
> Now we need to install the actual proxy.
> Run the following command.
sudo apt install zabbix-proxy-sqlite3
> Edit the proxy conf file with the following commands:
sudo vi /etc/zabbix/zabbix_proxy.conf
Press the i key on the keyboard to enter editing mode.
> You should now see the word -- INSERT -- in the bottom left which confirms you are in editing mode.
> Make the server IP address.
> Use the UP and DOWN arrow keys to find the row called "Server"
> Backspace the IP address "127.0.0.1" and type the following
116.202.20.198
> Press ESC on the keyboard
Type :wq and press enter
> Open your Monro Cloud Monitoring dashboard.
> Navigate to "Data collection" > "Hosts" > "Create Host" > "Select" (next to Host Group).
> Take note of the Host Group.
> Change the Hostname in same conf file.
sudo vi /etc/zabbix/zabbix_proxy.conf
Press the "i" key on the keyboard to enter editing mode.
> Scroll down to Hostname using the UP and DOWN arrow keys.
> Backspace Hostname "Zabbix Proxy".
> Enter your Host Group Name you got from the previous step (it is case sensitive).
> Press ESC on the keyboard.
Type :wq and press enter
> Change the DBName in same conf file.
sudo vi /etc/zabbix/zabbix_proxy.conf
Press the i key on the keyboard to enter editing mode.
> Scroll down to Hostname using the UP and DOWN arrow keys.
> Backspace DBName "zabbix_proxy".
Type /var/lib/zabbix/zabbix_proxy.db
> Press ESC on the keyboard.
Type :wq and press enter
> Create necessary directories.
sudo mkdir -p /var/lib/zabbix
sudo chown zabbix:zabbix /var/lib/zabbix
sudo chmod 750 /var/lib/zabbix
> Enable and restart the proxy with the following commands:
sudo ​systemctl restart zabbix-proxy
sudo systemctl enable zabbix-proxy
> The final step is to complete this quick 2 step security verification.
Complete Proxy Setup