<?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>IPCPU——网络之路 &#187; CACTI</title>
	<atom:link href="http://www.ipcpu.com/tag/cacti/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ipcpu.com</link>
	<description></description>
	<lastBuildDate>Sat, 17 Jul 2010 11:04:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>[网络监控]CACTI插件settings和weathermap的安装</title>
		<link>http://www.ipcpu.com/2009/11/cacti-settings-weathermap/</link>
		<comments>http://www.ipcpu.com/2009/11/cacti-settings-weathermap/#comments</comments>
		<pubDate>Sun, 01 Nov 2009 07:04:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[网络技术]]></category>
		<category><![CDATA[CACTI]]></category>
		<category><![CDATA[weathermap]]></category>
		<category><![CDATA[网络监控]]></category>

		<guid isPermaLink="false">http://www.ipcpu.com/?p=205</guid>
		<description><![CDATA[本次只记录安装方法，至于使用还是自己摸索摸索吧 Plugin architecture Settings 官方网站：http://cactiusers.org/ Weathermap 官方网站：www.network-weathermap.com 安装方法： 1.先安装插件包管理工具Plugin architecture [root@centmini ~]# unzip cacti-plugin-0.8.7e-PA-v2.5.zip [root@centmini ~]# mysql -p cacti&#60;pa.sql [root@centmini ~]# cp cacti-plugin-0.8.7e-PA-v2.5.diff /var/www/html/cacti/ [root@centmini ~]# cd /var/www/html/cacti/ [root@centmini cacti]# patch -p1 -N &#60;cacti-plugin-0.8.7e-PA-v2.5.diff [root@centmini cacti]# vi include/global.php $config['url_path'] = &#8216;/cacti/&#8217;; 并修改SQL数据库的参数 重新登录cacti即可，如果Configuration里没有Plugin Management 先进User Management里将Plugin Management选上。 2.settings的安装 解压到cacti的plugin文件夹 修改include/global.php $plugins[] = &#8216;settings&#8217;; 常见问题：Status: Old [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-207" title="_4333r1_c1" src="http://www.ipcpu.com/wp-content/uploads/2009/11/4333r1_c1.jpg" alt="_4333r1_c1" width="480" height="95" /></p>
<p>本次只记录安装方法，至于使用还是自己摸索摸索吧</p>
<p>Plugin architecture<br />
Settings<br />
官方网站：<a href="http://cactiusers.org/">http://cactiusers.org/</a></p>
<p>Weathermap<br />
官方网站：<a href="http://www.network-weathermap.com">www.network-weathermap.com</a></p>
<p>安装方法：<span id="more-205"></span></p>
<p><strong>1.先安装插件包管理工具Plugin architecture<br />
</strong><br />
[root@centmini ~]# unzip cacti-plugin-0.8.7e-PA-v2.5.zip<br />
[root@centmini ~]# mysql -p cacti&lt;pa.sql<br />
[root@centmini ~]# cp cacti-plugin-0.8.7e-PA-v2.5.diff /var/www/html/cacti/<br />
[root@centmini ~]# cd /var/www/html/cacti/<br />
[root@centmini cacti]# patch -p1 -N &lt;cacti-plugin-0.8.7e-PA-v2.5.diff<br />
[root@centmini cacti]# vi include/global.php<br />
$config['url_path'] = &#8216;/cacti/&#8217;;<br />
并修改SQL数据库的参数</p>
<p>重新登录cacti即可，如果Configuration里没有Plugin Management 先进User Management里将Plugin Management选上。</p>
<p><strong>2.settings的安装<br />
</strong><br />
解压到cacti的plugin文件夹<br />
修改include/global.php<br />
$plugins[] = &#8216;settings&#8217;;</p>
<p>常见问题：Status: Old Plugin Architecture &#8211; Running  而不是install  和enable选项，原因可能是版本太低，不过只要是running就表示正常工作了。</p>
<p><strong>3.<span class='wp_keywordlink_affiliate'><a href="http://www.ipcpu.com/tag/weathermap/" title="View all posts in weathermap" target="_blank">weathermap</a></span>安装</strong></p>
<p>解压到cacti的plugin文件夹<br />
修改include/global.php<br />
$plugins[] = &#8216;<span class='wp_keywordlink_affiliate'><a href="http://www.ipcpu.com/tag/weathermap/" title="View all posts in weathermap" target="_blank">weathermap</a></span>&#8217;;</p>
<p>[root@centmini cacti]# cd plugins/<span class='wp_keywordlink_affiliate'><a href="http://www.ipcpu.com/tag/weathermap/" title="View all posts in weathermap" target="_blank">weathermap</a></span>/<br />
[root@centmini weathermap]# chown cactiuser output/<br />
[root@centmini weathermap]# cp editor-config.php-dist editor-config.php<br />
[root@centmini weathermap]# chown apache configs/<br />
[root@centmini weathermap]# chmod u+w configs/<br />
[root@centmini weathermap]# vi editor-config.php<br />
$cacti_base = &#8220;/var/www/html/cacti&#8221;;<br />
$cacti_url = &#8220;<a href="http://192.168.128.3/cacti/">http://192.168.128.3/cacti/</a>&#8220;;[改成自己的IP]<br />
$mapdir= $cacti_base.&#8217;/plugins/weathermap/configs&#8217;;</p>
<p>OK了，再次登录面板左上角会显示weathermap</p>
<p>可能出现的问题：<br />
Required PHP extensions are not present in your mod_php/ISAPI PHP module. Please check your PHP setup to ensure you have the GD extension installed and enabled.<br />
解决办法：安装php-gd重启apache即可。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ipcpu.com/2009/11/cacti-settings-weathermap/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[网络监控]CACTI的安装</title>
		<link>http://www.ipcpu.com/2009/10/network-monitor-cacti-setup/</link>
		<comments>http://www.ipcpu.com/2009/10/network-monitor-cacti-setup/#comments</comments>
		<pubDate>Sat, 31 Oct 2009 13:04:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[网络技术]]></category>
		<category><![CDATA[CACTI]]></category>
		<category><![CDATA[网络监控]]></category>

		<guid isPermaLink="false">http://www.ipcpu.com/?p=191</guid>
		<description><![CDATA[  由于MRTG还比较初级，软件作者写了RRDTOOL这个功能强大的软件，而CACTI就是工作在RRDTOOL之上的网络监控软件，他的管理功能强大，插件众多，也拥有众多的用户。 今天来试一下吧， 软件名称：CACTI(中文名：仙人掌) 官方网站：http://www.cacti.net 安装过程: 1.Cacti的安装需要LAMP运行环境，当然其他的Web Server也可以，然后安装net-snmp和rrd-tools 2.创建Cacti数据库并赋权 进入MySQL &#62;create database cacti; &#62;grant all privileges on cacti.* to cactiuser@localhost identified by &#8220;password&#8221;; &#62;flush privileges; 2.解压cacti安装包，复制到/var/www/html/下 创建cactiuser,给rra和log文件夹更改属主。 [root@centmini cacti]# useradd cactiuser [root@centmini cacti]# chown -R cactiuser log/ rra/ 3.导入数据 [root@centmini ~]# cd /var/www/html/cacti/ [root@centmini cacti]# mysql -p cacti&#60;cacti.sql 4.修改include/config.php $database_type = &#8220;mysql&#8221;; $database_default = &#8220;cacti&#8221;; [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-195" title="refdgfff" src="http://www.ipcpu.com/wp-content/uploads/2009/10/refdgfff.jpg" alt="refdgfff" width="480" height="95" /></p>
<p> </p>
<p>由于MRTG还比较初级，软件作者写了RRDTOOL这个功能强大的软件，而<span class='wp_keywordlink_affiliate'><a href="http://www.ipcpu.com/tag/cacti/" title="View all posts in CACTI" target="_blank">CACTI</a></span>就是工作在RRDTOOL之上的<span class='wp_keywordlink_affiliate'><a href="http://www.ipcpu.com/tag/%e7%bd%91%e7%bb%9c%e7%9b%91%e6%8e%a7/" title="View all posts in 网络监控" target="_blank">网络监控</a></span>软件，他的管理功能强大，插件众多，也拥有众多的用户。</p>
<p>今天来试一下吧，</p>
<p><strong>软件名称</strong>：<span class='wp_keywordlink_affiliate'><a href="http://www.ipcpu.com/tag/cacti/" title="View all posts in CACTI" target="_blank">CACTI</a></span>(中文名：仙人掌)<br />
<strong>官方网站</strong>：<a href="http://www.cacti.net/">http://www.cacti.net</a></p>
<p><strong>安装过程</strong>:</p>
<p>1.Cacti的安装需要LAMP运行环境，当然其他的Web Server也可以，然后安装net-snmp和rrd-tools<span id="more-191"></span></p>
<p>2.创建Cacti数据库并赋权<br />
进入MySQL<br />
&gt;create database cacti;<br />
&gt;grant all privileges on cacti.* to <a href="mailto:cactiuser@localhost">cactiuser@localhost</a> identified by &#8220;password&#8221;;<br />
&gt;flush privileges;</p>
<p>2.解压cacti安装包，复制到/var/www/html/下<br />
创建cactiuser,给rra和log文件夹更改属主。<br />
[root@centmini cacti]# useradd cactiuser<br />
[root@centmini cacti]# chown -R cactiuser log/ rra/</p>
<p>3.导入数据<br />
[root@centmini ~]# cd /var/www/html/cacti/<br />
[root@centmini cacti]# mysql -p cacti&lt;cacti.sql</p>
<p>4.修改include/config.php<br />
$database_type = &#8220;mysql&#8221;;<br />
$database_default = &#8220;cacti&#8221;;<br />
$database_hostname = &#8220;localhost&#8221;;<br />
$database_username = &#8220;cactiuser&#8221;;<br />
$database_password = &#8220;123456&#8243;;<br />
$database_port = &#8220;3306&#8243;;</p>
<p>5.添加计划任务<br />
# vi /etc/crontab</p>
<p>*/5 * * * * cactiuser /usr/local/php/bin/php /var/www/html/cacti/poller.php &gt;/dev/null 2&gt;&amp;1</p>
<p>6.打开IE，输入<a href="http://192.168.0.2/cacti">http://192.168.0.2/cacti</a>进行安装！</p>
<p><strong>后记</strong>：</p>
<p>1.出现错误：configure: error: C++ preprocessor &#8220;/lib/cpp&#8221; fails sanity check<br />
出现该情况是由于c++编译器的相关package没有安装，以root用户登陆，在终端上执行<br />
# yum install gcc-c++</p>
<p>2.rrdtool-1.0.50版本，不用安装支持库文件，1.2.x 版的rrdtool繪圖不再使用GD,而使用libart及freetype等功能<br />
推荐新手使用1.0.50版本</p>
<p>3.出现错误snmpwalk Binary Path   file not found<br />
确认是否安装yum install net-snmp-utils</p>
<p>4.出现大量file not found<br />
使用yum安装的程序位置为/usr/bin/*</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ipcpu.com/2009/10/network-monitor-cacti-setup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
