<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Life Style! &#187; cacti</title>
	<atom:link href="http://www.realqi.cn/tag/cacti/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.realqi.cn</link>
	<description>系统管理  维护监控  简单生活</description>
	<lastBuildDate>Wed, 25 Aug 2010 14:41:03 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>linux性能相关指标[监控基础知识一]</title>
		<link>http://www.realqi.cn/2009/10/linux%e6%80%a7%e8%83%bd%e5%86%85%e5%ad%98%e7%9b%b8%e5%85%b3%e6%8c%87%e6%a0%87/</link>
		<comments>http://www.realqi.cn/2009/10/linux%e6%80%a7%e8%83%bd%e5%86%85%e5%ad%98%e7%9b%b8%e5%85%b3%e6%8c%87%e6%a0%87/#comments</comments>
		<pubDate>Thu, 15 Oct 2009 03:24:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[系统管理]]></category>
		<category><![CDATA[运维监控]]></category>
		<category><![CDATA[cacti]]></category>
		<category><![CDATA[monitor]]></category>
		<category><![CDATA[perfermance]]></category>
		<category><![CDATA[system]]></category>

		<guid isPermaLink="false">http://realqi.cn/?p=447</guid>
		<description><![CDATA[本文是监控相关的基础知识系列文章之一,linux性能相关指标[监控一]  此文是经过相关的资料的收集和整理而来.
一、SWAP
    这个指标直接反映了系统内存问题,如果很多的SWAP空间被使用,一般你的系统内存不足

二、Cache
    当系统内存比应用需要的内存多的时候,系统会把数据cache在内存中,减少费时的IO操作

三、Buffer
      当应用程序在做写磁盘操作时,系统会把要写的数据buffer起来,等到一个触发点的时候,再把buffer中的数据刷新到磁盘,减少应用程序等待IO操作的时间.一般你在看一个运行长时间的系统时,会发现它的可用内存很少,但是Cache和Buffer很大,这是正常情况,系统会利用你的所有自由内存来cache数据,当它需要分配内存的时候,会把cache的数据放回到disk
]]></description>
			<content:encoded><![CDATA[<p><strong>一、SWAP<br />
</strong>    这个指标直接反映了系统内存的问题,如果有很多的SWAP空间被使用,一般能说明你系统的内存不足</p>
<p><strong>二、Cache</strong><br />
    当系统内存比应用需要的内存多的时候,系统会把数据cache在内存中,减少费时的IO操作</p>
<p><strong>三、Buffer</strong><br />
      当应用程序在做写磁盘操作时,系统会把要写的数据buffer起来,等到一个触发点的时候,再把buffer中的数据刷新到磁盘,减少应用程序等待IO操作的时间.一般你在看一个运行长时间的系统时,会发现它的可用内存很少,但是Cache和Buffer很大,这是正常情况,系统会利用你的所有自由内存来cache数据,当它需要分配内存的时候,会把cache的数据放回到disk</p>
<p><strong>四、Run Queue Statistics</strong><br />
      在linux中,process有两种状态: runnable，blocked waiting for an event to complete<br />
       一个blocked状态的process可能在等待一个I/O操作获取的数据,或者是一个系统调用的结果，<br />
 如果一个process在runnable状态,这就意味着它将同其他runnable状态的process等待CPU时间,而不是立即获得CPU时间,一个runnable状态的process不需要消耗CPU时间,只有当Linux调度进程从runnable队列中选择哪个process下次执行.<br />
当 process在runnable状态,当时等待CPU时间时,他们形成的等待队列称作Run Queue.<br />
Run Queue越大,表示等待的队列越长.<br />
性能工具通常显示runnable processes的数目和blocked processes的数目.</p>
<p><strong>五、load average</strong><br />
   系统的load是指running和runnable process的总和.<br />
   例如:如果有两个processes在running和有三个在等待运行(runnable),那么系统的load为五.  <br />
   Load average是指在指定时间内load的平均值.一般load average显示的三个数字的时间分别为1分钟,五分钟和十五分钟.</p>
<p><strong>六、Context Switches</strong><br />
    大部分现在的CPU在同一时间只能运行一个process.虽然也有一些CPU,例如超线程技术的CPU,能实现同时运行超过一个process,linux把这种CPU看作多个单线程CPU.</p>
<p>     linux内核不断的在不同process间切换,造成一个错觉,让人感觉一个单CPU同时处理多个任务.不同process之间的切换称作 Context Switch.切换Context会触发大量的信息移动,这是比较高的开销.</p>
<p>      context switches的产生<br />
      首先,kernel调度触发context switches.为了保证每个process平等的共享CPU时间,kernel周期性中断running的process,如果合适,kernel调度器会开始一个其它的process,当前的process停止执行,每次的周期性中断或者定时中断都可能触发context switch.每秒定时中断的次数因不同架构和不同的kernel版本而不同.</p>
<p>    获取每秒中断次数的一个简单办法是通过监控 /proc/interrupts文件</p>
<p><span lang="EN-US"><strong>七、Interrupts</strong> </span><br />
      CPU接收硬件驱动发出的中断请求.</p>
<p>       例如:如果一个磁盘控制器从磁盘上取得了一个数据块，kernel需要读取使用这个块,那么磁盘控制器就会触发一个中断.</p>
<p>      kernel接收每个中断,一个中断如果被处理器运行,那么这个中断被注册,否则,这个中断被忽略.在系统中,中断处理器的优先级非常高,执行速度非常快.</p>
<p>      有些中断处理并不需要很高的处理优先级,所以也有soft- interrupt handler.如果有很多的中断,kernel需要花费大量的时间去处理中断.可以检查/proc/interrupts能够知道中断发生在哪个CPU 上.</p>
<p><strong>八、CPU Utilization</strong><br />
<strong>     </strong><span lang="EN-US">CPU</span>有<span lang="EN-US">7个参数</span><span lang="EN-US"><br />
          1</span>、<span lang="EN-US">idle, </span>表示<span lang="EN-US">CPU</span>闲置并等待工作分配<span lang="EN-US">.</span></p>
<p><span lang="EN-US">          2</span>、<span lang="EN-US">user,</span>表示<span lang="EN-US">CPU</span>在运行用户的进程</p>
<p><span lang="EN-US">          3、system,</span>表示<span lang="EN-US">CPU</span>在执行<span lang="EN-US">kernel</span>工作</p>
<p><span lang="EN-US">          4、nice, </span>表示<span lang="EN-US">CPU</span>花费在被<span lang="EN-US">nice</span>改变过优先级的<span lang="EN-US">process</span>上的时间</p>
<p>  注意<span lang="EN-US">:</span>被<span lang="EN-US">nice</span>命令改变优先级的<span lang="EN-US">process</span>仅指那些<span lang="EN-US">nice</span>值为负的<span lang="EN-US">process.</span>花费在被<span lang="EN-US">nice</span>命令改变优先级的任务上的时间也将被计算在系统和用户时间内<span lang="EN-US">,</span>因此整个时间加起来可能会超过百分之百</p>
<p><span lang="EN-US">          5、iowait,</span>表示<span lang="EN-US">CPU</span>等待<span lang="EN-US">IO</span>操作完成的时间</p>
<p><span lang="EN-US">          6、irq,</span>表示<span lang="EN-US">CPU</span>开销在响应硬中断上的时间</p>
<p><span lang="EN-US">          7、softirq,</span>表示<span lang="EN-US">CPU</span>开销在响应软中断上的时间<span lang="EN-US">.</span><br />
<h3>相关文章</h3>
<ul class="related_post">
<li>2009年09月24日 -- <a href="http://www.realqi.cn/2009/09/show-a-cacti-monitor-mysql-graphp/" title="show a cacti-monitor-mysql graph">show a cacti-monitor-mysql graph (1)</a></li>
<li>2009年09月22日 -- <a href="http://www.realqi.cn/2009/09/%e5%88%86%e4%ba%ab%e4%b8%80%e4%b8%aacacti%e7%9b%91%e6%8e%a7cpu-%e7%9a%84%e6%a8%a1%e7%89%88/" title="分享一个cacti监控CPU 的模版.">分享一个cacti监控CPU 的模版. (0)</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.realqi.cn/2009/10/linux%e6%80%a7%e8%83%bd%e5%86%85%e5%ad%98%e7%9b%b8%e5%85%b3%e6%8c%87%e6%a0%87/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>show a cacti-monitor-mysql graph</title>
		<link>http://www.realqi.cn/2009/09/show-a-cacti-monitor-mysql-graphp/</link>
		<comments>http://www.realqi.cn/2009/09/show-a-cacti-monitor-mysql-graphp/#comments</comments>
		<pubDate>Thu, 24 Sep 2009 03:25:44 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[技术实践]]></category>
		<category><![CDATA[cacti]]></category>
		<category><![CDATA[monitor]]></category>
		<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://realqi.cn/?p=366</guid>
		<description><![CDATA[展示一个自己写的,cacti监控mysql的效果图]]></description>
			<content:encoded><![CDATA[<p> <a href="http://farm3.static.flickr.com/2551/3949723510_5bdea637bd_b.jpg">http://farm3.static.flickr.com/2551/3949723510_5bdea637bd_b.jpg</a></p>
<p><strong><img class="alignnone size-full wp-image-369" title="mysql" src="http://realqi.cn/wp-content/uploads/2009/09/mysql.jpg" alt="mysql" width="651" height="2094" /></strong><br />
<h3>相关文章</h3>
<ul class="related_post">
<li>2009年10月15日 -- <a href="http://www.realqi.cn/2009/10/linux%e6%80%a7%e8%83%bd%e5%86%85%e5%ad%98%e7%9b%b8%e5%85%b3%e6%8c%87%e6%a0%87/" title="linux性能相关指标[监控基础知识一]">linux性能相关指标[监控基础知识一] (0)</a></li>
<li>2009年10月14日 -- <a href="http://www.realqi.cn/2009/10/mysql-%e7%8b%ac%e7%89%b9%e7%9a%84%e7%94%a8%e6%88%b7%e6%9c%ba%e5%88%b6/" title="MySQL 独特的用户机制">MySQL 独特的用户机制 (0)</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.realqi.cn/2009/09/show-a-cacti-monitor-mysql-graphp/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>分享一个cacti监控CPU 的模版.</title>
		<link>http://www.realqi.cn/2009/09/%e5%88%86%e4%ba%ab%e4%b8%80%e4%b8%aacacti%e7%9b%91%e6%8e%a7cpu-%e7%9a%84%e6%a8%a1%e7%89%88/</link>
		<comments>http://www.realqi.cn/2009/09/%e5%88%86%e4%ba%ab%e4%b8%80%e4%b8%aacacti%e7%9b%91%e6%8e%a7cpu-%e7%9a%84%e6%a8%a1%e7%89%88/#comments</comments>
		<pubDate>Tue, 22 Sep 2009 07:22:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[技术实践]]></category>
		<category><![CDATA[系统管理]]></category>
		<category><![CDATA[运维监控]]></category>
		<category><![CDATA[cacti]]></category>
		<category><![CDATA[cacti template]]></category>

		<guid isPermaLink="false">http://realqi.cn/?p=289</guid>
		<description><![CDATA[增加了对iowait 的监控
增加了对硬中断(interrrupt)和软中断(softipt)的监控
此模版是在原ucd/net - CPU Usage基础之上做得更改
已在cacti0.87 {a.b.c d.e}上通过测试 ]]></description>
			<content:encoded><![CDATA[<p><a href="http://realqi.cn/wp-content/uploads/2009/09/cacti_graph_template_ucdnet_-_full_cpu_usage.xml">这个模版</a>的改进之处</p>
<ol>增加了对iowait 、硬中断(interrrupt)、软中断(softipt)的监控<br />
此模版是在原<strong>ucd/net - CPU Usage</strong>基础之上做得更改<br />
已在cacti0.87 {a.b.c d.e}上通过测试</ol>
<p><strong>请看下图</strong></p>
<p>cacti本身带的一个<strong>ucd/net - CPU Usage</strong>  模版,如下</p>
<p>              <img class="alignnone" src="http://farm3.static.flickr.com/2561/3944114080_e72f173d58.jpg" alt="" width="500" height="229" /></p>
<p>本人新建的模版<strong>ucd/net - Full CPU Usage</strong></p>
<p>             <img class="alignnone" src="http://farm3.static.flickr.com/2456/3943336341_83cbbae4f1.jpg" alt="" width="500" height="286" /></p>
<p><strong>如何使用本模版:</strong><br />
     1.下载模版 <a href="http://realqi.cn/wp-content/uploads/2009/09/cacti_graph_template_ucdnet_-_full_cpu_usage.xml">cacti_graph_template_ucdnet_-_full_cpu_usage</a><br />
     2.导入模版到cacti<br />
<h3>相关文章</h3>
<ul class="related_post">
<li>2009年10月15日 -- <a href="http://www.realqi.cn/2009/10/linux%e6%80%a7%e8%83%bd%e5%86%85%e5%ad%98%e7%9b%b8%e5%85%b3%e6%8c%87%e6%a0%87/" title="linux性能相关指标[监控基础知识一]">linux性能相关指标[监控基础知识一] (0)</a></li>
<li>2009年09月24日 -- <a href="http://www.realqi.cn/2009/09/show-a-cacti-monitor-mysql-graphp/" title="show a cacti-monitor-mysql graph">show a cacti-monitor-mysql graph (1)</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.realqi.cn/2009/09/%e5%88%86%e4%ba%ab%e4%b8%80%e4%b8%aacacti%e7%9b%91%e6%8e%a7cpu-%e7%9a%84%e6%a8%a1%e7%89%88/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>install spine 0.87e</title>
		<link>http://www.realqi.cn/2009/08/install-spine-0-87e/</link>
		<comments>http://www.realqi.cn/2009/08/install-spine-0-87e/#comments</comments>
		<pubDate>Fri, 28 Aug 2009 02:36:21 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[运维监控]]></category>
		<category><![CDATA[cacti]]></category>
		<category><![CDATA[spine]]></category>

		<guid isPermaLink="false">http://realqi.cn/?p=127</guid>
		<description><![CDATA[
官方下载源文件    Spine Source 
解开源文件并打补丁 

tar zxvf cacti-spine-0.8.7e.tar.gz
cd cacti-spine-0.8.7e/
wget http://www.cacti.net/downloads/spine/patches/snmp_v3_fix.patchwget 
wget http://www.cacti.net/downloads/spine/patches/mysql_client_reconnect.patch
wget http://www.cacti.net/downloads/spine/patches/ping_reliability.patch
patch -p1 -N &#60; snmp_v3_fix.patch
patch -p1 -N &#60; mysql_client_reconnect.patch
patch -p1 -N &#60; ping_reliability.patch

编绎安装

 sh bootstrap
         据提示操作
INFO: Spine bootstrap process completed
  To compile and install Spine do the following: 
  ./configure
  make
  make install
 ./configure --prefix=/usr/local/spine
       修改 /usr/local/spine/etc/spine.conf 相关信息
 
相关文章

2009年10月15日 -- linux性能相关指标[监控基础知识一] (0)
2009年09月24日 -- show a cacti-monitor-mysql graph (1)

]]></description>
			<content:encoded><![CDATA[<ul>
<li>官方下载源文件    <a href="http://www.cacti.net/downloads/spine/cacti-spine-0.8.7e.tar.gz" target="_self">Spine Source </a></li>
<li>解开源文件并打补丁 </li>
</ul>
<blockquote><p>tar zxvf cacti-spine-0.8.7e.tar.gz<br />
cd cacti-spine-0.8.7e/<br />
wget http://www.cacti.net/downloads/spine/patches/snmp_v3_fix.patchwget <br />
wget http://www.cacti.net/downloads/spine/patches/mysql_client_reconnect.patch<br />
wget http://www.cacti.net/downloads/spine/patches/ping_reliability.patch<br />
patch -p1 -N &lt; snmp_v3_fix.patch<br />
patch -p1 -N &lt; mysql_client_reconnect.patch<br />
patch -p1 -N &lt; ping_reliability.patch</p></blockquote>
<ul>
<li>编绎安装</li>
</ul>
<blockquote><p> sh bootstrap</p></blockquote>
<p>         据提示操作</p>
<blockquote><p>INFO: Spine bootstrap process completed<br />
  To compile and install Spine do the following: <br />
<span style="color: #ff0000;">  ./configure</span><br />
  make<br />
  make install</p></blockquote>
<blockquote><p><span style="color: #ff0000;"> ./configure --prefix=/usr/local/spine</span></p></blockquote>
<p><span style="color: #333333;">       修改 /usr/local/spine/etc/spine.conf 相关信息</span></p>
<p><span style="color: #ff0000;"> </span><br />
<h3>相关文章</h3>
<ul class="related_post">
<li>2009年10月15日 -- <a href="http://www.realqi.cn/2009/10/linux%e6%80%a7%e8%83%bd%e5%86%85%e5%ad%98%e7%9b%b8%e5%85%b3%e6%8c%87%e6%a0%87/" title="linux性能相关指标[监控基础知识一]">linux性能相关指标[监控基础知识一] (0)</a></li>
<li>2009年09月24日 -- <a href="http://www.realqi.cn/2009/09/show-a-cacti-monitor-mysql-graphp/" title="show a cacti-monitor-mysql graph">show a cacti-monitor-mysql graph (1)</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.realqi.cn/2009/08/install-spine-0-87e/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>install cacti 0.87e</title>
		<link>http://www.realqi.cn/2009/08/install-cacti-on-centos4-7/</link>
		<comments>http://www.realqi.cn/2009/08/install-cacti-on-centos4-7/#comments</comments>
		<pubDate>Wed, 26 Aug 2009 06:45:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[运维监控]]></category>
		<category><![CDATA[cacti]]></category>
		<category><![CDATA[install cacti]]></category>

		<guid isPermaLink="false">http://realqi.cn/?p=104</guid>
		<description><![CDATA[ 

安装LAMP    参考：lamp的安装及安全设置
安装并配置net-snmp  参考:  centos配置net-snmp 
下载CACTI源文件  Cacti for Linux/Unix
解开源包、改权限，打补丁
设置数据库，并导入数据
设置crontab
通过ui 进行必要的安装后设置

 
1、解开源包并打补丁
wget -P /root/tools/cacti/ http://www.cacti.net/downloads/cacti-0.8.7e.tar.gz
cd /usr/local/apache2/htdocs
tar zxvf /root/tools/cacti/cacti-0.8.7e.tar.gz
cd cacti-0.8.7e/
useradd cactiuser -s /sbin/nologin
chown -R cactiuser ./rra ./log
wget http://www.cacti.net/downloads/patches/0.8.7e/cli_add_graph.patch
wget http://www.cacti.net/downloads/patches/0.8.7e/snmp_invalid_response.patch
wget http://www.cacti.net/downloads/patches/0.8.7e/template_duplication.patch
patch -p1 -N &#60; cli_add_graph.patch
patch -p1 -N &#60; snmp_invalid_response.patch
patch -p1 -N &#60; template_duplication.patch
2、创建并导入cacti的数据库
mysql -e 'create database cacti7e' -p
mysql cacti7e &#60; /usr/local/apache2/htdocs/cacti-0.8.7e/cacti.sql  -p
mysql -e "grant all on cacti7e.* to cactiuser@localhost identified by  <a href="http://www.realqi.cn/2009/08/install-cacti-on-centos4-7/" class="more-link">更多 &#62;</a>]]></description>
			<content:encoded><![CDATA[<p> </p>
<ul>
<li>安装LAMP    参考：<a href="http://realqi.cn/2009/09/%e5%ae%89%e8%a3%85lamp%e7%8e%af%e5%a2%83%e6%a0%87%e5%87%86%e7%89%88/">lamp的安装及安全设置</a></li>
<li>安装并配置net-snmp  参考:  centos配置net-snmp </li>
<li>下载CACTI源文件  <a href="http://www.cacti.net/downloads/cacti-0.8.7e.tar.gz">Cacti for Linux/Unix</a></li>
<li>解开源包、改权限，打补丁</li>
<li>设置数据库，并导入数据</li>
<li>设置crontab</li>
<li>通过ui 进行必要的安装后设置</li>
</ul>
<p> </p>
<p><strong>1、解开源包并打补丁</strong></p>
<pre>wget -P /root/tools/cacti/ http://www.cacti.net/downloads/cacti-0.8.7e.tar.gz
cd /usr/local/apache2/htdocs
tar zxvf /root/tools/cacti/cacti-0.8.7e.tar.gz
cd cacti-0.8.7e/
useradd cactiuser -s /sbin/nologin
chown -R cactiuser ./rra ./log
wget http://www.cacti.net/downloads/patches/0.8.7e/cli_add_graph.patch
wget http://www.cacti.net/downloads/patches/0.8.7e/snmp_invalid_response.patch
wget http://www.cacti.net/downloads/patches/0.8.7e/template_duplication.patch
patch -p1 -N &lt; cli_add_graph.patch
patch -p1 -N &lt; snmp_invalid_response.patch
patch -p1 -N &lt; template_duplication.patch</pre>
<p><strong>2、创建并导入cacti的数据库</strong></p>
<pre>mysql -e 'create database cacti7e' -p
mysql cacti7e &lt; /usr/local/apache2/htdocs/cacti-0.8.7e/cacti.sql  -p
mysql -e "grant all on cacti7e.* to cactiuser@localhost identified by 'cactiuser';" -p</pre>
<p><strong>3、更改 cacti-0.8.7e/include/config.php 相关数据库连接参数</strong></p>
<pre>$database_type = "mysql";
$database_default = "cacti7e";
$database_hostname = "localhost";
$database_username = "cactiuser";
$database_password = "cactiuser";</pre>
<p><strong>4、添加crontab </strong></p>
<pre>echo  "*/1  * * * *  /usr/local/php/bin/php  /usr/local/apache2/htdocs/cacti-0.8.7e/poller.php" &gt;/tmp/cron.tmp

crontab  -u cactiuser  /tmp/cron.tmp</pre>
<p><strong>5、用ie打开<a href="http://server ip/cacti-0.8.7e">http://server ip/cacti-0.8.7e</a>进入cacti的web安装界面</strong></p>
<p><strong>     1、用admin admin 登入后，修改ADMIN为你自己密码</strong></p>
<p><strong>    2、进入settings -&gt;gernerl -web-Events 勾选所有项，如下：</strong>  </p>
<blockquote>
<table border="0" cellspacing="0" cellpadding="3" width="100%" bgcolor="#e1e1e1">
<tbody>
<form action="settings.php" enctype="application/x-www-form-urlencoded" method="post">
<blockquote>
<tr>
<td width="60%"><span><strong>Web Events</strong></span><br />
What Cacti website messages should be placed in the log.</td>
<td>
<input id="log_snmp" checked="checked" name="log_snmp" type="checkbox" value="on" /> <label for="log_snmp">Web SNMP Messages</label><label for="log_snmp"></label><label for="log_snmp"></label><br />
<input id="log_graph" checked="checked" name="log_graph" type="checkbox" value="on" /> <label for="log_graph">Web RRD Graph Syntax</label><label for="log_graph"></label><label for="log_graph"></label></p>
<input id="log_export" checked="checked" name="log_export" type="checkbox" value="on" /> <label for="log_export">Graph Export Messages</label></td>
<p><strong> </strong></tr>
</blockquote>
</form>
</tbody>
</table>
</blockquote>
<p><strong>  3、进入settings -&gt;Poller -&gt;Poller Interval 设置为一分钟，如下：</strong></p>
<blockquote>
<table border="0" cellspacing="0" cellpadding="3" width="100%" bgcolor="#e1e1e1">
<tbody>
<form action="settings.php" enctype="application/x-www-form-urlencoded" method="post">
<tr id="row_poller_interval" bgcolor="#f5f5f5">
<td width="50%"><span>Poller Interval</span><br />
The polling interval in use. This setting will effect how often rrd's are checked and updated. <strong><span style="text-decoration: underline;">NOTE: If you change this value, you must re-populate the poller cache. Failure to do so, may result in lost data.</span></strong></td>
<td>
<select id="poller_interval" name="poller_interval"><option selected="selected" value="60">Every Minute</option> <option value="15">Every 15 Seconds</option> <option value="20">Every 20 Seconds</option> <option value="30">Every 30 Seconds</option> <option value="60">Every Minute</option> <option value="300">Every 5 Minutes</option></select>
</td>
</tr>
<tr id="row_cron_interval" bgcolor="#e5e5e5">
<td width="50%"><span>Cron Interval</span><br />
The cron interval in use. You need to set this setting to the interval that your cron or scheduled task is currently running.</td>
<td>
<select id="cron_interval" name="cron_interval"><option selected="selected" value="60">Every Minute</option> <option value="300">Every 5 Minutes</option></select>
</td>
</tr>
</form>
</tbody>
</table>
</blockquote>
<p><strong> <strong>  4、进入settings -&gt;visual -&gt;Default RRDtool 1.2 Fonts 设置如下</strong></strong></p>
<blockquote>
<table border="0" cellspacing="0" cellpadding="3" width="100%" bgcolor="#e1e1e1">
<tbody>
<form action="settings.php" enctype="application/x-www-form-urlencoded" method="post">
<tr id="row_fonts_header" bgcolor="#6d88ad">
<td colspan="2">Default RRDtool 1.2 Fonts</td>
</tr>
<tr id="row_title_size" bgcolor="#f5f5f5">
<td width="50%"><span>Title Font Size</span><br />
The size of the font used for Graph Titles</td>
<td>
<input id="title_size" maxlength="10" name="title_size" size="5" type="text" value="10" /></td>
</tr>
<tr id="row_title_font" bgcolor="#e5e5e5">
<td width="50%"><span>Title Font File</span><br />
The font file to use for Graph Titles</td>
<td>
<input id="title_font" maxlength="100" name="title_font" size="40" type="text" /></td>
</tr>
<tr id="row_legend_size" bgcolor="#f5f5f5">
<td width="50%"><span>Legend Font Size</span><br />
The size of the font used for Graph Legend items</td>
<td>
<input id="legend_size" maxlength="10" name="legend_size" size="5" type="text" value="8" /></td>
</tr>
<tr id="row_legend_font" bgcolor="#e5e5e5">
<td width="50%"><span>Legend Font File</span><br />
The font file to be used for Graph Legend items</td>
<td>
<input id="legend_font" maxlength="100" name="legend_font" size="40" type="text" /></td>
</tr>
<tr id="row_axis_size" bgcolor="#f5f5f5">
<td width="50%"><span>Axis Font Size</span><br />
The size of the font used for Graph Axis</td>
<td>
<input id="axis_size" maxlength="10" name="axis_size" size="5" type="text" value="8" /></td>
</tr>
<tr id="row_axis_font" bgcolor="#e5e5e5">
<td width="50%"><span>Axis Font File</span><br />
The font file to be used for Graph Axis items</td>
<td>
<input id="axis_font" maxlength="100" name="axis_font" size="40" type="text" /></td>
</tr>
<tr id="row_unit_size" bgcolor="#f5f5f5">
<td width="50%"><span>Unit Font Size</span><br />
The size of the font used for Graph Units</td>
<td>
<input id="unit_size" maxlength="10" name="unit_size" size="5" type="text" value="7" /></td>
</tr>
<tr id="row_unit_font" bgcolor="#e5e5e5">
<td width="50%"><span>Unit Font File</span><br />
The font file to be used for Graph Unit items</td>
</tr>
</form>
</tbody>
</table>
<p> </p>
<p> </p></blockquote>
<h3>相关文章</h3>
<ul class="related_post">
<li>2009年10月15日 -- <a href="http://www.realqi.cn/2009/10/linux%e6%80%a7%e8%83%bd%e5%86%85%e5%ad%98%e7%9b%b8%e5%85%b3%e6%8c%87%e6%a0%87/" title="linux性能相关指标[监控基础知识一]">linux性能相关指标[监控基础知识一] (0)</a></li>
<li>2009年09月24日 -- <a href="http://www.realqi.cn/2009/09/show-a-cacti-monitor-mysql-graphp/" title="show a cacti-monitor-mysql graph">show a cacti-monitor-mysql graph (1)</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.realqi.cn/2009/08/install-cacti-on-centos4-7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

