歡迎您光臨本站 註冊首頁

cacti不出圖不生成rrd文件,急。。。。

←手機掃碼閱讀     火星人 @ 2014-03-04 , reply:0

cacti不出圖不生成rrd文件,急。。。。

ENV:
Ubuntu 12.04 Server LTS
cacti v0.8.8a

問題:

不出圖,不生成rrd文件

cacti.log:

06/10/2012 12:37:12 PM - WEATHERMAP: Poller STATS: Weathermap 0.97a run complete - Sun, 10 Jun 12 12:37:12 +0800: 0 maps were run in 0 seconds with 0 warnings.  
06/10/2012 12:37:12 PM - WEATHERMAP: Poller WARNING: No activated maps found.   
06/10/2012 12:37:12 PM - CMDPHP: Poller ERROR: SQL Assoc Failed!, Error:'1146', SQL:"select m.*, g.name as groupname from weathermap_maps m,weathermap_groups g where m.group_id=g.id and active='on' order by sortorder,id"  

06/10/2012 12:37:12 PM - WEATHERMAP: Poller Weathermap 0.97a starting - Normal logging mode. Turn on DEBUG in Cacti for more information  
06/10/2012 12:37:12 PM - SYSTEM THOLD STATS: Time:0.0078 Tholds:0 DownHosts:0  
06/10/2012 12:37:12 PM - SYSTEM STATS: Time:1.0937 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:5 RRDsProcessed:0  
06/10/2012 12:37:12 PM - CMDPHP: Poller WARNING: SNMP Get Timeout for Host:'127.0.0.1', and OID:'.1.3.6.1.2.1.1.3.0'  
06/10/2012 12:33:02 PM - WEATHERMAP: Poller STATS: Weathermap 0.97a run complete - Sun, 10 Jun 12 12:33:02 +0800: 0 maps were run in 0 seconds with 0 warnings.  
06/10/2012 12:33:02 PM - WEATHERMAP: Poller WARNING: No activated maps found.   
06/10/2012 12:33:02 PM - CMDPHP: Poller ERROR: SQL Assoc Failed!, Error:'1146', SQL:"select m.*, g.name as groupname from weathermap_maps m,weathermap_groups g where m.group_id=g.id and active='on' order by sortorder,id"  

06/10/2012 12:33:02 PM - WEATHERMAP: Poller Weathermap 0.97a starting - Normal logging mode. Turn on DEBUG in Cacti for more information  
06/10/2012 12:33:02 PM - SYSTEM THOLD STATS: Time:0.0098 Tholds:0 DownHosts:0  
06/10/2012 12:33:02 PM - SYSTEM STATS: Time:1.0789 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:5 RRDsProcessed:0  
06/10/2012 12:33:02 PM - CMDPHP: Poller WARNING: SNMP Get Timeout for Host:'127.0.0.1', and OID:'.1.3.6.1.2.1.1.3.0'  
06/10/2012 12:29:02 PM - WEATHERMAP: Poller STATS: Weathermap 0.97a run complete - Sun, 10 Jun 12 12:29:02 +0800: 0 maps were run in 0 seconds with 0 warnings.  
06/10/2012 12:29:02 PM - WEATHERMAP: Poller WARNING: No activated maps found.   
06/10/2012 12:29:02 PM - CMDPHP: Poller ERROR: SQL Assoc Failed!, Error:'1146', SQL:"select m.*, g.name as groupname from weathermap_maps m,weathermap_groups g where m.group_id=g.id and active='on' order by sortorder,id"  

06/10/2012 12:29:02 PM - WEATHERMAP: Poller Weathermap 0.97a starting - Normal logging mode. Turn on DEBUG in Cacti for more information  
06/10/2012 12:29:02 PM - SYSTEM THOLD STATS: Time:0.0070 Tholds:0 DownHosts:0  
06/10/2012 12:29:02 PM - SYSTEM STATS: Time:1.0772 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:5 RRDsProcessed:0  
06/10/2012 12:29:02 PM - CMDPHP: Poller WARNING: SNMP Get Timeout for Host:'127.0.0.1', and OID:'.1.3.6.1.2.1.1.3.0'  
06/10/2012 12:25:02 PM - WEATHERMAP: Poller STATS: Weathermap 0.97a run complete - Sun, 10 Jun 12 12:25:02 +0800: 0 maps were run in 0 seconds with 0 warnings.  
06/10/2012 12:25:02 PM - WEATHERMAP: Poller WARNING: No activated maps found.   
06/10/2012 12:25:02 PM - CMDPHP: Poller ERROR: SQL Assoc Failed!, Error:'1146', SQL:"select m.*, g.name as groupname from weathermap_maps m,weathermap_groups g where m.group_id=g.id and active='on' order by sortorder,id"  

06/10/2012 12:25:02 PM - WEATHERMAP: Poller Weathermap 0.97a starting - Normal logging mode. Turn on DEBUG in Cacti for more information  
06/10/2012 12:25:02 PM - SYSTEM THOLD STATS: Time:0.0109 Tholds:0 DownHosts:0  
06/10/2012 12:25:02 PM - SYSTEM STATS: Time:1.3170 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:5 RRDsProcessed:0  
06/10/2012 12:25:02 PM - CMDPHP: Poller WARNING: SNMP Get Timeout for Host:'127.0.0.1', and OID:'.1.3.6.1.2.1.1.3.0'  
06/10/2012 12:21:03 PM - WEATHERMAP: Poller STATS: Weathermap 0.97a run complete - Sun, 10 Jun 12 12:21:03 +0800: 0 maps were run in 0 seconds with 0 warnings.  
06/10/2012 12:21:03 PM - WEATHERMAP: Poller WARNING: No activated maps found.   
06/10/2012 12:21:03 PM - CMDPHP: Poller ERROR: SQL Assoc Failed!, Error:'1146', SQL:"select m.*, g.name as groupname from weathermap_maps m,weathermap_groups g where m.group_id=g.id and active='on' order by sortorder,id"  

06/10/2012 12:21:03 PM - WEATHERMAP: Poller Weathermap 0.97a starting - Normal logging mode. Turn on DEBUG in Cacti for more information  
06/10/2012 12:21:03 PM - SYSTEM THOLD STATS: Time:0.0104 Tholds:0 DownHosts:0  
06/10/2012 12:21:03 PM - SYSTEM STATS: Time:1.1953 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:5 RRDsProcessed:0  



------------------------
《解決方案》

cacti生成不了圖像,這樣處理;根據自己的路徑來設置一下~~~~

/usr/local/php/bin/php -q /web/c/cacti/poller.php --force –debug

還有客戶端的SNMP伺服器是否有問題

[火星人 ] cacti不出圖不生成rrd文件,急。。。。已經有1534次圍觀

http://coctec.com/docs/service/show-post-12750.html