zabbix問題總結

1、zabbix的問題總結

  http://www.javashuo.com/article/p-frevbthu-ks.htmlphp

  1、zabbix 內存溢出

  一、內存溢出報錯以下

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

  二、解決以下

  打開zabbix_server.conf 找到 Option: CacheSizehtml

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

  /etc/zabbix/zabbix_server.conflinux

## 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/2089198web

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

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

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

  優化服務器

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

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

  https://www.cnblogs.com/weifeng1463/p/9012663.htmlphp-fpm

  4、zabbix web的處理數據瓶頸

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

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

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

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

  5、zabbix的故障總結

   一、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上加上就行了(若沒操做此步驟,我使用的自動註冊,配置有問題一直報錯,改好就行了)

  6、交換機

  一、uptime誤報:zabbix的OID值取不對致使的

  

    

相關文章
相關標籤/搜索