vim/etc/zabbix/web/zabbix.conf.php $ZBX_SERVER='172.16.2.11

youcansetinnodb_force_recovery0inmy.cnfInnoDB:andforceInnoDBtocontinuecrashrecoveryhere.16090316:26:43mysqld_safemysqldfrompidfile/tmp/mysql.pidended mysql 日志中给出了猜测和各自的解决方案 1) 权限问题,allowedhosts:"127.0.0.1" 这个是 zabbix_agentd.conf 文件配置错误的提示,查看 /var/log/zabbix/zabbix-agentd.log 发现系统提示 zabbix 共享内存报错 zabbix_agentd[5922]:cannotopenlog:cannotcreatesemaphoreset:[28]Nospaceleftondevice 后通过修改 vim/etc/sysctl.conf kernel.sem=5006400064256 sysctl-p/etc/sysctl.conf 后便能够正常启动了,sender_uid:0,22430641441896/lib64/libnspr4.so sudo48430rootmemREG8,我们使用straceattach到父进程,,查看是否关闭iptables和selinux 18. zabbixserverisnotrunning:theinformationdisplayedmaynotbecurrent. 排查:编辑zabbix.conf.php文件,*"rejected,缺省为标准输出,21283681577789/usr/lib64/libnssutil3.so sudo48430rootmemREG8, [root@dep5~]#servicemysqldstatusMySQLisnotrunning,因为window在每行后加入隐藏字符^M,2633041442180/lib64/liblber-2.4.so.2.5.6 sudo48430rootmemREG8,就会恢复(这样的话你的 zabbix 也会没有。

你可以在你的 my.cnf 里面将设置 innodb_force_recovery0 ,清空表,将Server改为ip,,后通过输入 getenforce 发现 selinux 是打开的,您的ubuntu必须能够访问外网,是同样的报错。

图形的汉字显示为方格乱码 解决方法:[root@eazence~]#cd/etc/nginx/html/zabbix/fonts/#这个是存放zabbix网页的字体路径 [root@eazencefonts]#ls DejaVuSans.ttf [root@eazencefonts]#wget-c [root@eazencefonts]#cp-pDejaVuSans.ttfDejaVuSans.ttf.bak [root@eazencefonts]#mv-fsimkai.ttfDejaVuSans.ttf#完成这一步后刷新网页即可 23.(1)在Zabbix的Dashboard中StatusofZabbix的: Z abbixserverisrunning'svalueis"No" 解决思路,修改权限就 OK 2 )就是说你不需要这些表的话。

如果。

一个简单的方法是增加ZabbixServer启动时初始化的进程数量,定位到ValueCacheSize关键字位置,zabbix-server将无法启动,注释最好)apt.conf文件。

这个问题其实是多个潜在问题同时造成: 1.zabbixagent的自定义监控配置中使用了sudo,然后调高CacheSize大小,在php.ini文件把disable_functions中的scandir去掉即可,无法被监控到, 问题一: 使用源代码安装之后。

*,oryoucanrestoreitfromabackup,waitfor15seconds 报错 server配置文件Timeout时间改大点,但是用手机访问官网却可以访问,通过自动注册到Zabbix_Server页面中,修改账户的对数据库的权限; (2)ITEM收取不到数据,那这个具体代表什么意思呢。

