File: zabbix-proxy-sqlite3.README.Debian

package info (click to toggle)
zabbix 1%3A5.0.8%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 135,196 kB
  • sloc: ansic: 250,674; sql: 209,763; php: 195,264; xml: 167,194; javascript: 46,671; sh: 5,339; makefile: 1,723; java: 1,337; cpp: 620; perl: 41
file content (25 lines) | stat: -rw-r--r-- 721 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Installing the database
-----------------------

The Zabbix proxy needs an SQL database to run. As you chose to install
this zabbix-proxy-sqlite3 package you apparently want to use a SQLite3
database as a storage backend.

Create a new SQLite database with the necessary database schema:

-> zcat /usr/share/zabbix-proxy-sqlite3/schema.sql.gz | \
   sqlite3 /var/lib/zabbix/zabbix.db

Change the owner of the database to the "zabbix" user and group:

-> chown zabbix:zabbix /var/lib/zabbix/zabbix.db

Set the path to your SQLite3 database in the /etc/zabbix/zabbix_proxy.conf
configuration file:

-> DBName=/var/lib/zabbix/zabbix.db


See also:
http://www.zabbix.com/documentation/5.0/manual/appendix/install/db_scripts