1. 程式人生 > >zabbix web 登錄成功後提示(紅色提示):zabbix server is not running:the information displayed may not be current

zabbix web 登錄成功後提示(紅色提示):zabbix server is not running:the information displayed may not be current

aid blog sed 地址 成功 current use schema clas

原因是我配了外網地址因應是內網的:

# cat /etc/zabbix/web/zabbix.conf.php
<?php
// Zabbix GUI configuration file.
global $DB;

$DB[‘TYPE‘]     = ‘MYSQL‘;
$DB[‘SERVER‘]   = ‘localhost‘;
$DB[‘PORT‘]     = ‘0‘;
$DB[‘DATABASE‘] = ‘zabbix‘;
$DB[‘USER‘]     = ‘baidu‘;
$DB[‘PASSWORD‘] = ‘baidu1456‘;

// Schema name. Used for IBM DB2 and PostgreSQL.
$DB[‘SCHEMA‘] = ‘‘;

$ZBX_SERVER      = ‘10.178.6.x2‘;
$ZBX_SERVER_PORT = ‘10051‘;
$ZBX_SERVER_NAME = ‘baidu.zabbix‘;

$IMAGE_FORMAT_DEFAULT = IMAGE_FORMAT_PNG;
?>

zabbix web 登錄成功後提示(紅色提示):zabbix server is not running:the information displayed may not be current