一、安装错误

1、zabbix 安装故障之无法跳到下一步或点击下一步没反应

执行命令:chownnginx:nginx /var/lib/php/session/ -R
 

2、proxy上无法采集交换机数据

yum install net-snmp net-snmp-utils
 

3、2.2.4升级到3.0,提示缺少参数HistoryIndexCacheSize

 21076:20160714:115534.776 [file:dbcache.c,line:2610] zbx_mem_realloc(): please increase HistoryIndexCacheSize configuration parameter
解决方法:zabbix_server.conf中配置HistoryIndexCacheSize参数。

4、安装完成后,dashboard提示php错误

解决方式:
chown -R nginx:nginx /var/run/php-fpm
chown -R nginx:nginx /var/lib/php/session 

5、提示The frontend does not match Zabbix Server。Current database version(mandatory/optional)

原因: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

解决办法: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中的主机名一致即可。

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命令即可。

最新文章

  1. C#----我对坐标系的理解和图形转动
  2. 31 GroupSock(AddressString)——live555源码阅读(四)网络
  3. HDU1013Digital Roots
  4. UIKit: UIResponder(转自南峰子博客)
  5. COJ 0024 N皇后问题
  6. Unix/Linux环境C编程新手教程(22) C/C++怎样获取程序的执行时间
  7. ajax系列之用jQuery的ajax方法向服务器发出get和post请求
  8. MathUtils
  9. 解决ssm项目表单数据提交到数据库乱码问题
  10. Linux 帳號管理與 ACL 權限設定
  11. virtualbox+ubuntu
  12. [SSM项目]Eclipse 搭建marven-web项目 hello world!
  13. 深度解剖session运行原理
  14. 基于Spring3 MVC实现基于form表单文件上传
  15. MT【14】最大最小问题变形
  16. Android---------------Handler的学习
  17. docker 1.13.1 启动容器过程中mount报错
  18. set练习
  19. 【转】java并发编程系列之ReadWriteLock读写锁的使用
  20. Unity3D学习笔记——Android远程真机调试(Unity Remote)

热门文章

  1. Activiti 6.0 之SkipExpression
  2. C#:MVC引用Log4Net生成错误日志
  3. TypeScript学习笔记之接口类型
  4. 58、js扩展
  5. 【java】读取资源文件key->value,java.util.ResourceBundle
  6. 关于《Head First Python》一书中print_lol()函数的思考
  7. 人工智能技术实践篇:espeak开发环境调试
  8. sourceTree git 忽略指定文件
  9. EL表达式隐式对象
  10. Java基础--二进制运算