-
Incident report
-
Resolution: Won't fix
-
Major
-
None
-
3.4.7
-
FreeBSD 11.1
Nginx 1.12.2
PHP-fpm 7.1.14
PostgreSQL 9.6
Elasticsearch 6.2
Bringing Elasticsearch into the fold on an existing live Zabbix platform sat on Postgres 9.6.
It appears that changing the globals in zabbix.conf.php and adding $HISTORY enables me to see just historical data from the moment I enabled Elasticsearch, however, all previous data has disappeared from show.
The globals line is. global $DB, $HISTORY;
--------
If i revert the globals back to just $DB then I can see the previous historical and trending data up to the point when i enabled Elasticsearch but nothing new which makes sense.
The globals line here is. global $DB;
-------
Output of my zabbix.conf.php
<?php
global $DB, $HISTORY;
$DB['TYPE'] = 'POSTGRESQL';
$DB['SERVER'] = '******';
$DB['PORT'] = '5432';
$DB['DATABASE'] = 'zabbix';
$DB['USER'] = 'zabbix';
$DB['PASSWORD'] = '******';
$ZBX_SERVER = '******';
$ZBX_SERVER_PORT = '10051';
$ZBX_SERVER_NAME = '';
$IMAGE_FORMAT_DEFAULT = IMAGE_FORMAT_PNG;
$HISTORY['url'] = 'http://******:9200';
$HISTORY['types'] = ['str', 'text', 'log', 'uint', 'dbl'];
Am i missing something here to see both sets of data?