Zabbix Proxy installation

  • by

It isn’t too obvious in the Zabbix documentation about installing and setting up a Zabbix Proxy, so here:

nb: Check on current versions of all links as they can change of become out of date. This example is based on CentOS 8 and Zabbix V5.2.

check basic server setup guide:

ensure firewall is setup:

ensure selinux is set to permissive (or more advenaced settings):

install mysql

install zabbix repo:

rpm -Uvh
dnf clean all

setup basic mysql user:

mysql -uroot -p

mysql> create database zabbix character set utf8 collate utf8_bin;
mysql> create user zabbix@localhost identified by ‘password’;
mysql> grant all privileges on zabbix.* to zabbix@localhost;
mysql> quit;

setup schema for proxy database:

zcat /usr/share/doc/zabbix-proxy-mysql*/schema.sql.gz | mysql -uzabbix -p zabbix

install proxy

setup the config file with db and system info:

# vi /etc/zabbix/zabbix_server.conf

start and enable on boot:
systemctl start zabbix-proxy
systemctl enable zabbix-proxy

check if it is running:
systemctl status zabbix-proxy

ensure to refresh the config of proxy during setup as it only refreshes every hour automatically:
zabbix_proxy -R config_cache_reload


Leave a Reply