全部博文(321)
分类: LINUX
2013-07-03 19:47:15
图表一直正常,但突然就不出图,查看cacti日志,如下:
01/17/2010 09:05:13 AM - CMDPHP: Poller[0] Host[53] DS[61] WARNING: Result from SERVER not valid. Partial Result: U
01/17/2010 09:05:13 AM - CMDPHP: Poller[0] Host[52] DS[60] WARNING: Result from SERVER not valid. Partial Result: U
01/17/2010 09:05:13 AM - CMDPHP: Poller[0] Host[50] DS[59] WARNING: Result from SERVER not valid. Partial Result: 01/17/2010 09:05:12
01/17/2010 09:05:12 AM - PHPSVR: Poller[0] Maximum runtime of 300 seconds exceeded for the Script Server. Exiting.
01/17/2010 09:05:01 AM - POLLER: Poller[0] WARNING: Poller Output Table not Empty. Issues Found: 1, Data Sources: (DS[60])
01/17/2010 09:05:01 AM - POLLER: Poller[0] WARNING: There are '1' detected as overrunning a polling process, please investigate
01/17/2010 09:05:00 AM - SYSTEM STATS: Time:298.8232 Method:cmd.php Processes:1 Threads:N/A Hosts:53 HostsPerProcess:53 DataSources:56 RRDsProcessed:51
01/17/2010 09:05:00 AM - POLLER: Poller[0] Maximum runtime of 298 seconds exceeded. Exiting.
解决方案:
解决步骤1:
使用cactiuser用户手动执行poller.php,将错误重定向到一个文件中
#su cactiuser
#/usr/local/bin/php /var/www/html/cacti07/poller.php > ./error.log 2>&1 (查看是否有错误信息)
解决步骤2:
修改cacti setting的poller设置.
settting-->poller:
Maximum Concurrent Poller Processes 把1改成4
Maximum Threads per Process 把1改成2
Number of PHP Script Servers 把1改成6