V
V
Vitaliy12021-11-09 14:56:59
Zabbix
Vitaliy1, 2021-11-09 14:56:59

Installing zabbix, create.sql.gz is missing, how to get the file?

At the zabbix installation stage, when you need to export the initial schema and data for the "zabbix" database, the file is used, which lies along the path: /usr/share/doc/zabbix-server-pgsql/create.sql.gz
I don't have it.
I found information about the need to exclude the documentation directory in the file: /etc/dpkg/dpkg.cfg.d/excludes
Exclude. The file now looks like this:
#path-exclude=/usr/share/doc/*
path-include=/usr/share/doc/zabbix*
path-include=/usr/share/doc/*/changelog.Debian.*
Then I reinstalled the package I needed: sudo apt reinstall zabbix-server-pgsql
But there is still no documentation for exporting to the database! How to be? Where to get it?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Lipatov, 2021-11-09
@quality

These packages (zabbix) are enough to install the server, of course you need to have additional packages in terms of the web server, databases, etc.

apt install -y zabbix-agent \
zabbix-frontend-php \
zabbix-release \
zabbix-server-mysql \
zabbix-sql-scripts \

zabbix-server-mysql - must be replaced with the type of database that is required. If it is placed on nginx, there is an extra. the package is zabbix-nginx-conf, it will set the configuration for the nginx web server.
All the necessary files are in the subdirectories here: /usr/share/doc/zabbix-sql-scripts/
At the moment, version 5.4.7

G
grigoriy1984, 2022-01-29
@grigoriy1984

Alexander Lipatov , I'm sorry, but you answered the wrong question.
The script is now in another folder:
/usr/share/doc/zabbix-sql-scripts/postgresql/create.sql.gz

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question