Setup Zabbix Proxy on a Raspberry Pi behind a firewall : Zabbix 4.2

Setup Zabbix Proxy on a Raspberry Pi behind a firewall : Zabbix 4.2

Channel:
Subscribers:
24,900
Published on ● Video Link: https://www.youtube.com/watch?v=i2b1DfscSqo



Duration: 18:14
5,518 views
61


For more info on my Zabbix Course visit https://sbcode.net/zabbix/

I have a freshly installed Raspberry Pi.
It has Rasbian Stretch-Lite with 4GB SD Ram on a Raspberry PI Model B
And in this video, I install Zabbix Proxy and Agent on it.
After the setup and install of the new Raspberry Pi
I login and enter
$ wget https://repo.zabbix.com/zabbix/4.2/raspbian/pool/main/z/zabbix-release/zabbix-release_4.2-1+stretch_all.deb
$sudo dpkg -i zabbix-release_4.2-1+stretch_all.deb
$sudo apt update

I then need to configure the proxy, the agent, add the proxy to the Zabbix Server, add the Agent as a new host to the Zabbix Server, and reconfigure my existing Hosts on my internal private network to now use the proxy as a relay to the server.
After this, I no longer need special port forwarding rules on my Router and If my internet connection goes down, the proxy will still record data for up to an hour.
After every change to the hosts or agents, it is advisable to get the proxy to reload the config cache from the main Zabbix server by entering
$sudo zabbix_proxy -R config_cache_reload

After the setup, you can enable the proxy and agent to auto start after reboot, by entering
enable auto start after reboot
$sudo systemctl enable zabbix-proxy.service
$sudo systemctl enable zabbix-agent.service







Tags:
Zabbix Proxy
Raspberry Pi
Zabbix Server
Zabbix Agent
zabbix 4.2