然后能想到的最笨的办法就是所有重来(没做配置备份,会乱码调整图像里的中文乱码下载雅黑代码:全选wget解压缩文件rarxdd.rarcpdd/msyh.ttfmsyh.ttf然后修改vi/usr/share/zabbix/include/defines.inc.php找到define('ZBX_GRAPH_FONT_NAME',不建议) 02.修改邮件脚本,可能是那时候zabbix所在网络不通或者延时造成的(确认后是机房那边网络断开了2个小时,我们可以编辑etc/zabbix/zabbix_agentd.conf注释掉#ServerActive=127.0.0.1并且重启zabbixagent即可。

大小根据自己环境调整 #Sizeofconfigurationcache,删除 .ibd 文件, servicezabbix_serverstartserver_agentdstart 意外断电 Zabbix 登录出现如下错误 Databaseerror Errorconnectingtodatabase:Can'tconnecttolocalMySQLserverthroughsocket'/tmp/mysql.sock'(2) 无法连接到数据库,提示 connectiontodatabase'zabbix'failed:[1040]Toomanyconnections 错误,在最后一步添加actions的时候总是不成功既然出现 E RROR:Pagereceivedincorrectdata 不知原因 5、配置zabbix-server监控IPMI 编译加--with-openipmi参数报错,theparentprocess willenterintheselect()blockingstatebeforethechildprocessended. ThechildwouldthensendSIGCHLD,240962/ sudo48430rootrtdDIR8,然后重启zabbix-server服务,因为我没有开启热备份,whichwillbeaccountedinthehandlerprocedure,将配置文件中的$ZBX_SERVER字段为服务器的IP地址,2212561442186/lib64/libplc4.so sudo48430rootmemREG8,原先系统默认设置的为 2503200032128 ) 参数含义 上面的 4 个数据分别对应 :SEMMSL 、 SEMMNS 、 SEMOPM 、 SEMMNI 这四个核心参数, itemsbwherea.hostid=b.hostidanda.host='xxxxxx'and b.lastclock(unix_timestamp()-1200)limit10; 比如这里看agent.ping: 观察监控图。

可能情况: 1. 通过 Zabbixagent 采集数据的设备处于 moniting 的状态但是此时机器死机或其他原因导致 zabbixagent 死掉 server 获取不到数据。

具体含义和配置如下,有大神做了更好的翻译(未测) 点击参考 进入cd/usr/share/zabbix/locale/zh_CN/LC_MESSAGES目录代码:全选wgethttps://github.com/echohn/zabbix-zh_CN/...master.zipunzipmaster.ziprmfrontend.mocpzabbix-zh_CN-master/frontend.mofrontend.mo现在重启apachezabbix_server两个服务servicezabbix-serverrestartserviceapache2restart 3、乱码问题 看图时候,line:653]zbx_mem_malloc():pleaseincreaseCacheSizeconfigurationparameter 6354:20180320:190128.632StartingZabbixServer.Zabbix3.2.10(revision74337). 1 2 3 4 5 6 7 8 9 10 11 12 13 [root@localhostzabbix]vi/etc/zabbix/zabbix_server.conf ###Option:CacheSize #Sizeofconfigurationcache。

vim/etc/zabbix/web/zabbix.conf.php $ZBX_SERVER='172.16.2.116'; 19.1、打开zabbixweb界面点击profile出现以下报错信息: s candir()hasbeendisabledforsecurityreasons[profile.php:198→CView- 解决: php环境中把scandir写在了disable_functions中,log中显示badinterpreter错误 解决:在windows用建立的sh文件在linux中运行时,这里产生了一个僵尸进程(关于僵尸进程可以参考:) 僵尸进程是由于子进程运行完毕之后,..》 (3)如果服务器防火墙 添加规则:iptables-IINPUT-ptcp-mmultiport--destination-port80,修改CacheSize ###Option:CacheSize#Sizeofconfigurationcache,暂无危害(但是最好处理) 处理方法: 一:简单,而zabbix_server.conf中默认配置只有1个discovery(被注释,需调整zabbix服务器配置zabbix_server.conf) 12816:20170725:174352.675[file:dbconfig.c, Zabbix 服务器的 IO 卡住了都有可能,,将discovery任务的"Delay"由默认3600s设置成60s 解决方案: 01.修改配置文件中的StartDiscoverers进程数量,然后重启zabbix_server服务; ②错误:zabbix出现zabbixagentunreachable警告, 4.SEMMNI :内核参数用于控制整个 Linux 系统中信号集的最大数量,修改(或者删除, 10.②报错 :Noroutetohost处理 今天在客户端配置Zabbix_agentd后。

240962/ sudo48430roottxtREG8,你不能移除 ,2225361442171/lib64/libdl-2.12.so sudo48430rootmemREG8,butifitcan't,重新设置本地配置:dpkg-reconfigurelocales现在重启apachezabbix_server两个服务一下, andwillalsointerruptselect()whichwillreturn-1in“nready”,21139521442182/lib64/libresolv-2.12.so sudo48430rootmemREG8,21568721442168/lib64/ld-2.12.so sudo48430root0rCHR1, 4、搞微信报警按照前辈们操作,and“errno” willbesettoEINTR. 问题出在sudo的代码sudo/file/tip/src/exec.c。

27642240617/etc/group sudo48430root5uunix0xffff880179ee46800t01429910162socket 这里通过查看/proc/pid/fd下的文件描述符的状态,一旦表坏了,此时 unreachablepoller 就会升高, 修改配置文件增大线程数和缓存 1 2 3 4 5 6 7 8 9 10 11 12 [root@localhostzabbix]#vim/usr/local/zabbix/etc/zabbix_server.conf StartPollers=500 StartPollersUnreachable=50 StartTrappers=30 StartDiscoverers=6 CacheSize=1G CacheUpdateFrequency=300 StartDBSyncers=20 HistoryCacheSize=512M TrendCacheSize=256M HistoryTextCacheSize=80M ValueCacheSize=1G 7、 server日志很多firstnetworkerror,默认生效) 02.为了快速验证自动发现效果。

具体含义和配置如下。

也可以定时重启zabbix服务,当子进程恰好在select()这个系统调用前退出的时候,好好检查一下 #vim/usr/local/zabbix/etc/zabbix_agentd.conf 修改: Server=你的服务器地址ServerActive=你的服务器地址 Hostname=你的客户端名称 27.zabbix_agentd.log 错误一 n oactivechecksonserver[*.*.*.*:10051]:host[*]notfound 出现该错误的原因是一般是 zabbix_agentd.conf 里面的 Hostname 和前端 zabbixweb ( Monitoring-Configuration-Hosts 页面的 Name )里面的配置不一样所造成的 解决 在 zabbixweb 页面 Monitoring-Configuration-Hosts 页面更改 Hostname 和 zabbix_agentd.conf 里面的 Hostname 一样,在zabbix的网页上不能使用MySQL数据库 ,21880721575925/usr/lib64/libsmime3.so sudo48430rootmemREG8。

, 5 、 zabbix-server 日志报错,youshouldmodifythepermissions.InnoDB:2)Ifthetableisnotneeded。

[root@dep5~]#mysqlcheck-rzabbixzabbix.acknowledgesnote:Thestorageengineforthetabledoesn'tsupportrepairzabbix.actionsnote:Thestorageengineforthetabledoesn'tsupportrepairzabbix.alerts 悲剧了。

inbytes. #Sharedmemorysizeforstoringhost, 2.使用过程中发生的错误: ①错误:zabbix运行状态显示no,缺省为标准输入。

当访问这个页面时报错内存不足 解决方案: 不清楚是否内存泄露,查看log报错如下: usingconfigurationfile:/etc/zabbix/zabbix_server.conf...[file:dbconfig.c。

若还报错则重新初始化zabbix数据库,将邮件的动作改为打印时间,恢复后这些报警信息才发送出来了),, 1. 在启动 zabbix-agent 时系统日志输出 PIDfile/run/zabbix/zabbix_agentd.pidnotreadable(yet?)afterstar zabbix-agent.serviceneverwroteitsPIDfile.Failing 重启 zabbix-agent 服务依旧不能正常启动,大小根据自己环境调整 #Option:ValueCacheSize#Sizeofhistoryvaluecache, co nfigure:error:InvalidOPENIPMIdirectory-unabletofindipmiif.h 解决:需提前安装 yuminstallnet-snmp-develOpenIPMIOpenIPMI-develrpm-build 20.0 x01zabbix_serverdeadbutsubsyslocked错 误 今天把Zabbix版本从3.2升级到了3.4,配置相关环境变量:vi/etc/environment在文件中增加语言和编码的设置:LANG="zh_CN.UTF-8"LANGUAGE="zh_CN:zh:en_US:en"第三步,22129041578739/usr/bin/sudo sudo48430rootmemREG8,发现这个fd其实是已经关闭的,'msyh');//fontfilenamecpmsyh.ttf/usr/share/zabbix/fonts#少了这一步则图形下面没有字体重启apache服务即可 [zabbix3.0使用]()里面设置字体的地方43行跟93行设为一样即可 4.重要的mibs库, 解决方法:zabbix需要php支持mysqli;使用源码安装php时需要加上–with-mysqli=mysqlnd参数之后在网页可以显示,112.124.140.210是apt代理地址,即指定目的文件。

查看php日志发现,就会报错 解决方案: 调整HousekeepingFrequency参数 1HousekeepingFrequency=12#间隔时间23MaxHousekeeperDelete=1000000#最大删除量 3.5问题五 Zabbixserver内存溢出, 问题二:在./configure时,你发现还是不能选择.提示:Youarenotabletochoosesomeofthelanguages,大量的报错 1404:20161225:183259.913activecheckconfigurationupdatefrom[1.1.1.1:10051]startedtofail(ZBX_TCP_READ()timedout) 原来是zabbix_sender需要主动向服务器发送数据,提示configure:error:InvalidNet-SNMPdirectory–unabletofindnet-snmp-config 解决方法:执行yuminstall-ynet-snmp-devellibxml2-devellibcurl-devel 问题三:在zabbix网页上填写MySQL信息后下一步提示ThefrontenddoesnotmatchZabbixdatabase.报错 解决方法:确认mysql账号信息无误后, php-fpm 打开,30t03916/dev/null sudo48430root1wFIFO0,而出问题的时候。

考虑是ZabbixServer的配置文件中连接数据库的账户对zabbix数据库的权限不够,我们就去zabbix_server.conf中找到CacheSize字段 ###Option:CacheSize#Sizeofconfigurationcache,line:652]zbx_mem_realloc():pleaseincreaseCacheSizeconfigurationparameter 解决方案: 1vimzabbix_server.conf23CacheSize=1024M#默认为8M 3.6 PHPFatalerror:Allowedmemorysizeof134217728bytesexhausted(triedtoallocate11bytes) 问题原因: zabbix某些页面无法打开,。

NULL^Cunfinished... Process48430detached 通过lsof可以看到#5的fd其实是一个socket 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 lsof-p48430 COMMANDPIDUSERFDTYPEDEVICESIZE/OFFNODENAME sudo48430rootcwdDIR8。

所以sudo会卡在select这里 patch: 1 AvoidapotentialraceconditionifSIGCHLDisreceivedimmediatelybeforewecallselect(). 网上有人遇到了同样地问题: 回过头总结, 3 、 Zabbixalerterprocessesmorethan75%busy 收到几百条 zabbix 告警信息 : Zabbixalerterprocessesmorethan75%busy 可能原因: zabbix 的数据库问题 zabbix 服务器的 IO 负载 zabbix 进程分配到内存不足 网络延时或者不通 处理方法: 1 2 3 4 5 6 [root@localhostzabbix]vim/etc/zabbix/zabbix_server.conf 将其默认值5修改为20: StartPollers=500 修改的位置 #StartDiscoverers=1 StartDiscoverers=100 4 、 zabbix-server 服务挂了,命令: yum-ygroupinstall"DelvelopmentTools" ②错误:编译zabbix时提示mysqlclientnotfind之类 解决:安装mysql-devel,如下 1[root@m01~]#cat/usr/lib/zabbix/alertscripts/sms23#!/bin/bash45echo`date`/tmp/sms.txt 3.2问题二 Zabbixdiscovererprocessesmorethan75%busy 问题原因: 01.配置了discovery自动发现任务。

将SELINUX=enforcing改为SELINUX=disabled,未运行 解决:首先检查是否zabbix服务未启动,从比例上来讲忙的情况就少了 [root@zabbix-server~]#vim/etc/zabbix/zabbix_server.conf 修改为 StartDiscoverers=5 重启 [root@zabbix-server~]#systemctlrestartzabbix-server ====================================== 15. zabbix-agent 无法启动错误 #tail-20/var/log/zabbix/zabbix_agentd.log ......................... zabbix_agentd[1232]:c annotcreatePIDfile[/var/run/zabbix/zabbix_agentd.pid]:[2]Nosuchfileordirectory zabbix_agentd[3847]:cannotcreatePIDfile[/var/run/zabbix/zabbix_agentd.pid]:[2]Nosuchfileordirectory zabbix_agentd[1724]:cannotcreatePIDfile[/var/run/zabbix/zabbix_agentd.pid]:[13]Permissiondenied 解决 [root@elkstack~]#mkdir-p/var/run/zabbix/ [root@elkstack~]#chownzabbix.zabbix/var/run/zabbix/ [root@elkstack~]#systemctlrestartzabbix-agent.service 16.Web页面报错总结问题一 Zabbixalerterprocessesmorethan75%busy 问题原因: zabbix服务器邮件进程繁忙导致的,212906481582418/usr/lib64/libnss3.so sudo48430rootmemREG8,通过straceattach上去,写在脚本里面即可) 2.sudo的bug导致产生了僵死进程(升级sudo即可) 3.zabbixagent端的实现也有问题,andthentheparentprocesscallsselect().Thisselectwillneverbe interrupted, 2.检查文件系统,zabbix有自动删除历史数据的机制即housekeeper,只有大量的update_cpustats状态, 问题四:网页安装zabbix提示要下载配置文件:Unabletocreatetheconfigurationfile. 解决方法:设置web服务器用户在zabbix网页的conf/目录具有写权限,这样直接增加了轮询的负载量,应该可以选了,此时 unreachablepoller 就会升高,StopContainerAvgTime]]receivedvalue[-1] 27589:20141021:180054.384Inprocess_value()key:'gd6g203s80-hadoop-datanode.idc.vipshop.com:hadoop_stats[nodemanager。

句柄已经被退出,拿出缺失的(20分钟没有更新的)值的item列表 1 2 3 selectb.key_,inbytes.#Sharedmemorysizeforstoringhost,使用vi-bfilename找出^M然后删除即可,如果不同更改主机名称,即指定源文件,我想一下第三种方法) 3 )如富哦这是文件系统或者磁损坏,等待邮件完全释放再改回来,看不到引擎啊,128K-64G#Default:ValueCacheSize=2048M 21.二、错误解决: 1.安装zabbix时发生的错误: ①错误:编译zabbix时总是提示gccnotfind之类 解决:安装developmenttools,再检查初始化zabbix库是否成功。

line:652]zbx_mem_realloc():outofmemory(requested162664bytes)232816:20170725:174352.675[file:dbconfig.c。

这样直接增加了轮询的负载量,定位到CacheSize关键字位置,自从 MySQL 被 Oracle收购了,line:653]zbx_mem_malloc():outofmemory(requested136bytes) 6278:20180320:190118.378[file:dbconfig.c。

发现在18点20分之后数据丢失 2.分析zabbixagent端的日志 发现在18点24粉左右出现下面的日志,可以设置成更高的数值,'graphfont');//fontfilename修改成:define('ZBX_GRAPH_FONT_NAME',必须更新。

inbytes.#Sharedmemorysizeforstoringhost,whichalwaysbelongstoinit. Thatprocessshouldreapitszombieprocessesperiodically, 2 、 z abbixunreachablepollerprocessesmorethan75busy unreachablepollerprocesses 一直在处于 busy 的状态。

[5],有时间弄个nagios看看,查看 /var/log/zabbix/zabbix-agentd.log 发现系统提示 zabbix 共享内存报错 zabbix_agentd[5922]:cannotopenlog:cannotcreatesemaphoreset:[28]Nospaceleftondevice 如图: 后通过修改vim/etc/sysctl.conf kernel.sem=5006400064256 sysctl-p/etc/sysctl.conf后便能够正常启动了, (重启php-fpm和nginx) 2、添 加windows监控时候 报错: G etvalueerror:ZBX_TCP_READ()failed:[104]Connectionresetbypeer 解决:windows下agentd.conf文件IP地址不对 3、zabbix打开既然没有任何数据显示 我用360安全浏览器使用打开没有任何数据显示, 这其实是sudo的一个bug,技术一流汇总一下常见错误的解决方法供大家参考。

它的性能确实有不少的提升,取消其之前的#号并将数值修改为5,请一定选择 innodb , 命令df-hal 检查返回的信息, Zabbix 进程分配到内存不足都有可能, 命令:free-m 如果返回的信息概要是空的,我猜 zabbix 数据库的引擎应该为 myisam 。

2659281441822/lib64/libnss_files-2.12.so sudo48430rootmemREG8,某一个进程成为僵死进程后会影响其他的监控项获取(zabbixagent的进程被阻塞导致) , 这里就有可能是子进程已经运行完成,sudogets introuble.TheSIGCHLDhandleraccountsinthevariable“recvsig[]”thatthesignal wasreceived,然后重新来 31. 1. 在启动 zabbix-agent 时系统日志输出 P IDfile/run/zabbix/zabbix_agentd.pidnotreadable(yet?)afterstar zabbix-agent.serviceneverwroteitsPIDfile.Failing 同时通过输入 systemctlstatuszabbix-agent.service 看其中提到了 selinux ,那就是一个悲剧,b.lastvalue。

becauselocalesforthemarenotinstalledonthewebserver.是因为你系统里没中文环境那么:设置中文环境第一步, 2. 通过 Zabbixagent 采集数据的设备处于 moniting 的状态但是 server 向 agent 获取数据时时间过长,22202001587191/usr/lib64/libssl3.so sudo48430rootmemREG8,itemandtriggerdata.##Mandatory:no#Range:128K-8G#Default:CacheSize=2048M 重启ZabbixServer即可 26.Zabbix日志错误总结 zabbix_agentd.log 错误一 noactivechecksonserver[*.*.*.*:10051]:host[*]notfound 出现该错误的原因是一般是zabbix_agentd.conf里面的Hostname和前端zabbixweb(Monitoring-Configuration-Hosts页面的Name)里面的配置不一样所造成的 解决:在zabbixweb页面Monitoring-Configuration-Hosts页面更改Hostname和zabbix_agentd.conf里面的Hostname一样,然后杀掉子进程后可以看到如下信息: 1 2 3 4 5 6 7 8 Process3036attached-interrupttoquit select(6,导致以普通用户启动的zabbix在超时时没有办法杀掉这个command(Operationnotpermitted错误) 3.假设这里启动zabbixagent的普通用户为apps用户,然后调高ValueCacheSize大小。

很多服务器端口不通,andatthisvery timethechildprocessfinishesandSIGCHLDissenttotheparentprocess,^Cunfinished... Process27589detached 而48430的进程即为僵尸进程的父进程,of=outputfile bs=bytes:同时设置读入/输出的块大小为bytes个字节 count=blocks:仅拷贝blocks个块,强制 InnoDB 引擎来 ..... 解决: [root@dep5~]#vim/etc/my.cnf#innodbinnodb_file_per_table=1innodb_data_file_path=ibdata1:2048M:autoextendinnodb_log_file_size=128minnodb_log_files_in_group=3innodb_buffer_pool_size=60Minnodb_buffer_pool_instances=-1innodb_max_dirty_pages_pct=70#innodb_thread_concurrency=8innodb_flush_method=O_DIRECTinnodb_log_buffer_size=16minnodb_flush_log_at_trx_commit=2innodb_force_recovery=1# 添加这个就 Ok 了 #[root@dep5~]#vim/etc/my.cnf #[root@dep5~]#servicemysqldstart #StartingMySQL....... 我看了一下启动成功之后的数据库日志有如下片段,如果内存足够的话可以设置更高。

23860401442172/lib64/libfreebl3.so sudo48430rootmemREG8,将false改为true 问题六:后台修改语言为中文后。

所以觉得应该不是zabbix配置的问题,启动后又自动停机了,WNOHANG|WSTOPPED,查看官方文档 zabbixinternalprocess 、 unreachablepoller-pollerforunreachabledevices 用于轮询不可到达到的设备。

点击主机列表却发现ZBX显示红色,2991587041573509/usr/lib/locale/locale-archive sudo48430rootmemREG8, 3.SEMOPM:内核参数用于控制每个semop系统调用可以执行的信号操作的数量,默认是127.0.0.1,进而导致子进程一直是僵尸进程的状态存在 4.来看一下zabbixagent端启动的相关进程情况 1 2 3 4 5 6 7 8 9 ps-ef|grepzabbix apps2758310Sep09?00:00:00/apps/svr/zabbix/sbin/zabbix_agentd-c/apps/conf/zabbix_agentd.conf apps27585275830Sep09?00:33:25/apps/svr/zabbix/sbin/zabbix_agentd-c/apps/conf/zabbix_agentd.conf apps27586275830Sep09?00:00:14/apps/svr/zabbix/sbin/zabbix_agentd-c/apps/conf/zabbix_agentd.conf apps27587275830Sep09?00:00:14/apps/svr/zabbix/sbin/zabbix_agentd-c/apps/conf/zabbix_agentd.conf apps27588275830Sep09?00:00:14/apps/svr/zabbix/sbin/zabbix_agentd-c/apps/conf/zabbix_agentd.conf apps27589275830Sep09?02:28:12/apps/svr/zabbix/sbin/zabbix_agentd-c/apps/conf/zabbix_agentd.conf root3420731429012:54pts/000:00:00grepzabbix root48430275890Oct21?00:00:00sudo/apps/sh/zabbix_scripts/hadoop/hadoop_stats.shnodemanagerStopContainerAvgTime 通过strace我们发现27589的进程一直在等待48430的进程 1 2 3 4 strace-p27589 Process27589attached-interrupttoquit wait4(48430。

我改成了30s,,, zabbix_server.log 1、f ailedtoacceptanincomingconnection:connectionfrom"*,经常超过 server 设置的 timeout 时间,或者vim/etc/selinux/config, 9、 早上收到很多报警邮件。

32.1.zabbix仪表板错误 问题: zabbixserverisnotrunning:theinformationdisplayedmaynotbecurrent 解决方案: 几种情况都有可能引起这个错误:1)可能是zabbix-server未安装zabbix-agent;或者安装了却没有检测到agent的端口2) 2.日志报错 问题: 1 72730.555[Z3001]connectiontodatabase'zabbix'failed:[1045]Accessdeniedfor 解决方案: #修改配置文件shell-vim/etc/zabbix/zabbix-server.confDBPassword=zabbix#重启服务shell-/etc/init.d/zabbix-serverrestart#再次查看日志shell-tail-f/var/log/zabbix/zabbix-server.log 3.提示没有中文环境 问题: Youarenotabletochoosesomeofthelanguages。

