mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2024-12-05 06:00:37 +01:00
9ae94fb777
Fixed PostgreSQL schema name. Fixed graph legends on CentOS
25 lines
741 B
PHP
25 lines
741 B
PHP
<?php
|
|
// Zabbix GUI configuration file.
|
|
global $DB, $HISTORY;
|
|
|
|
$DB['TYPE'] = 'MYSQL';
|
|
$DB['SERVER'] = '{DB_SERVER_HOST}';
|
|
$DB['PORT'] = '{DB_SERVER_PORT}';
|
|
$DB['DATABASE'] = '{DB_SERVER_DBNAME}';
|
|
$DB['USER'] = '{DB_SERVER_USER}';
|
|
$DB['PASSWORD'] = '{DB_SERVER_PASS}';
|
|
|
|
// Schema name. Used for IBM DB2 and PostgreSQL.
|
|
$DB['SCHEMA'] = '{DB_SERVER_SCHEMA}';
|
|
|
|
$ZBX_SERVER = '{ZBX_SERVER_HOST}';
|
|
$ZBX_SERVER_PORT = '{ZBX_SERVER_PORT}';
|
|
$ZBX_SERVER_NAME = '{ZBX_SERVER_NAME}';
|
|
|
|
$IMAGE_FORMAT_DEFAULT = IMAGE_FORMAT_PNG;
|
|
|
|
// Elasticsearch url (can be string if same url is used for all types).
|
|
$HISTORY['url'] = '{ZBX_HISTORYSTORAGEURL}';
|
|
// Value types stored in Elasticsearch.
|
|
$HISTORY['types'] = {ZBX_HISTORYSTORAGETYPES};
|