注册 登录  
 加关注
   显示下一条  |  关闭
温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!立即重新绑定新浪微博》  |  关闭

涅槃

文档收藏

 
 
 

日志

 
 
 
 

cacti中偶尔没有图像的问题  

2013-07-04 10:24:40|  分类: 监控_cacti |  标签: |举报 |字号 订阅

  下载LOFTER 我的照片书  |


http://hi.baidu.com/green_lizard/item/35a6110caaf1148aa2df436a

这两天发现在cacti中某些服务器的图像经常在一段时间内断掉、没有图像。
于是查看log,其错误如下所示:

-----------------------------------------------------------------------------

08/24/2011 01:32:09 PM - CACTID: Poller[0] Host[352] DS[1785] WARNING: Result from SNMP not valid. Partial Result: ...
08/24/2011 01:32:09 PM - CACTID: Poller[0] Host[352] DS[1785] WARNING: Result from SNMP not valid. Partial Result: ...
08/24/2011 01:33:15 PM - CACTID: Poller[0] Host[514] DS[2172] WARNING: Result from SNMP not valid. Partial Result: ...
08/24/2011 01:33:15 PM - CACTID: Poller[0] Host[514] DS[2172] WARNING: Result from SNMP not valid. Partial Result: ...
08/24/2011 01:34:57 PM - CACTID: Poller[0] ERROR: Cactid Timed Out While Processing Hosts Internal
08/24/2011 01:34:57 PM - SYSTEM STATS: Time:295.2792 Method:spine Processes:1 Threads:1 Hosts:419 HostsPerProcess:419 DataSources:15
37 RRDsProcessed:640
08/24/2011 01:36:51 PM - CACTID: Poller[0] Host[352] DS[1785] WARNING: Result from SNMP not valid. Partial Result: ...
08/24/2011 01:36:51 PM - CACTID: Poller[0] Host[352] DS[1785] WARNING: Result from SNMP not valid. Partial Result: ...
08/24/2011 01:37:58 PM - CACTID: Poller[0] Host[514] DS[2172] WARNING: Result from SNMP not valid. Partial Result: ...
08/24/2011 01:37:58 PM - CACTID: Poller[0] Host[514] DS[2172] WARNING: Result from SNMP not valid. Partial Result: ...
08/24/2011 01:39:48 PM - CACTID: Poller[0] Host[677] ERROR: Empty result [61.55.142.60]: 'perl /usr/local/apache/htdocs/cacti/script
s/loadavg_multi.pl'
08/24/2011 01:39:48 PM - CACTID: Poller[0] Host[677] DS[2477] WARNING: Result from SCRIPT not valid. Partial Result: ...
08/24/2011 01:39:56 PM - SYSTEM STATS: Time:295.3351 Method:spine Processes:1 Threads:1 Hosts:419 HostsPerProcess:419 DataSources:15
37 RRDsProcessed:677
08/24/2011 01:41:58 PM - CACTID: Poller[0] Host[352] DS[1785] WARNING: Result from SNMP not valid. Partial Result: ...
08/24/2011 01:41:58 PM - CACTID: Poller[0] Host[352] DS[1785] WARNING: Result from SNMP not valid. Partial Result: ...
08/24/2011 01:43:17 PM - CACTID: Poller[0] Host[514] DS[2172] WARNING: Result from SNMP not valid. Partial Result: ...
08/24/2011 01:43:17 PM - CACTID: Poller[0] Host[514] DS[2172] WARNING: Result from SNMP not valid. Partial Result: ...
08/24/2011 01:44:56 PM - CACTID: Poller[0] ERROR: Cactid Timed Out While Processing Hosts Internal
08/24/2011 01:44:57 PM - SYSTEM STATS: Time:295.3875 Method:spine Processes:1 Threads:1 Hosts:419 HostsPerProcess:419 DataSources:15
37 RRDsProcessed:633
08/24/2011 01:46:54 PM - CACTID: Poller[0] Host[352] DS[1785] WARNING: Result from SNMP not valid. Partial Result: ...
08/24/2011 01:46:54 PM - CACTID: Poller[0] Host[352] DS[1785] WARNING: Result from SNMP not valid. Partial Result: ...
08/24/2011 01:48:17 PM - CACTID: Poller[0] Host[514] DS[2172] WARNING: Result from SNMP not valid. Partial Result: ...
08/24/2011 01:48:17 PM - CACTID: Poller[0] Host[514] DS[2172] WARNING: Result from SNMP not valid. Partial Result: ...
08/24/2011 01:49:56 PM - CACTID: Poller[0] ERROR: Cactid Timed Out While Processing Hosts Internal
08/24/2011 01:49:56 PM - SYSTEM STATS: Time:295.4513 Method:spine Processes:1 Threads:1 Hosts:419 HostsPerProcess:419 DataSources:15
37 RRDsProcessed:633
08/24/2011 01:52:06 PM - CACTID: Poller[0] Host[352] DS[1785] WARNING: Result from SNMP not valid. Partial Result: ...
08/24/2011 01:52:06 PM - CACTID: Poller[0] Host[352] DS[1785] WARNING: Result from SNMP not valid. Partial Result: ...
08/24/2011 01:53:29 PM - CACTID: Poller[0] Host[514] DS[2172] WARNING: Result from SNMP not valid. Partial Result: ...
08/24/2011 01:53:29 PM - CACTID: Poller[0] Host[514] DS[2172] WARNING: Result from SNMP not valid. Partial Result: ...
08/24/2011 01:54:57 PM - CACTID: Poller[0] ERROR: Cactid Timed Out While Processing Hosts Internal
08/24/2011 01:54:57 PM - SYSTEM STATS: Time:295.3886 Method:spine Processes:1 Threads:1 Hosts:419 HostsPerProcess:419 DataSources:15

----------------------------------------------------------------------------------------------------------------------------------------------------

出现这个问题的原因是一些有问题的data source导致,比如这些本来就获取不到数据、或者之前的设备比如网卡现在没有了等等,到会导致cacti获取不到需要的数据,就会提示
那个错误。按照里面提示的DS的数值,在http://your_ip/cacti/data_sources.php?action=ds_edit&id=num这个链接的num那里直接输入数字就能知道是哪个ds出问题了,删掉或者更新就ok了

 

我在cacti中的rra目录下,找到了重复的rrd文件,把cacti中图像中存在的rrd保留,删除过期无用的文件就可以解决了。


也有人提示做如下处理:

这个可能的原因很多,一旦cacti监控的机器较多的时候,同时所取的数据量会比较大,看数据库设置的最大连接数是多少,或者进入到cacti的console中的Settings,然后选择
Poller,看其中的选项Maximum Concurrent Poller Processes中是否为1,如果是的话,可把数量设置大一点。

可以参考的网址http://www.chenjunlu.com/2011/05/tips-for-improving-the-performance-of-cacti-server/

 有个哥们考虑的是mysql方面的问题,分析的也挺到位的。

http://hi.baidu.com/chengxcwl1314/blog/item/1c603af93119449f9f514631.html
 

  评论这张
 
阅读(982)| 评论(0)
推荐 转载

历史上的今天

在LOFTER的更多文章

评论

<#--最新日志,群博日志--> <#--推荐日志--> <#--引用记录--> <#--博主推荐--> <#--随机阅读--> <#--首页推荐--> <#--历史上的今天--> <#--被推荐日志--> <#--上一篇,下一篇--> <#-- 热度 --> <#-- 网易新闻广告 --> <#--右边模块结构--> <#--评论模块结构--> <#--引用模块结构--> <#--博主发起的投票-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 

页脚

网易公司版权所有 ©1997-2018