frontend.base.php on line 137,Zabbix实战-简易教程--排错(持续收集中)

fe4a8dc33aa603a9cad45b08ac51b3d8.png

原因:web前端(配置文件zabbix.conf.php)的数据版本升级到了3.0,但是后端配置(zabbix_server.conf)连接的还是2.0.2版本的数据库

解决方式:后端配置成3.0版本的数据库。

6、error: Failed dependencies:dejavu-sans-fonts is needed by zabbix-web-2.2.3-1.el6.noarch

[root@localhost ~]# rpm -ivh zabbix-web-2.2.3-1.el6.noarch.rpm zabbix-web-mysql-2.2.3-1.el6.noarch.rpm

warning: zabbix-web-2.2.3-1.el6.noarch.rpm: Header V4 DSA/SHA1 Signature, key ID 79ea5ed4: NOKEY

error: Failed dependencies:dejavu-sans-fonts is needed by zabbix-web-2.2.3-1.el6.noarch

解决方法:

[root@localhost ~]# yum -y install dejavu-sans-fonts

二、监控项错误

三、触发器错误

四、Agent端错误

1、zabbix报错first network error, wait for 15 seconds

2、zabbix_server.log出现的提示Sending list of active checks to [192.168.100.12] failed: host [CentOS-35] not found

解决方法:

因为zabbix_agentd.conf配置文件中的Hostname与web中的主机名不一致,需要修改agent中的hostname和web中主机名称一致,注意:这里不是可见名称。

3、agent连接不上,提示Get value from agent failed: cannot connect to [[192.168.30.2]:10050]: [111] Connection refused

4、zabbix_agentd [20529]: cannot create Semaphore: [28] No space left on device

zabbix_agentd [20529]: unable to create mutex for log file

修改/etc/sysctl.conf

添加如下行:

kernel.sem = 500        64000   64      256

修改之后,执行sysctl -p使其生效。

5、安装错误Error Downloading Packages

Error Downloading Packages:

zabbix-agent-1.8.22-1.el6.x86_64: Insufficient space in download directory /var/cache/yum/x86_64/6/epel/packages

* free   0

* needed 131 k

zabbix-1.8.22-1.el6.x86_64: Insufficient space in download directory /var/cache/yum/x86_64/6/epel/packages

* free   0

* needed 93 k

原因:

磁盘空间不足,通过

df -lh命令查看得知磁盘被占满,删除一些日志即可

五、server端错误

主机名命名:字母数字,空格,点,破折号和下划线

1、zabbix 创建map显示 map image update failed

0873fedd57e5cff131d241980998deb6.png

解决办法:chown nginx:nginx /var/lib/php/session

2、no active checks on server

5207:20170912:092904.219 no active checks on server [192.168.1.100:10051]: host [bgp-bjzw-zabbix-server02.seasea.cn] not found

原因:这是因为zabbix_agentd.conf配置文件中的Hostname与web中的主机名一致即可。

facdb6fb8ad8da6e89c1a0e90409f283.png

3、Get value from agent failed: cannot connect to [[192.168.30.2]:10050]: [111] Connection refused

原因:检查防火墙是否已开放10050端口让proxy或server访问的权限。可临时关闭防火墙验证。

4、Get value from agent failed: cannot connect to [[192.168.30.3]:10050]: [113] No route to host

原因:最有可能是目标主机无法ping不可达或机器没开机,也有可能是防火墙没有放通。

故障排除:

a)查看192.168.30.3这台机器是否已开机

b)在zabbix server端向这台机器ping,看网络是否通

c)用telnet 登录10050端口,看该主机是否允许这个端口通讯

d)查看iptables防火墙规则是否拦截10050端口

5、zabbix server is not running: the information displayed may not be current.

故障排除:

a、zabbix server的服务是否正确开启

b、zabbix server的zabbix.conf.php 配置脚本中server ip地址是否正确

c、selinux是否关闭

d、防火墙是否正确放通

6、centos7上启动zabbix服务,提示zabbix-server.service never wrote its PID file. Failing. 的错误

解决办法:selinux问题,在终端执行setenforce 0命令即可。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值