<?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>ubuntu,debian,redhat -linuxany.com &#187; cacti</title>
	<atom:link href="http://www.linuxany.com/archives/tag/cacti/feed" rel="self" type="application/rss+xml" />
	<link>http://www.linuxany.com</link>
	<description>ubuntu,debian,redhat,fedora,centos</description>
	<lastBuildDate>Thu, 29 Jul 2010 13:01:19 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>cacti设置一分钟刷新</title>
		<link>http://www.linuxany.com/archives/116.html</link>
		<comments>http://www.linuxany.com/archives/116.html#comments</comments>
		<pubDate>Sat, 05 Jan 2008 09:07:56 +0000</pubDate>
		<dc:creator>x72</dc:creator>
				<category><![CDATA[1.Application]]></category>
		<category><![CDATA[cacti]]></category>

		<guid isPermaLink="false">http://www.linuxplay.cn/index.php/archives/113</guid>
		<description><![CDATA[之前，Cacti一直以每5分钟来取得数据，老觉得反应慢了一些。万一有攻击都要几分钟之后才知道。前几天，就开始构思怎样做到每分钟取得SNMP数据。
经过连日的研究，终于发现了怎样实现每分钟运行Poller的方式。
1、在数据库运行
DELETE FROM rra; &#8212; 4 rows affected
INSERT INTO rra VALUES (1,&#8217;c21df5178e5c955013591239eb0afd46&#8242;,&#8217;Daily (1
Minute Average)&#8217;,0.5,1,8000,86400);
INSERT INTO rra VALUES (2,&#8217;0d9c0af8b8acdc7807943937b3208e29&#8242;,&#8217;Weekly (30
Minute Average)&#8217;,0.5,30,1600,604800);
INSERT INTO rra VALUES (3,&#8217;6fc2d038fb42950138b0ce3e9874cc60&#8242;,&#8217;Monthly (2
Hour Average)&#8217;,0.5,120,1600,2678400);
INSERT INTO rra VALUES (4,&#8217;e36f3adb9f152adfa5dc50fd2b23337e&#8217;,'Yearly (1 Day
Average)&#8217;,0.5,1440,1600,33053184);
 
UPDATE data_template_data SET rrd_step=60 WHERE rrd_step=300;
UPDATE data_template_rrd SET rrd_heartbeat=120 WHERE rrd_heartbeat=600;
 
UPDATE poller_item SET rrd_step = 60 WHERE rrd_step = 300;
2、把Crontab的时间改为一分钟。
3、就是放弃原来以每5分钟取得的数据，把rra目录下的文件都删除了
通过，以上的操作之后，将会取得以每分钟SNMP信息。

您还可能感兴趣的内容Network,Server statistics graphing Using Cacti in [...]]]></description>
		<wfw:commentRss>http://www.linuxany.com/archives/116.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Network,Server statistics graphing Using Cacti in Ubuntu Server</title>
		<link>http://www.linuxany.com/archives/95.html</link>
		<comments>http://www.linuxany.com/archives/95.html#comments</comments>
		<pubDate>Sat, 22 Dec 2007 13:52:57 +0000</pubDate>
		<dc:creator>x72</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[cacti]]></category>

		<guid isPermaLink="false">http://www.linuxplay.cn/?p=92</guid>
		<description><![CDATA[Cacti is a complete network graphing solution designed to harness the power of RRDTool’s data storage and graphing functionality. Cacti provides a fast poller, advanced graph templating, multiple data acquisition methods, and user management features out of the box. All of this is wrapped in an intuitive, easy to use interface that makes sense for
LAN-sized [...]]]></description>
		<wfw:commentRss>http://www.linuxany.com/archives/95.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>apache2+php+mysql+mod_secu+mod_evasive+mod_gzip+snmp＋rrdtool+cacti</title>
		<link>http://www.linuxany.com/archives/70.html</link>
		<comments>http://www.linuxany.com/archives/70.html#comments</comments>
		<pubDate>Sat, 15 Dec 2007 14:32:48 +0000</pubDate>
		<dc:creator>x72</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[cacti]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[rrdtool]]></category>
		<category><![CDATA[snmp]]></category>

		<guid isPermaLink="false">http://www.linuxplay.cn/?p=64</guid>
		<description><![CDATA[您还可能感兴趣的内容Improving Page Load Times(提升页面加载时间)LAMP 系统性能调优，第 3 部分: MySQL 服务器调优LAMP 系统性能调优，第 2 部分: 优化 Apache 和 PHPLAMP 系统性能调优，第 1 部分: 理解 LAMP 架构PHP:随机变化的.jpg图片]]></description>
		<wfw:commentRss>http://www.linuxany.com/archives/70.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>如何将cacti的取样间隔更改为一分钟？</title>
		<link>http://www.linuxany.com/archives/43.html</link>
		<comments>http://www.linuxany.com/archives/43.html#comments</comments>
		<pubDate>Wed, 28 Nov 2007 05:56:49 +0000</pubDate>
		<dc:creator>x72</dc:creator>
				<category><![CDATA[1.Application]]></category>
		<category><![CDATA[cacti]]></category>

		<guid isPermaLink="false">http://www.linuxplay.cn/?p=35</guid>
		<description><![CDATA[其实在cacti的官方论坛上面，已经有这个patch放出来了：RELEASED: &#60; 1 Minute to 5 Minute Polling Interval Patch
不过这个patch有点旧，是针对0.8.6f版本的，而且里面说的是如何新建一张”Hourly”图，而不是将现在的”Daily”，”Weekly”,”Monthly”,”Yearly”修改为1分钟的格式。
cacti作为rrdtool的外壳，要将polling interval修改为一分钟，首先就要先将rrd数据文件的数据存储step等参数修改为支持一分钟的格式。
在cacti中的修改步骤是：
一、添加新的“RRAs”：

Management-&#62;Data Sources-&#62;RRAs
点击“ADD”，添加新的Round Robin Archives。
其中“Consolidation Functions”为“AVERAGE”和“MAX”，“X-Files Factor”为“0.5”。
其它参数：

Name Steps Rows Timespan
Daily (1 Minute Average) 1 3000 86400
Weekly (6 Minute Average) 6 3500 604800
Monthly (24 Minute Average) 24 3875 2678400
Yearly (5 Hour Average) 288 3985 33053184
二、修改“data templates”：

Management-&#62;Templates-&#62;data templates
比如我们要修改模板“Interface &#8211; Traffic”：
(记得先备份你要用的template)
1、选择“Associated RRA’s”为第2步中创建的4个RRA；
2、将step改为“60”（一分钟）；
3、将“traffic_in”和“traffic_out”的Heartbeat改为“120”（不能一起改，先save一个，再改另一个）；
最后是将crontab从5分钟一次更改为1分钟一次即可。

您还可能感兴趣的内容cacti设置一分钟刷新Network,Server statistics graphing Using Cacti in Ubuntu Serverapache2+php+mysql+mod_secu+mod_evasive+mod_gzip+snmp＋rrdtool+cacti升级到 [...]]]></description>
		<wfw:commentRss>http://www.linuxany.com/archives/43.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>升级到 cacti 0.8.7</title>
		<link>http://www.linuxany.com/archives/42.html</link>
		<comments>http://www.linuxany.com/archives/42.html#comments</comments>
		<pubDate>Wed, 28 Nov 2007 05:31:21 +0000</pubDate>
		<dc:creator>x72</dc:creator>
				<category><![CDATA[1.Application]]></category>
		<category><![CDATA[cacti]]></category>

		<guid isPermaLink="false">http://www.linuxplay.cn/?p=34</guid>
		<description><![CDATA[把系统升级到了当时最新的0.8.6-svn,其中的版本就是0.8.6k
现如今cacti的最新的stable版本都已经是0.8.7了,于是我也想升级
当我当下来0.8.7的文件,升级的时候，发现系统报不支持从0.8.6k升级到0.8.7
查了查升级脚本，果然是没有对0.8.6k的支持,于是就求助于cacti的官方论坛
于是照着做：
1，停掉apache
2，停掉Cron(啊！？这步我没做！！！)
3，备份mysql库
4，取回0.8.7的包，包含patches（我是从这里取了patch回来，不知道对不对）
5，编辑文件install/0_8_6j_to_0_8_7.php，把在其中注释为“Add 1 min rra”的这段程序注释掉
6，在mysql里，执行”
update version set cacti=’0.8.6j’ where cacti=’0.8.6k’
“(其实还要先用use命令进入cacti所用的数据库)
7，把原来0.8.6k的include/config.php拷贝过来到include/config.php
8，把apache起起来
9，通过浏览器访问cacti系统
10，根据提示升级，碰到sql语句执行失败手工确认(因为0.8.6k和0.8.6j的数据库结构还是有变化的，这里等于是强制把0.8.6k当作0.8.6j来往0.8.7上升级，有错基本上是正常的)
11，如果没有问题，再把Cron打开
我照着做了
基本上解决了问题
只有一点：升级完成后，貌似所有的图都给删掉了然后重建的，所以以前的数据图上就显示不出来了
这也许是我没有按回帖里写的那样先停掉Cron最后再启动的原因吧
]]></description>
		<wfw:commentRss>http://www.linuxany.com/archives/42.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
