<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Nagios on EvBackup</title>
    <link>https://forzw.com/tags/nagios/</link>
    <description>Recent content in Nagios on EvBackup</description>
    <image>
      <title>EvBackup</title>
      <url>https://forzw.com/%3Clink%20or%20path%20of%20image%20for%20opengraph,%20twitter-cards%3E</url>
      <link>https://forzw.com/%3Clink%20or%20path%20of%20image%20for%20opengraph,%20twitter-cards%3E</link>
    </image>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Sat, 15 Mar 2014 13:16:05 +0000</lastBuildDate>
    <atom:link href="https://forzw.com/tags/nagios/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Cacti和Nagios因目录占满引起的问题</title>
      <link>https://forzw.com/archives/712/</link>
      <pubDate>Sat, 15 Mar 2014 13:16:05 +0000</pubDate>
      <guid>https://forzw.com/archives/712/</guid>
      <description>&lt;p&gt;进行系统 &amp;ldquo;df -lh&amp;rdquo; 发现根分区100%。伴随cacti无图像，nagios无数据。&lt;/p&gt;
&lt;p&gt;检查数据库日志发现很多：&lt;code&gt; \[ERROR\] /usr/libexec/mysqld: Table &#39;./xxx&#39; is marked as crashed and should be repaired&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;检查Cacti日志发现很多，文件增长迅速： &lt;code&gt;CMDPHP: Poller\[0\] ERROR: SQL Assoc Failed!, Error:&#39;1017&#39;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;先修复mysql文件：&lt;code&gt; myisamchk -c -r /var/lib/mysql/cacti/host\_snmp\_cache.MYI myisamchk -c -r /var/lib/mysql/nagios/nagios\_logentries.MYI&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;针对cacti日志出现表查询报错进行修复： &lt;code&gt;mysql&amp;gt; truncate table poller\_output;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;之后查询Cacti日志发现如下报错：&lt;code&gt; CMDPHP: Poller\[0\] ERROR: SQL Cell Failed!, Error:&#39;2006&#39;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;进行cacti控制台，点击“Console-System Utilities-Rebuild Poller Cache” 重建缓存。&lt;/p&gt;
&lt;p&gt;Cacti和Nagios恢复正常。&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
