Added Elasticsearch feature

This commit is contained in:
root
2018-06-01 02:02:20 -07:00
parent e5b94d728b
commit 4355caab21
64 changed files with 372 additions and 50 deletions

View File

@ -1,6 +1,6 @@
<?php
// Zabbix GUI configuration file.
global $DB;
global $DB, $HISTORY;
$DB['TYPE'] = 'MYSQL';
$DB['SERVER'] = '{DB_SERVER_HOST}';
@ -16,5 +16,9 @@ $ZBX_SERVER = '{ZBX_SERVER_HOST}';
$ZBX_SERVER_PORT = '{ZBX_SERVER_PORT}';
$ZBX_SERVER_NAME = '{ZBX_SERVER_NAME}';
$IMAGE_FORMAT_DEFAULT = IMAGE_FORMAT_PNG;
?>
$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};