Zabbix DashBoard Graph widget goes blank/no data/empty.
原因是:仪表盘右上角的时间段被更改了,改回正确的时间段,图形就会恢复。
the root cause is: the time period of Dashboard has been changed. after you change back (like “Last 1 hour”), the graph will return to normally.

(其实,我想停步&躺平)
Zabbix DashBoard Graph widget goes blank/no data/empty.
原因是:仪表盘右上角的时间段被更改了,改回正确的时间段,图形就会恢复。
the root cause is: the time period of Dashboard has been changed. after you change back (like “Last 1 hour”), the graph will return to normally.
第二次碰到Zabbix server启动失败,上一次是因为SELinux阻挡了,这一次看着国外的帖子,试了几个,瞎猫碰着死耗子,居然解决了。
【情况】:
Zabbix server启动失败,使用systemctl status zabbix-server,查到:One child process died. Exiting
【解决】:
修改 /etc/zabbix/zabbix_server.conf 配置文件,把CahceSize调大。
CacheSize默认是注释了,默认值8M,我改为512M:
CacheSize=512M
保存重启zabbix server,好了。
【走了弯路】:
我开始以为容量单位用“G”也可以,就改为“4G”,结果还是died;
我也同时修改了其他的CacheSize,譬如TrendCacheSize,结果还是died;
最后恢复原状,只修改CacheSize=512M
【问题】:
安装完Zabbix,进入后首页显示警告:Zabbix server is not running: the information displayed may not be current.
【分析】:
使用命令行:systemctl status zabbix-server,看到zabbix-server确实没有在运行,failed状态。
【原因】:
SELinux安全子系统阻挡了。
尝试添加zabbix-server入SELInux的规则内,依然阻止。
【解决】:
临时关闭SELinux:命令行:setenforce 0
我是永久关闭SELinux:修改配置文件需要重启机器:
修改/etc/selinux/config 文件
将SELINUX=enforcing改为SELINUX=disabled
重启系统
【检查】:
1:查看:Web菜单=》报表=》系统信息
发现“Zabbix服务器端运行中”为“否”(localhost:10051)。
2:systemctl start zabbix-server
命令运行完成,并没有出错提示。
3:netstat -tanp4 |grep zabbix
没有发现zabbix_server在运行。
4:cat /var/log/zabbix/zabbix_server.log
发现如下错误提示:
174944:20210805:154840.416 __mem_malloc: skipped 0 asked 48 skip_min 18446744073709551615 skip_max 0
174944:20210805:154840.416 [file:dbconfig.c,line:102] __zbx_mem_malloc(): out of memory (requested 48 bytes)
174944:20210805:154840.416 [file:dbconfig.c,line:102] __zbx_mem_malloc(): please increase CacheSize configuration parameter
174943:20210805:154840.418 One child process died (PID:174944,exitcode/signal:1). Exiting …
【解决】:
5:vim /etc/zabbix/zabbix_server.conf
找到“CacheSize”,默认是注释了,默认值8M,改为512M
6:再次运行zabbix_server,查看netstat、log、系统信息都正常了。