Answer the question
In order to leave comments, you need to log in
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
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 \
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 questionAsk a Question
731 491 924 answers to any question