美文网首页自动化运维
ZABBIX-Troubleshooting

ZABBIX-Troubleshooting

作者: 骑猪看夕阳aa | 来源:发表于2018-11-13 10:35 被阅读0次

Q1: Dashbord中提示Zabbix server is not running

A1:

  1. 首先查看zabbix-server的运行状态
    systemctl status zabbix-server
    确定是否是active(running)状态,如果不是,重启zabbix-server
  2. 查看log
    tail -f /var/log/zabbix/zabbix_server.log
    导致此问题可能有多个原因,本次以我遇到的为例,log如下
[file:dbconfig.c,line:545] zbx_mem_malloc(): out of memory (requested 16 bytes)
[file:dbconfig.c,line:545] zbx_mem_malloc(): please increase CacheSize configuration parameter

上面说的很明确,请调整Cachesize参数
vim /etc/zabbix/zabbix_server.conf

### Option: CacheSize
#   Size of configuration cache, in bytes.
#   Shared memory size for storing host, item and trigger data.
#
# Mandatory: no
# Range: 128K-8G
# Default:
CacheSize=2048M  #根据zabbix server主机的内存适度更改

相关文章

网友评论

    本文标题:ZABBIX-Troubleshooting

    本文链接:https://www.haomeiwen.com/subject/pydcfqtx.html