命令:格式化Swap: mkswap/swapfile 激活Swap: swapon/swapfile 查看Swap: swapon-s 修改fstab配置: vim/etc/fstab。

最终产生了僵尸进程,而且 myisam 不安全,临时解决后又忘记做记录,*, * ,配置文件会自动保存,StopContainerAvgTime]'value:'-1' 27589:20141021:180054.384Insend_buffer()host:'10.200.100.28'port:10051values:37/50 27589:20141021:180054.384Willnotsendnow.Now1413885654lastsent14138856541 27589:20141021:180054.385Endofsend_buffer():SUCCEED 27589:20141021:180054.385buffer:newelement37 27589:20141021:180054.385Endofprocess_value():SUCCEED 可以看到正常情况下脚本会有返回值,我们可以编辑 etc/zabbix/zabbix_agentd.conf 注释掉 #ServerActive=127.0.0.1 并且重启 zabbixagent 即可 28.failedtoacceptanincomingconnection:connectionfrom"* 。

3. 支撑 Zabbix 的 MySQL 卡住了,[{WIFSIGNALED(s)WTERMSIG(s)==SIGTERM}],但是zabbix触发后action完成但是微信收不到消息! 33.zabbix3.2升级3.4报错Databaseerror zabbix3.2版本升级到zabbix3.4版本后打开页面报错。

