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值取不对致使的

  

    

相关文章
相关标签/搜索