Zabbix Summit 2022
View presentations

2 Debian/Ubuntu

Installing packages

Install proxy and make sure to insert correct database type value for <database_type>:

# apt-get install zabbix-proxy-<database_type>

Creating proxy database

Create Zabbix proxy database and its user.
For instructions on doing that, see examples from server installation with MySQL or PostgreSQL and mind peculiarity of the SQLite creation.

Then import initial schema.

MySQL command:

# zcat /usr/share/doc/zabbix-proxy-mysql/schema.sql.gz | mysql -u<username> zabbix

PostgreSQL command:

# zcat /usr/share/doc/zabbix-proxy-pgsql/schema.sql.gz | psql -U <username> zabbix

SQLite command:

# zcat /usr/share/doc/zabbix-proxy-sqlite3/schema.sql.gz | sqlite3 zabbix.db

Starting Zabbix proxy process

After database is installed and zabbix_proxy.conf file is configured, you may start Zabbix proxy process.

# service zabbix-proxy start