一、zabbix-proxy監控報錯:Zabbix unreachable poller processes more than75% busy。
原因:
Zabbix-proxy服務器負載增加,導致內存、IO等分配不足
解決方法:
調整參數StartPollers=260(原來是160),重啓proxy
問題2:
調整完參數後,proxy又掛了。查看日誌:
[root@DB_Proxyzabbix]# tail -10 /var/log/zabbix/zabbix_proxy.log
49952:20151202:134331.419 [Z3001] connection todatabase 'zabbix' failed: [1040] Too many connections
49949:20151202:134331.419 [Z3001] connectionto database 'zabbix' failed: [1040] Too many connections
49952:20151202:134331.419 Cannot connect tothe database. Exiting...
49949:20151202:134331.419 Cannot connect tothe database. Exiting...
49968:20151202:134331.419 [Z3001] connectionto database 'zabbix' failed: [1040] Too many connections
49968:20151202:134331.419 Cannot connect tothe database. Exiting...
49401:20151202:134331.420 One child processdied (PID:49952,exitcode/signal:255). Exiting ...
49401:20151202:134333.423 syncing historydata...
49401:20151202:134333.468 syncing history datadone
49401:20151202:134333.468 Zabbix Proxystopped. Zabbix 2.2.2 (revision 42525).
原因:
Mysql數據庫連接數不足
解決方法:
調整my.cnf中max_connection=1000(原來是350),重啓mysql服務,重啓proxy
二、郵件一直報Zabbix agent on {HOST.NAME} is unreachable for 5 minutes。Host不固定。
zabbix_Proxy端主機掛了約300臺,Zabbix proxy出現了嚴重的性能問題,有些數據獲取不到,或者圖形會缺數據。
嘗試了更新proxy服務器配置,原來的proxy機器是R410,內存16G,換成R710,內存32G。還是一直報這個錯誤。
最後百度的解決方案是:
1、修改每一個 item 的監控模式,Item勾選後,下面選擇Mass Update,go進入頁面將type修改爲zabbix agent(active)模式。
2、Proxy配置調整
StartPollers=450;
StartTrappers=200;
3、原來mysql的my.cnf中的innodb buffer pool size配置過多,12G,改爲4G
三、部分數據比如: 磁盤I/O利用率,proxy服務器get可以獲取到,但web頁面no data,不出圖。
zabbix監控頁面,顯示nodata,在proxy linux服務器使用 zabbix get key值可以獲得,比較慢,需要3-4秒時間,但是能獲得結果
原因:
還是內存的問題。
解決方法:
調整proxy參數配置:原來下面兩個參數配置都是1024M
HistoryCacheSize=1536M
CacheSize=1536M