﻿<?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>P.Linux Laboratory &#187; Cacti</title>
	<atom:link href="http://www.penglixun.com/tag/cacti/feed" rel="self" type="application/rss+xml" />
	<link>http://www.penglixun.com</link>
	<description>MySQL DBA &#38; Linux SA</description>
	<lastBuildDate>Sun, 22 Jan 2012 16:34:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>配置全功能Cacti</title>
		<link>http://www.penglixun.com/tech/system/configure_all_function_cacti.html</link>
		<comments>http://www.penglixun.com/tech/system/configure_all_function_cacti.html#comments</comments>
		<pubDate>Tue, 17 Nov 2009 08:48:43 +0000</pubDate>
		<dc:creator>P.Linux</dc:creator>
				<category><![CDATA[操作系统]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[Cacti]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Memcached]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Nigix]]></category>

		<guid isPermaLink="false">http://www.penglixun.com/PLX/Blog/?p=535</guid>
		<description><![CDATA[本文内容遵从CC版权协议, 可以随意转载, 但必须以超链接形式标明文章原始出处和作者信息及版权声明网址: http://www.penglixun.com/tech/system/configure_all_function_cacti.html 今天终于配置好了Cacti，加入... ]]></description>
			<content:encoded><![CDATA[<p><span style="color: #888888;">本文内容遵从<a href="http://creativecommons.org/licenses/by-nc-sa/3.0/deed.zh" target="_blank">CC版权协议</a>, 可以随意转载, 但必须以超链接形式标明文章原始出处和作者信息及版权声明</br>网址: http://www.penglixun.com/tech/system/configure_all_function_cacti.html </p>
<p></span>今天终于配置好了Cacti，加入了MySQL/Linux/Apache/Memcached/Nigix模板。<br />
主要遇到的一个问题是修改轮询时间，默认5分钟，我想改成1分钟。<br />
要修改的地方是/etc/cron.d/cacti，改成1分钟间隔，*/<span style="color: #ff0000;">1 </span>* * * * root php /var/www/cacti/poller.php &amp;&gt;/dev/null<br />
然后最好先设置好轮询间隔再导入模板，这样可以在导入的时候把模板的间隔也改掉，否则要手动去改。<br />
修改了轮询时间需要重建轮询索引，最好还要关闭所有的设备再启动，怕有轮询器还没关闭。</p>
<p>过程很多地方有了：<br />
1062错误的解决方法：</p>
<p>http://yadayadayada.nl/archives/2009/04/000779-tuning_cacti_with_the_spine_poller_the_solution.html</p>
<p>http://yadayadayada.nl/archives/2008/11/000750-tuning_cacti_with_the_spine_poller_mysql_error_1062_.html</p>
<p>采用<acronym title="Secure Shell">SSH</acronym>方式监控：http://code.google.com/p/mysql-cacti-templates/wiki/SSHBasedTemplates<br />
MySQL模板安装方法：http://xok.la/2009/05/cacti_mysql_monitor.html<br />
Cacti源代码安装方法：http://www.askwan.com/post/48/<br />
Cacti中文版安装方法：http://hi.baidu.com/%C2%ED%B3%A4%D5%F72008/blog/item/566cbb440ac6742fcefca347.html</p><h2  class="related_post_title">类似的文章</h2><ul class="related_post"><li>2012年01月23日 -- <a href="http://www.penglixun.com/tech/database/case_about_innodb_faster_than_oracle.html" title="一个InnoDB性能超过Oracle的调优Case">一个InnoDB性能超过Oracle的调优Case</a> (1)</li><li>2009年12月15日 -- <a href="http://www.penglixun.com/tech/system/memcached_complete_analyze.html" title="[转] memcached完全剖析">[转] memcached完全剖析</a> (0)</li><li>2009年10月25日 -- <a href="http://www.penglixun.com/tech/database/mysql_gui_tool_in_linux.html" title="MySQL GUI Tool在Linux下运行">MySQL GUI Tool在Linux下运行</a> (0)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.penglixun.com/tech/system/configure_all_function_cacti.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