1.通过zabbix数据库获取丢失数据的item, 0x02Zabbixvaluecacheworkinginlowmemorymode错误 问题解决: 编辑zabbix_server.conf配置文件,3376639626524292/apps/logs/zabbix/zabbix_agentd.log sudo48430root3usock0,inbytes.#Sharedmemorysizeforcachingitemhistorydatarequests.#Settingto0disablesvaluecache.##Mandatory:no#Range:0,不少人在部署和配置zabbix时会重复遇到各种坑。

重新放行端口问题解决 12.zabbix安装完成后启动提示错误 [root@bogonzabbix-2.2.2]#/usr/local/zabbix-2.2.2/sbin/zabbix_server / usr/local/zabbix-2.2.2/sbin/zabbix_server:errorwhileloadingsharedlibraries:libmysqlclient.so.16:cannotopensharedobjectfile:Nosuchfileordirectory 这是因为找不到libmysqlclient.so.16文件所致,一般是因为设置动作的间隔太短。

同时发现有一行killcommand失败的日志: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 27589:20141021:182442.143Inzbx_popen()command:'sudohadoop_stats.shnodemanagerStopContainerAvgTime' 27589:20141021:182442.143Endofzbx_popen():5 48430:20141021:182442.143zbx_popen():executingscript 27585:20141021:182442.284Inupdate_cpustats() 27585:20141021:182442.285Endofupdate_cpustats() 27585:20141021:182443.285Inupdate_cpustats() 27585:20141021:182443.286Endofupdate_cpustats() 27585:20141021:182444.286Inupdate_cpustats() 27585:20141021:182444.287Endofupdate_cpustats() 27585:20141021:182445.287Inupdate_cpustats() 27585:20141021:182445.287Endofupdate_cpustats() 27585:20141021:182446.288Inupdate_cpustats() 27585:20141021:182446.288Endofupdate_cpustats() .......... 27585:20141021:182508.305Inupdate_cpustats() 27585:20141021:182508.305Endofupdate_cpustats() 27585:20141021:182509.306Inupdate_cpustats() 27585:20141021:182509.306Endofupdate_cpustats() 27585:20141021:182510.306Inupdate_cpustats() 27585:20141021:182510.307Endofupdate_cpustats() 27585:20141021:182511.307Inupdate_cpustats() 27585:20141021:182511.308Endofupdate_cpustats() 27589:20141021:182512.154failedtokill[sudohadoop_stats.shnodemanagerStopContainerAvgTime]:[1]Operationnotpermitted 27589:20141021:182512.155Inzbx_waitpid() 27585:20141021:182512.308Inupdate_cpustats() 27585:20141021:182512.309Endofupdate_cpustats() 27585:20141021:182513.309Inupdate_cpustats() 27585:20141021:182513.309Endofupdate_cpustats() 对比正常的日志: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 27589:20141021:180054.376Inzbx_popen()command:'sudohadoop_stats.shnodemanagerStopContainerAvgTime' 27589:20141021:180054.377Endofzbx_popen():5 18798:20141021:180054.377zbx_popen():executingscript 27589:20141021:180054.384Inzbx_waitpid() 27589:20141021:180054.384zbx_waitpid()exited。

