2016-10-28 15:49:42 +02:00
|
|
|
<?php
|
|
|
|
// Zabbix GUI configuration file.
|
2018-06-01 11:02:20 +02:00
|
|
|
global $DB, $HISTORY;
|
2016-10-28 15:49:42 +02:00
|
|
|
|
2019-09-05 19:04:42 +02:00
|
|
|
$DB['TYPE'] = 'POSTGRESQL';
|
2016-10-28 15:49:42 +02:00
|
|
|
$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.
|
2018-06-28 08:48:31 +02:00
|
|
|
$DB['SCHEMA'] = '{DB_SERVER_SCHEMA}';
|
2016-10-28 15:49:42 +02:00
|
|
|
|
|
|
|
$ZBX_SERVER = '{ZBX_SERVER_HOST}';
|
|
|
|
$ZBX_SERVER_PORT = '{ZBX_SERVER_PORT}';
|
|
|
|
$ZBX_SERVER_NAME = '{ZBX_SERVER_NAME}';
|
|
|
|
|
2018-06-01 11:02:20 +02:00
|
|
|
$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};
|