Dear masters,
I want to change database zabbix pointing in Zabbix Front End from old database server to new database server. Could you tell me , how i can to change it ?
Because i changed in file : /usr/share/zabbix/conf/zabbix.conf.php it didn't work and still connect to old database server. For database we use postgresql .
Below my configuration :
<?php
// Zabbix GUI configuration file.
global $DB, $HISTORY;
$DB['TYPE'] = 'POSTGRESQL';
$DB['SERVER'] = '10.14.22.227';
$DB['PORT'] = '5758';
$DB['DATABASE'] = 'zabbix4';
$DB['USER'] = 'zabbix';
$DB['PASSWORD'] = 'xxxxxxxx';
// Schema name. Used for IBM DB2 and PostgreSQL.
$DB['SCHEMA'] = 'zabbix';
$ZBX_SERVER = '10.14.22.15';
$ZBX_SERVER_PORT = '10051';
$ZBX_SERVER_NAME = '';
$IMAGE_FORMAT_DEFAULT = IMAGE_FORMAT_PNG;
?>
Please your help and any advice.
Thank you
I want to change database zabbix pointing in Zabbix Front End from old database server to new database server. Could you tell me , how i can to change it ?
Because i changed in file : /usr/share/zabbix/conf/zabbix.conf.php it didn't work and still connect to old database server. For database we use postgresql .
Below my configuration :
<?php
// Zabbix GUI configuration file.
global $DB, $HISTORY;
$DB['TYPE'] = 'POSTGRESQL';
$DB['SERVER'] = '10.14.22.227';
$DB['PORT'] = '5758';
$DB['DATABASE'] = 'zabbix4';
$DB['USER'] = 'zabbix';
$DB['PASSWORD'] = 'xxxxxxxx';
// Schema name. Used for IBM DB2 and PostgreSQL.
$DB['SCHEMA'] = 'zabbix';
$ZBX_SERVER = '10.14.22.15';
$ZBX_SERVER_PORT = '10051';
$ZBX_SERVER_NAME = '';
$IMAGE_FORMAT_DEFAULT = IMAGE_FORMAT_PNG;
?>
Please your help and any advice.
Thank you
Comment