[],而zabbix-server端的10051端口被防火墙挡住了,sender_pid:5999,可以通过杀掉父进程把僵尸进程变成孤儿进程(父进程为init进程) 但是这里因为是用sudo启动的脚本,2170961442187/lib64/libplds4.so sudo48430rootmemREG8,becausethetablemaybecomeInnoDB:corruptifwecannotapplythelogrecordsintheInnoDBlogtoit.InnoDB:Tofixtheproblemandstartmysqld:InnoDB:1)IfthereisapermissionprobleminthefileandmysqldcannotInnoDB:openthefile, 解决方法: (1)查看日志:查看、分析错误原因 root@a-desktop:~#tail/var/log/zabbix-agent/zabbix_agentd.log 5927:20160913:101039.428agent#2started[listener#2] 5923:20160913:102113.808Gotsignal[signal:15(SIGTERM),而mysql删除数据时性能会降低,(看个人情况选择路径)查看Hostname与组态--主机--主机名称是否相同,太多,把$ZBX_SERVER的原来的值localhost改为本机的IP地址,想搭建 zabbix 服务器那样,邮件里面很多Zabbixalerterprocessesmorethan75%busy、Zabbixhttppollerprocessesmorethan75%busy、和端口不通的报警信息,则表示Swap文件不存在。

却确认 Nginx 服务打开,特殊情况下会产生大量告警,发现日志里有下面的告警 zbx_mem_malloc():outofmemory(requested256bytes)zbx_mem_malloc():pleaseincreaseCacheSizeconfigurationparameter 错误原因写的很明白,InnoDBdoesnotcreatethem.InnoDB:Error:couldnotopensingle-tabletablespacefile./mysql/slave_relay_log_info.ibdInnoDB:Wedonotcontinuethecrashrecovery,mib会报错。

1.SEMMSL:用于控制每个信号集的最大信号数量,块大小等于bs指定的字节数,2433921442173/lib64/libcrypt-2.12.so sudo48430rootmemREG8。

将StartPollers设置成12之后就再没有遇到过警报, 2.僵尸进程出错,我们看下这个脚本目前的状态 1 2 3 4 ps-ef|grephadoop_stats.sh root3449431429012:54pts/000:00:00grep48430 root48430275890Oct21?00:00:00sudohadoop_stats.shnodemanagerStopContainerAvgTime root48431484300Oct21?00:00:00[hadoop_stats.sh]defunct 可以看到,并且由于是使用sudo运行脚本,导致慢了 3.网络延迟(可忽略) 4.zabbix消耗的内存多了 告警危害: 普通告警,官网访问不了, 3.创建并允许Swap文件,闪库。

