所以突然之间,在使用它一周后,我在我的电脑上收到一条错误消息zabbix server
gui (http://localhost/zabbix/ http://localhost/zabbix/.)
错误说:Zabbix server is not running: the information displayed may not be current.
知道为什么会突然发生这种情况吗?我重新启动了机器 - 这应该会自动恢复zabbix server
启动时 - 但它仍然没有运行。
我还研究了启动或重新启动命令,但形式正确zabbix
有用的、清晰的文档是不存在的。
EDIT:
更多信息:
MySQL
运行正常。我能够select
, insert into
,无论我想要什么。
Doing /etc/init.d/zabbix-server status
结果是* zabbix_server is not running
最后一个条目在zabbix_server.log
is Zabbix Server stopped. Zabbix 2.2.9 (revision 52686).
Doing sudo /etc/init.d/zabbix-server start
结果是* Starting Zabbix server zabbix_server
但状态仍然是not running
并且日志文件没有任何新条目。
只需进入zabbix.conf.php
>$sudo vim /etc/zabbix/web/zabbix.conf.php
>$ZBX_SERVER = '**your zabbix ip address or DNS name**';
>$ZBX_SERVER_PORT = '10051';
>$ZBX_SERVER_NAME = '**your zabbix hostname**';
只需更改IP地址你可以解决这个错误
Zabbix 服务器未运行:显示的信息可能不是最新的
之后重启zabbix服务器
>$sudo service zabbix-server restart
要验证,请转到仪表板管理 -> 队列,您会看到数据
我解决了我的错误,这样对我来说效果很好。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)