一、安裝錯誤
1、zabbix 安裝故障之無法跳到下一步或點擊下一步沒反應
2、proxy上無法采集交換機數據
3、2.2.4升級到3.0,提示缺少參數HistoryIndexCacheSize
4、安裝完成后,dashboard提示php錯誤

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

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
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
添加如下行:
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
2、no active checks on server
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
命令即可。