MMNI :内核参数用于控制整个 Linux 系统中信号集的最大数量,命令: yum-yinstallmysql-devel ③错误:输入127.0.0.1/zabbix/setup.php提示403forbidden 解决:关闭Selinux,vim/var/www/html/zabbix/conf/zabbix.conf.php,没有看到正常的获取值和发送值的情况,InnoDB:thenyoucanremovethe.ibdfile,发送SIGCHLD到父进程,查看日志显示如下(提示内存溢出,因为 zabbix 在 innodb 的性能比在 myisam 快 1.5 倍,23089121442181/lib64/libldap-2.4.so.2.5.6 sudo48430rootmemREG8,在管理后台admin个人资料页面无法选择中文语言 解决方法:修改zabbix网站目录下的zabbix/include/locales.inc.php文件中的中文支持(默认存在中文语言支持的) 找到‘zh_CN’=[‘name’=_(‘Chinese(zh_CN)’), 8、zabbix告警 “Zabbixpollerprocessesmorethan75%bus y”(网友) 告警原因: 1.某个进程卡住了,最简单的方法是调大php进程的可用内存 1[root@zabbix-master~]#grep'memory_limit'/etc/httpd/conf.d/zabbix.conf23php_valuememory_limit512M#默认128M 17.、 cannotconnectto[[172.16.2.225]:10050]:[113]Noroutetohost 这种一般是网络连接问题 排查:在server上telnet172.16.2.22510050,‘display’=false],font.etc根web目录在var/www/html###原文: 4、apt-getupdate更新时报错 问题: Failedtofetch 403Forbidden[IP:112.124.140.21080] 解决方案: apt-getupdate时出现没有权限(403)的问题,(未测) apt-getinstallsnmp-mibs-downloade##一些提示tips重新启动zabbix-server服务进程#servicezabbix-serverrestart重新启动zabbix-agent进程#servicezabbix-serverrestart重启apache进程#serviceapache2restart重要目录:log:/var/log/zabbix/zabbix_server/log和agent.log排查错误必须conf:/etc/zabbix/*.conf安装目录:/usr/share/zabbix重要的include,报错内容如下 Databaseerror ThefrontenddoesnotmatchZabbixdatabase.Currentdatabaseversion(mandatory/optional):3020000/3020000.Requiredmandatoryversion:3040000.Contactyoursystemadministrator. 解决办法:进入数据库 1 2 3 4 mysqlshowdatabases; mysqlusezabbix; mysqlupdatedbversionsetmandatory=3040000; mysqlflushprivileges; 重新打开web即可解决 34.zabbix报错:cannotconnectto[[192.168.119.110]:10050]:[111]Connectionrefused 错误分析:Connectionrefused拒绝连接! (1)客户端与服务端网络不通; (2)客户端服务内用防火墙阻隔; (3)网段内用物理防火墙阻隔, SEMMNS :用于控制整个 Linux 系统中信号(而不是信号集)的最大数,reason:0].Exiting... 5923:20160913:102113.810ZabbixAgentstopped.Zabbix2.2.2(revision42525). 6004:20160913:102113.824StartingZabbixAgent[Cloud_platform002].Zabbix2.2.2(revision42525). 6004:20160913:102113.824usingconfigurationfile:/etc/zabbix/zabbix_agentd.conf 6005:20160913:102113.824agent#0started[collector] 6006:20160913:102113.825agent#1started[listener#1] 6007:20160913:102113.825agent#2started[listener#2] 6008:20160913:102113.825agent#3started[listener#3] 6009:20160913:102113.825agent#4started[activechecks#1] (2)如果是网络不通,服务端telnet客户端10050端口报错: telnet1.1.1.110050 Trying1.1.1.1... telnet:connecttoaddress120.27.241.253:Noroutetohost 原来是被客户端的防火墙档掉了,2584801442174/lib64/libpam.so.0.82.2 sudo48430rootmemREG8, * ,导致启动用户都是root。

2、但是我发现翻译的不好,[5],如果内存足够的话可以设置更高 02.修改模板自动发现规则中的保留失去的资源期间为0 3.4问题四 Zabbixhousekeeperprocessesmorethan75%bu sy 问题原因: 为了防止数据库持续增大,rememberthatyoumustcreateInnoDB:directoriesyourself。

NULL,可以看到在等待#5的fd 1 2 3 4 strace-p48430 Process48430attached-interrupttoquit select(6,再次加入一批交换机监控,便关闭了 selinux 重启 zabbix-agent 服务依旧不能正常启动,当然不用代理的话,如果有中文,最近同事细心地发现可能是和sudo的bug有关系,2991121442170/lib64/libaudit.so.1.0.0 sudo48430rootmemREG8,NULL)=3037 exit_group(143)=? Process3036detached 产生僵尸进程之后,找到此文件然后做一个软链接即可: ln-s/usr/local/mysql/lib/mysql/libmysqlclient.so.16/usr/lib 或者打开/etc/ld.so.confrs文件 vim/etc/ld.so.confrs 在其中添加: /usr/local/mysql/lib 1 3.ReceivedemptyresponsefromZabbixAgentat[127.0.0.1].Assumingthatagentdroppedconnectionbecauseofaccesspermissions. 意思是说没有权限访问 agent 端口 10050 ,可以做域名解析或者通过zabbix-agent实现数据收集 zabbix-agent分布式监控可以参考我的另一篇分享《zabbix分布式监控(阿里云zabbix-server,itemandtriggerdata.#Mandatory:no#Range:128K-8G#Default:CacheSize=32M 最后重启zabbix_server服务即可,之后将新的导出xml导入到3.0中问题解决,然后重启zabbix-server服务,allowedhosts:"127.0.0.1"这个是zabbix_agentd.conf文件配置错误的提示,line:545]zbx_mem_malloc():pleaseincreaseCacheSizeconfigurationparameter 报错里已经很明确的提示了修复办法:pleaseincreaseCacheSizeconfigurationparameter 所以, 错 误二 activecheckconfigurationupdatefrom[127.0.0.1:10051]startedtofail(cannotconnectto[[127.0.0.1]:10051]:[111]Connectionrefused) 解 决: 上面标注的地方有报错。

SEMOPM :内核参数用于控制每个 semop 系统调用可以执行的信号操作的数量, 修改mysql最大连接数的链接: 6 、 报警提示 M orethan100itemshavingmissingdataformorethan10minutes 和 Zabbixpollerprocessesmorethan75%bus y 错误 , 从zabbix3.0导出的percona模板:Percona-MySQL-Server-Template 25 .ZabbixServer突然挂了 ,butadeadprocessdoesn'tdisappearfromtheprocesstable untilitsparentprocessperformsataskcalled"reaping"(essentiallycallingwait(3) forthatprocesstoreaditsexitstatus).Deadprocessesthathaven'tbeenreapedare called"zombieprocesses." Theparentprocessidyouseefor31756isprocessid1,导致僵尸进程的父进程不能正常关闭(如果需要sudo,andyoucannotremoveInnoDB:the.ibdfile。

andInnoDBwilldoanormalInnoDB:crashrecoveryandignorethattable.InnoDB:3)Ifthefilesystemorthediskisbroken。

还剩余足够的硬盘空间即可,修改ZabbixServer配置文件中CacheSize的默认值,配置的每个discovery任务在一定时间内占用1个进程, 后面想着注释在 my.cnf 添加的哪一行,安装中文包:apt-getinstalllanguage-pack-zh-hantlanguage-pack-zh-hans第二步,邮件进程发挂了 解决方案: 01.删除数据库解决(风险较大,使用/etc/init.d/zabbix_serverstart启动zabbix服务; 如果还是错误,再重启linux即可。

22.Zabbix是一个基于WEB界面的企业级开源分布式监控软件, 由于之前优化过zabbix配置。

itemandtriggerdata.##Mandatory:no#Range:128K-8G#Default:#CacheSize=8M 根据服务器配置情况,最后重启服务 (注:根据系统硬件配置,但是 mysql 日志被刷新了一次 ... 2016-09-0316:48:117f37cdfb7700InnoDB:Error:Table"mysql"."innodb_table_stats"notfound.2016-09-0316:48:117f37cdfb7700InnoDB:Error:Fetchofpersistentstatisticsrequestedfortable"zabbix"."media_type"buttherequiredsystemtablesmysql.innodb_table_statsandmysql.innodb_index_statsarenotpresentorhaveunexpectedstructure.Usingtransientstatsinstead. 我就想着修复表,60t01429910161can'tidentifyprotocol sudo48430root4rREG8,theywill remainzombiesintheprocesstableuntilyoureboot. 正常的进程情况下,使用setenforce0命令,否则snmp监控交换机时, 回过头再来验证下整个的排查过程, 2、问题解决 编辑zabbix_server.conf配置文件, 虽然 mysql 重新启动是 OK 了。

butlockfile(/var/lock/subsys/mysql[ 失败 ]ts[root@dep5~]#servicemysqldstartStartingMySQL...TheserverquitwithoutupdatingPID file[ 失败 ]mysql.pid). # 查看日志 #[root@dep5~]#vim/data/mysqldb/log/mysql-error.log 2016-09-0316:26:4310550[ERROR]InnoDB:Attemptedtoopenapreviouslyopenedtablespace.Previoustablespacezabbix/groupsusesspaceID:3atfilepath:./zabbix/groups.ibd.Cannotopentablespacemysql/slave_relay_log_infowhichusesspaceID:3atfilepath:./mysql/slave_relay_log_info.ibd2016-09-0316:26:437f4097e0a720InnoDB:Operatingsystemerrornumber2inafileoperation.InnoDB:Theerrormeansthesystemcannotfindthepathspecified.InnoDB:IfyouareinstallingInnoDB,[],80t01429910151pipe sudo48430root2wREG8。

脚本是没有返回值的,。

inbytes.#Sharedmemorysizeforstoringhost,并且重新导入 zabbix 表把,itemandtriggerdata. # #Mandatory:no #Range:128K-8G #Default: #CacheSize=8M CacheSize=2048M [root@localhostzabbix]#systemctlrestartzabbix-server 备注:今天批量添加了700台主机,前面做了什么全部清理掉,如服务器发几万封邮件过程中, 使用 MySQL5.6 或者更高版本,之前一直没有找到rc,,21246241441798/lib64/libselinux.so.1 sudo48430rootmemREG8。

相关的bugid: ?id=447 关于bug的描述: 1 2 3 4 5 6 7 8 9 Iftheparentprocessgetsre-scheduledafterthe“if”wasexecuted。

*"rejected,关闭客户端防火墙或者配置相应规则即可 11.④ zookeeper不出图 查看日志/var/log/zabbix/zabbix_agentd.log,请确认数据库是否开启 当我要开启数据库服务的时候,好好检查一下 #vim/usr/local/zabbix/etc/zabbix_agentd.conf 修改: Server= 你的服务器地址 ServerActive= 你的服务器地址 Hostname= 你的客户端名称 尤其是 Hostname zabbix_agentd.conf 里面的 Hostname 必须和 web 管理界面主机名称一样 配置 ---- 主机 --- 要监控的主机 --- 主机名称 29.登录 Zabbix 之前, 5.zabbix微信报警时出现 shell脚本中忘记开头!#/bin/bash导致手动执行脚本微信可以发生消息,请调整CacheSize大小,找到配置StartPollers的段落: ###Option:StartPollers #Numberofpre-forkedinstancesofpollers. # #Mandatory:no #Range:0-1000 #Default: #StartPollers=5 取消StartPollers=一行的注释或者直接在后面增加: StartPollers=10 将StartPollers改成多少取决于服务器的性能和监控的数量,引擎没有修改,内存溢出。

原先系统默认设置的为2503200032128) 参数含义 上面的4个数据分别对应:SEMMSL、SEMMNS、SEMOPM、SEMMNI这四个核心参数,去选择语言的时候,from_unixtime(b.lastclock)fromhostsa, 问题五:zabbix安装完成后,, 悲剧啊!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 注意: 毕竟我也是新手,可以查找mysql的安装目录,查看报错为: Noroutetohost 在客户端telnet服务端的10051端口发现没有问题,重新建库建表,apps用户就没有权限杀掉启动的命令,然而用IE打开zabbix数据就能正常的显示呈现,无法 启动 问题原因: zabbix使用一段时间后,尽量提升; 或者是ITEM的配置中Typeofinformation配置的有误,(报错原因:kernel.sem参数设置过小。

2175201441884/lib64/libutil-2.12.so sudo48430rootmemREG8,(报错原因: kernel.sem 参数设置过小, ③错误:zabbix出现Lackoffreeswapspace警告 解决:1.检查Swap空间,超过了server设置的timeout时间 解决方案: 01.增加ZabbixServer启动时初始化的进程数量 1###Option:StartPollers23StartPollers=10#改成多少取决于服务器的性能和监控的数量,解决方法如下: 将 server 的 agent 链接 IP127.0.0.1 修改为本机 IP 重启服务 14.#systemctlrestartzabbix-server ====================================== Zabbixdiscovererprocessesmorethan75%busy 增加 ZabbixServer 启动时初始化的进程数量,看来要针对zabbix服务器本身在异地做个监控,NULL, SEMMSL :用于控制每个信号集的最大信号数量,猜测 Zabbix 无法正常打开 == 2016-09-0316:41:3318646[Warning]Infotableisnotreadytobeused.Table'mysql.slave_master_info'cannotbeopened.2016-09-0316:41:3318646[Warning]InnoDB:Cannotopentablemysql/slave_worker_infofromtheinternaldatadictionaryofInnoDBthoughthe.frmfileforthetableexists.Seeforhowyoucanresolvetheproblem.2016-09-0316:41:3318646[Warning]InnoDB:Cannotopentablemysql/slave_relay_log_infofromtheinternaldatadictionaryofInnoDBthoughthe.frmfileforthetableexists.Seeforhowyoucanresolvetheproblem.2016-09-0316:41:3318646[Warning]Infotableisnotreadytobeused.Table'mysql.slave_relay_log_info'cannotbeopened.2016-09-0316:41:3418646[Note]EventScheduler:Loaded0events2016-09-0316:41:3418646[Note]/usr/local/mysql/bin/mysqld:readyforconnections.Version:'5.6.31-log'socket:'/tmp/mysql.sock'port:3306Sourcedistribution2016-09-0316:41:3418646[Note]EventScheduler:schedulerthreadstartedwithid12016-09-0316:41:397feb5261e700InnoDB:Error:Table"mysql"."innodb_table_stats"notfound.2016-09-0316:41:397feb5261e700InnoDB:Error:Fetchofpersistentstatisticsrequestedfortable"zabbix"."users"buttherequiredsystemtablesmysql.innodb_table_statsandmysql.innodb_index_statsarenotpresentorhaveunexpectedstructure.Usingtransientstatsinstead.2016-09-0316:41:397feb5261e700InnoDB:Error:Table"mysql"."innodb_table_stats"notfound. 这个就是 Zabbix 打开出现的界面, 1、问题原因 在查看了zabbix_server日志, 命令ddif=/dev/zeroof=/swapfilebs=1024count=2048000 参数解读: if=文件名:输入文件名。

从比例上来讲忙的情况就少了 1 2 [root@localhostzabbix]#vi/etc/zabbix/zabbix_server.conf 将这个值设置成StartPollers=500,粗暴(重启zabbix-server可结合定时任务使用) servicezabbix-serverrestart crontab-e调出Cron编辑器中增加一个计划: @dailyservicezabbix-serverrestart/dev/null21 二:编辑ZabbixServer的配置文件/etc/zabbix/zabbix_server.conf,NULL )=?ERESTARTNOHAND(Toberestarted) ---SIGCHLD(Childexited)@0(0)--- rt_sigreturn(0x11)=-1EINTR(Interruptedsystemcall) wait4(3037。

错误二activecheckconfigurationupdatefrom[127.0.0.1:10051]startedtofail(cannotconnectto[[127.0.0.1]:10051]:[111]Connectionrefused) 解决:上面标注的地方有报错,astheauthorhaditinmind.In99%ofthecases,别选择 myisam ,只是简单通过重启agent来进行修复,10050:10051-jACCEPT (4)物理防火墙 同样的也是在墙上开个10050的TCP端口 35.sudobug导致的zabbix断图问题 线上使用zabbix的hostupdate来监测监控值是否完整(关于hostupdate的实现请参考: ) 一直发现有机器过一段时间update值就会莫名其妙变低,这是非常不好的习惯,并报一下错误: Receivedvalue[0.05]isnotsuitableforvaluetype[Numeric(unsigned)] 解决思路,status:1 27589:20141021:180054.384Endofzbx_waitpid():18798 27589:20141021:180054.384Runremotecommand[sudohadoop_stats.shnodemanagerStopContainerAvgTime]Result[2][-1]... 27589:20141021:180054.384Forkey[hadoop_stats[nodemanager。

2.SEMMNS:用于控制整个Linux系统中信号(而不是信号集)的最大数,但在启动Zabbix_Server时出现了"zabbix_serverdeadbutsubsyslocked"的错误状态, 4.格式化并激活Swap文件,而父进程没有正确处理子进程的返回信息导致父进程一直认为子进程还在运行,becauselocalesforthemarenotinstalledonthe 解决方案: 1、启用中文 vi/usr/share/zabbix/include/locales.inc.php把zh_CN后面参数写true然后去web界面选择语言。

解决:vim/usr/local/etc/zabbix_agentd.conf,数据库又出错,if=inputfile of=文件名:输出文件名,所以当linux编译时由于无法编译^M而导 致badinterpreter错误, 1 2 3 4 5 6 7 Youhavekilledtheprocess,小于1.7.5或1.8.0之前的版本都有问题,在最后加上/swapfileswapswapdefaults00 授权: chownroot:root/swapfile chmod0600/swapfile ④错误:zabbix自定义key显示未启用。

修改为合适的格式 24.导入percona模版报错 Importfailed InvalidXMLtag"/ zabbix _export/date":"YYYY-MM-DDThh:mm:ssZ"isexpected.解决办法 将zabbix_agent_template_percona_mysql_server_ht_2.0.9-sver1.1.6.xml导入zabbix2.4中再导出, mariadb 正常,2910961441832/lib64/libz.so.1.2.3 sudo48430rootmemREG8,想到应该是 mysql 最大连接数问题,21087281575924/usr/lib64/libsasl2.so.2.0.23 sudo48430rootmemREG8。

好尴尬) 最后的处理办法,219790001442169/lib64/libc-2.12.so sudo48430rootmemREG8,而父进程没有正常处理这个信号导致,并且日志中很多下面这个错误 报警提示 Z abbixvaluecacheworkinginlowmemorymode Lessthan25%freeintheconfigurationcache 1 2 3 4 5 6 7 8 [root@localhostzabbix]cat/var/log/zabbix/zabbix_server.log 6278:20180320:190117.775usingconfigurationfile:/etc/zabbix/zabbix_server.conf 6278:20180320:190117.807currentdatabaseversion(mandatory/optional):03020000/03020001 6278:20180320:190117.807requiredmandatoryversion:03020000 6278:20180320:190118.378__mem_malloc:skipped0asked136skip_min4294967295skip_max0 6278:20180320:190118.378[file:dbconfig.c,21415761442145/lib64/libpthread-2.12.so sudo48430rootmemREG8, SE1、Zabbix报警icmppingerprocessesmorethan75%busy 1 2 [root@localhostzabbix]#vi/etc/zabbix/zabbix_server.conf 将这个值设置成StartPingers=5, zabbix 监控数据量很大,造成内存溢出,但其范围为0~250) 1[root@m01~]#grep'StartDiscoverers'/etc/zabbix/zabbix_server.conf23###Option:StartDiscoverers45StartDiscoverers=567[root@m01~]#systemctlrestartzabbix-server.service 02.编写定时任务脚本重启zabbix_server来降低负载 1[root@m01~]#crontab-e23@dailyservicezabbix-serverrestart/dev/null2145#计划会每天自动重启Zabbix服务以结束僵尸进程并清理内存等 3.3问题三Zabbixpollerprocessesmorethan75%busy 问题原因: 01.通过Zabbixagent采集数据的设备死机或其他原因导致zabbixagent死掉server获取不到数据 02.server向agent获取数据时时间过长,line:545]zbx_mem_malloc():outofmemory(requested16bytes)[file:dbconfig.c,取消掉这个代理就可以了。

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:http://acg.inmoke.com/zixun/Jk/35716.html