十年網(wǎng)站開發(fā)經(jīng)驗 + 多家企業(yè)客戶 + 靠譜的建站團隊
量身定制 + 運營維護+專業(yè)推廣+無憂售后,網(wǎng)站問題一站解決
早上正常查看監(jiān)控之一,cacti不出圖了。昨天斷電了一次。排查:
我們提供的服務有:網(wǎng)站設計、做網(wǎng)站、微信公眾號開發(fā)、網(wǎng)站優(yōu)化、網(wǎng)站認證、武寧ssl等。為成百上千企事業(yè)單位解決了網(wǎng)站和推廣的問題。提供周到的售前咨詢和貼心的售后服務,是有科學管理、有技術的武寧網(wǎng)站制作公司
1、檢查服務正常
2、檢查服務的連接,正常
3、查看日志,報錯145.
日志報錯如下:
AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'145', SQL:"select poller_output.output, poller_output.time, poller_output.local_data_id, poller_item.rrd_path, poller_item.rrd_name, poller_item.rrd_num from (poller_output,poller_item) where (poller_output.local_data_id=poller_item.local_data_id and poller_output.rrd_name=poller_item.rrd_name) LIMIT 10000"

MySQL查看,采集器緩存停止了工作。
mysql> select count(*) from poller_output; +----------+ | count(*) | +----------+ | 0 | +----------+ 1 row in set (0.00 sec) mysql>
解決方式:
1、重建采集器緩存(比較方便)

2、數(shù)據(jù)庫清理(清空poller_output表)
truncate table poller_output;
恢復正常:

因為一年多僅僅出現(xiàn)一次問題,這里就不調參數(shù)優(yōu)化了。