zabbix web 登录成功后提示(红色提示):zabbix server is not running:the information displayed may not be current(示

Posted 运维工匠实战(如果发现有错误请大家把正确的方法发送给我,方便

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了zabbix web 登录成功后提示(红色提示):zabbix server is not running:the information displayed may not be current(示相关的知识,希望对你有一定的参考价值。

原因是我配了外网地址因应是内网的:

# 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(示的主要内容,如果未能解决你的问题,请参考以下文章

Zabbix学习笔记(四十五)

zabbix web显示不正常 有知道啥原因的吗

zabbix最新漏洞提示

JavaWeb_用户登录注册模板

zabbix3.4 密码找回

zabbix安装后提示:Zabbix server is not running