<?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>linuxbuddies.com &#187; cacti</title>
	<atom:link href="http://linuxbuddies.com/tag/cacti/feed/" rel="self" type="application/rss+xml" />
	<link>http://linuxbuddies.com</link>
	<description>For linux documentations.</description>
	<lastBuildDate>Fri, 11 Sep 2009 10:11:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Cacti Installation</title>
		<link>http://linuxbuddies.com/2008/12/21/cacti-installation/</link>
		<comments>http://linuxbuddies.com/2008/12/21/cacti-installation/#comments</comments>
		<pubDate>Sun, 21 Dec 2008 07:13:51 +0000</pubDate>
		<dc:creator>Riyesh</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[bandwitdthd]]></category>
		<category><![CDATA[cacti]]></category>
		<category><![CDATA[Installation]]></category>
		<category><![CDATA[network monitoring]]></category>
		<category><![CDATA[server monitoring]]></category>

		<guid isPermaLink="false">http://linuxbuddies.com/?p=323</guid>
		<description><![CDATA[ Cacti uses RRDTool to generate graphs for network statistics like bandwidthd. 
 
Requirements:

Mysql
Php
Rrdtool
net-snmp
net-snmp-devel.i386
net-snmp-libs.i386
net-snmp-perl.i386
net-snmp-utils.i386
php-snmp
Apache with PHP Support
 
MySQL configuration for cacti:
 
mysql -u root -p
mysql&#62; create database cacti;
mysql&#62; grant all on cacti.* to cactiuser@’localhost’ identified by ‘cactipassword’;
mysql&#62; flush privileges;
 
RRDTool Installation
 
Requirements:

tcl
tcl-devel
 
[root]# cd /usr/local/src/
[root]# wget http://oss.oetiker.ch/rrdtool/pub/rrdtool.tar.gz
[root]# tar -zxf rrdtool.tar.gz
[root]# cd rrdtool*
[root]# ./configure
[root]# make
[root]# make install
[root]# make site-perl-install
 
   ...]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-thumbnail wp-image-324" title="cacti1" src="http://linuxbuddies.com/wp-content/uploads/2009/01/cacti1-150x150.png" alt="cacti1" width="150" height="150" /> Cacti uses RRDTool to generate graphs for network statistics like bandwidthd. </p>
<p> </p>
<p><span><strong>Requirements:</strong></span></p>
<p style="padding-left: 30px; "><span><strong></strong></span><br />
Mysql<br />
Php<br />
Rrdtool<br />
net-snmp<br />
net-snmp-devel.i386<br />
net-snmp-libs.i386<br />
net-snmp-perl.i386<br />
net-snmp-utils.i386<br />
php-snmp<br />
Apache with PHP Support</p>
<p style="padding-left: 30px; "> </p>
<p><strong>MySQL configuration for cacti:</strong></p>
<p> </p>
<p style="padding-left: 30px; "><strong><span style="font-weight: normal;">mysql -u root -p<br />
mysql&gt; create database cacti;<br />
mysql&gt; grant all on cacti.* to cactiuser@’localhost’ identified by ‘cactipassword’;<br />
mysql&gt; flush privileges;</span></strong></p>
<p style="padding-left: 30px; "> </p>
<p><strong><span style="font-weight: normal;"><strong>RRDTool Installation</strong></span></strong></p>
<p> </p>
<p><strong><span style="font-weight: normal;"><strong><span>Requirements:</span><br />
</strong></span></strong></p>
<p style="padding-left: 30px; ">tcl<br />
tcl-devel</p>
<p style="padding-left: 30px; "> </p>
<p style="padding-left: 30px; ">[root]# cd /usr/local/src/<br />
[root]# wget http://oss.oetiker.ch/rrdtool/pub/rrdtool.tar.gz<br />
[root]# tar -zxf rrdtool.tar.gz<br />
[root]# cd rrdtool*<br />
[root]# ./configure<br />
[root]# make<br />
[root]# make install<br />
[root]# make site-perl-install</p>
<p style="padding-left: 30px; "> </p>
<p>                  <strong>OR</strong></p>
<p style="padding-left: 30px; "> </p>
<p style="padding-left: 30px; "><strong><span style="font-weight: normal;"> yum install -y rrdtool*</span></strong></p>
<p style="padding-left: 30px; "><strong><span style="font-weight: normal;">[root]# useradd cactiuser<br />
[root]# tar -zxvf cacti*<br />
[root]# mv cacti-0.8.xx /home/cactiuser/cacti<br />
[root]# cd /home/cactiuser/cacti<br />
[root]# mysql cactidb &lt; cacti.sql</span></strong></p>
<p style="padding-left: 30px; "> </p>
<p><strong><span style="font-weight: normal;"><strong>Edit config.php:</strong></span></strong></p>
<p> </p>
<p style="padding-left: 30px; "><strong><span style="font-weight: normal;"><strong><span style="font-weight: normal;">[root]# vi /include/config.php<br />
$database_defaut = “cacti”;<br />
$database_hostname = “localhost”;<br />
$database_username = “cactiuser”;<br />
$database_password = “cactipassword”</span></strong></span></strong></p>
<p style="padding-left: 30px; "> </p>
<p><strong><span style="font-weight: normal;"><strong><span style="font-weight: normal;"><strong>Adding CRON Job:</strong></span></strong></span></strong></p>
<p> </p>
<p style="padding-left: 30px; "><strong><span style="font-weight: normal;"><strong><span style="font-weight: normal;"><strong><span style="font-weight: normal;">[root]# crontab -e<br />
*/5 * * * * cactiuser php /home/cactiuser/cacti/poller.php &gt; /dev/null 2&gt;&amp;1</span></strong></span></strong></span></strong></p>
<p style="padding-left: 30px; "> </p>
<p><strong><span style="font-weight: normal;"><strong><span style="font-weight: normal;"><strong><span style="font-weight: normal;"><strong>In httpd.conf:</strong></span></strong></span></strong></span></strong></p>
<p> </p>
<p style="padding-left: 30px; "><strong><span style="font-weight: normal;"><strong><span style="font-weight: normal;"><strong><span style="font-weight: normal;"><strong><span style="font-weight: normal;">Alias /cacti/ “/home/cactiuser/cacti/”</span></strong></span></strong></span></strong></span></strong></p>
<p style="padding-left: 30px; "> </p>
<p><strong>Restart Services </strong></p>
<p style="padding-left: 30px; "> </p>
<p style="padding-left: 30px; "><strong><span style="font-weight: normal;">/etc/init.d/httpd restart<br />
/etc/init.d/mysqld restart</span></strong></p>
<p style="padding-left: 30px; "> </p>
<p><strong><span style="font-weight: normal;"><span><strong>Cacti Installed Successfully&#8230;</strong></span><br />
Access: <a class="postlink" href="http://localhost/cacti">http://localhost/cacti</a><br />
Login with username/password : admin/admin<br />
</span></strong></p>
<p style="padding-left: 30px; "> </p>
]]></content:encoded>
			<wfw:commentRss>http://linuxbuddies.com/2008/12/21/cacti-installation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
