Zabbix

Zabbix Proxy

Best for remote sites, use Active proxy

Zabbix proxy installation explained

Basic install - ???

https://bestmonitoringtools.com/install-zabbix-proxy-on-ubuntu/


#encryption #swap agent for proxy

https://sbcode.net/zabbix/agent-psk-encryption/


?????

docker run --name some-zabbix-proxy-sqlite3 -e ZBX_HOSTNAME=some-hostname -e ZBX_SERVER_HOST=some-zabbix-server -d zabbix/zabbix-proxy-sqlite3:tag

tag:ubuntu-5.2-latest


Zabbix Agent

docker run --name some-zabbix-agent -e ZBX_HOSTNAME="some-hostname" -e ZBX_SERVER_HOST="some-zabbix-server" -d zabbix/zabbix-agent:tag


sudo wget https://repo.zabbix.com/zabbix/5.0/ubuntu/pool/main/z/zabbix-release/zabbix-release_5.0-1+$(lsb_release -sc)_all.deb

sudo dpkg -i zabbix-release_5.0-1+$(lsb_release -sc)_all.deb


sudo apt update

sudo apt -y install zabbix-agent



Increase Cache Size

By default it's only 8 MB.

sudo nano /etc/zabbix/zabbix_server.conf

CacheSize=1024M

!!! make sure and upgrade proxy config as well

#ref

https://www.zabbix.com/forum/zabbix-help/52925-zabbix-value-cache-working-in-low-memory-mode