zabbix問題總結


一、zabbix的問題總結

  https://www.cnblogs.com/dbslinux/p/9465803.html

  一、zabbix 內存溢出

  1、內存溢出報錯如下

[file:dbconfig.c,line:94] zbx_mem_realloc(): out of memory (requested 9448 bytes)

  2、解決如下

  打開zabbix_server.conf 找到 Option: CacheSize

  把原來的 # CacheSize=8M 前面的#注釋去掉,將8M修改為1024,這個1024根據服務器性能修改

  /etc/zabbix/zabbix_server.conf

## Option: CacheSize
# Size of configuration cache, in bytes.
# Shared memory size for storing host, item and trigger data.
#
# Mandatory: no
# Range: 128K-8G
# Default:
CacheSize=1024M

   

  http://blog.51cto.com/net881004/2089198

  https://yq.aliyun.com/articles/502852

  二、More than 100 items having missing data for more than 10 minutes

  https://blog.csdn.net/xyz846/article/details/79537508

  優化

  https://yq.aliyun.com/articles/502852

  三、became not supported: Timeout while executing a shell script

  https://www.cnblogs.com/weifeng1463/p/9012663.html

  四、zabbix web的處理數據瓶頸

開發向我反饋,前端業務頁面提交數據用js將要傳輸的數據用json dump后,發給服務器,服務器在loads后發現數據是不全的。
這個問題困擾開發人員和運維人員。首先調整php.ini文件的上傳文件數以及上傳數據的大小限制參數。調整后發現還是不正常。

  調整php的參數:一個php.ini里的參數max_input_vars 

  這個參數默認值為 1000,這個參數的作用就是限制一次提交的表單元素個數不得超過1000,超過的部分不傳過去。

  根據需求和服務器配置更改此參數值,重啟php-fpm。

  五、zabbix的故障總結

   1、zabbix proxy故障

  https://blog.51cto.com/11555417/2044672 

  zabbix proxy出現no active checks on server not found:https://blog.51cto.com/7603402/2307997

  有可能:將主機在zabbix UI上加上就好了(若沒操作此步驟,我使用的自動注冊,配置有問題一直報錯,改好就好了)

  六、交換機

  1、uptime誤報:zabbix的OID值取不對導致的

  

    

 

 

 

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM