mirror of
https://git.freebsd.org/ports.git
synced 2025-07-17 09:19:15 -04:00
- http://www.zabbix.com/rn2.2.13.php - http://www.zabbix.com/rn2.2.14.php Also: - Fix default path to PID - Fix rc.d scripts to correct use PID file - Remove IGNORE_WITH_PHP and IGNORE_WITH_MYSQL because the ignored versions no longer exists PR: 209891 Submitted by: pg@pakhom.spb.ru (maintainer) Approved by: pi (mentor)
50 lines
1.9 KiB
Text
50 lines
1.9 KiB
Text
======================================================================
|
|
For Zabbix server and proxy daemons, as well as Zabbix frontend, a database is required. It is not needed to run Zabbix agent.
|
|
% cd %%DATADIR%%/%%ZABBIX_BUILD%%/database
|
|
|
|
PostgreSQL:
|
|
shell> psql -U <username>
|
|
psql> create database zabbix;
|
|
psql> \q
|
|
shell> cd database/postgresql
|
|
shell> psql -U <username> zabbix < schema.sql
|
|
shell> psql -U <username> zabbix < images.sql
|
|
shell> psql -U <username> zabbix < data.sql
|
|
|
|
MySQL:
|
|
shell> mysql -u<username> -p<password>
|
|
mysql> create database zabbix character set utf8;
|
|
mysql> quit;
|
|
shell> mysql -u<username> -p<password> zabbix < database/mysql/schema.sql
|
|
shell> mysql -u<username> -p<password> zabbix < database/mysql/images.sql
|
|
shell> mysql -u<username> -p<password> zabbix < database/mysql/data.sql
|
|
|
|
SQLite:
|
|
shell> cd database/sqlite3
|
|
shell> sqlite3 /var/lib/sqlite/zabbix.db < schema.sql
|
|
shell> sqlite3 /var/lib/sqlite/zabbix.db < images.sql
|
|
shell> sqlite3 /var/lib/sqlite/zabbix.db < data.sql
|
|
|
|
IBM DB2:
|
|
shell> db2 "create database zabbix using codeset utf-8 territory us pagesize 32768"
|
|
shell> cd database/ibm_db2
|
|
shell> db2batch -d zabbix -f schema.sql
|
|
shell> db2batch -d zabbix -f images.sql
|
|
shell> db2batch -d zabbix -f data.sql
|
|
|
|
Upgrade notes for 2.2.0
|
|
|
|
Minimum supported PHP version changed from 5.1.6 to 5.3.0
|
|
Minimum supported MySQL version changed from 5.0.0 to 5.0.3
|
|
Accepted data limit when using Zabbix protocol was changed from 128MB to 64MB.
|
|
|
|
New upgrade procedure
|
|
There are no upgrade SQL scripts anymore - database upgrade is performed by the Zabbix server.
|
|
|
|
To upgrade an existing database, see the scripts in
|
|
Upgrade notes for 2.2.0 https://www.zabbix.com/documentation/2.2/manual/installation/upgrade_notes_220
|
|
|
|
Please see https://www.zabbix.com/documentation/2.2/manual/installation for installation instructions.
|
|
|
|
For use NMAP please edit sudoers
|
|
======================================================================
|