zabbix 安裝錯誤匯總

來源:互聯網
上載者:User

由於公司業務需要,當前zabbixserver的壓力較大,需要安裝一個proxy緩解壓力,開始慢慢琢磨proxy的安裝。這些文檔網上很多,就不在多說了。只把自己遇見的錯誤拿出來共用下

Zabbixproxy是一個監控Proxy 伺服器,它收集監控到的資料,先存放在緩衝區,儲存的時間可以通過設定檔設定,然後再傳送到Zabbixserver;監控代理需要一個單獨的資料庫。

zabbixproxy的好處:
遠程監控
當監控的位置通訊不便時
當監控上千的裝置時

簡化維護分布式監控,降低zabbixserver的負載

error1:zabbix編譯安裝好 在web配置時,php的db support卻沒有mysql,鬱悶了


solve:在編譯安裝php是要加上以及--with-mysqli=/usr/local/mysql/bin/mysql_config

一般在web配置時的錯誤都是php和mysql串連的問題。zabbix是沒有問題的


error2:Unable to connect to the server [192.168.1.193]:10051 [cannot connect to [[192.168.1.193]:10051]: [4] Interrupted system call]

solve:這個就比較明顯了。proxy串連不上server,查看設定檔才發現server ip被更改了,問同事才知道,他把設定檔裡面的server改成了公網的ip,卻沒有重啟服務。介個。。。

還有一個可能是 Hostname和server的web裡面配置的名稱不一樣。這樣一定要注意了無論是proxy和server  還是agent和server  Hostname都要相同的

錯誤提示:sending heartbeat message to server failed: error:"negative response: "failed"", info:"proxy "192.168.8.187_proxy" not found"
 11701:20140331:165755.799 Cannot obtain configuration data from server. info:"proxy "192.168.8.187_proxy" not found"
 11703:20140331:165755.802 sending host availability data to server failed: error:"negative response: "failed"", info:"proxy "192.168.8.187_proxy" not found"


error3:這個錯誤就比較坑了 看圖

 failed to update local proxy configuration copy: database error


solve:查看了眾多文檔之後才發現,網上關於proxy的安裝有個錯誤,在向zabbix匯入資料資訊時,只需要schema.sql一個就夠了,google告訴我的,baidu不知道。。。


當看到proxy和server之間跑資料,那個激動啊



聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.