灌溉梦想,记录脚步
« »
2014年3月15日技术合集

Cacti和Nagios因目录占满引起的问题

进行系统 “df -lh” 发现根分区100%。伴随cacti无图像,nagios无数据。

检查数据库日志发现很多:
[ERROR] /usr/libexec/mysqld: Table ‘./xxx’ is marked as crashed and should be repaired

检查Cacti日志发现很多,文件增长迅速:
CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:’1017′,

先修复mysql文件:
myisamchk -c -r /var/lib/mysql/cacti/host_snmp_cache.MYI
myisamchk -c -r /var/lib/mysql/nagios/nagios_logentries.MYI

针对cacti日志出现表查询报错进行修复:
mysql> truncate table poller_output;

之后查询Cacti日志发现如下报错:
CMDPHP: Poller[0] ERROR: SQL Cell Failed!, Error:’2006′

进行cacti控制台,点击“Console-System Utilities-Rebuild Poller Cache” 重建缓存。

Cacti和Nagios恢复正常。

日志信息 »

该日志于2014-03-15 21:16由 kevin 发表在技术合集分类下, 你可以发表评论。除了可以将这个日志以保留源地址及作者的情况下引用到你的网站或博客,还可以通过RSS 2.0订阅这个日志的所有评论。

13 条评论

  1. kamagra prix说道:

    acheter kamagra en ligne sans ordonnance

    acheter kamagra médicament livraison

  2. cheap enclomiphene generic online pharmacy

    how to order enclomiphene new york city

  3. order androxal generic alternative

    cheap androxal for sale with no prescription required

  4. flexeril cyclobenzaprine Canada order

    flexeril cyclobenzaprine no prescription usa fedex shipping

  5. dutasteride without a r x

    dutasteride no rx

  6. how to buy gabapentin cheap in canada

    buy gabapentin usa where to buy

  7. online order fildena canada over the counter

    purchase fildena toronto canada

  8. buying itraconazole canada no prescription

    itraconazole without a script

  9. buy cheap staxyn mastercard buy

    buy staxyn purchase from canada

  10. how to buy avodart buy online no prescription

    online order avodart without recipe

  11. cheapest rifaximin online without prescription

    order generic rifaximin

  12. how to order xifaxan purchase uk

    how to order xifaxan price uk

  13. koupit nejlevnější kamagra online

    cena kamagra vs

发表回复