introduction:
Cacti is a complete frontend to RRDTool, it stores all of the necessary information to create graphs and populate them with data in a MySQL database. The frontend is completely PHP driven. Along with being able to maintain Graphs, Data Sources, and Round Robin Archives in a database, cacti handles the data gathering. There is also SNMP support for those used to creating traffic graphs with MRTG.
Cacti requirement:
Required Packages for RPM-based Operating Systems
* net-snmp
use rrdtools rrdtool-1.2.30-2.el4.pp.i386 or greater
MySQL configuration for cacti:
Code:
[root:~]#
RRDTool Installation:
Code:
Download and setup cacti:
Code:
[root:~]# useradd -g cacti cactiuser
Code:
[root:~]# chown -R cactiuser rra/ log/
Make the proper changes for database and database password:
[root:~]# vi /include/config.php
Code:
$database_password = “”
Add this cron in /etc/crontab
*/5 * * * * cactiuser php /var/www/html/cacti/poller.php > /dev/null 2>&1
#vi /etc/httpd/conf/httpd.conf
Alias /cacti/ “/var/www/html/cacti/”
#service mysqld restart
Post Installation Steps:
Browse the below mentioned URL:
http://localhost/cacti
-OR-
Code:
7. Click Save
http://www.unix-tutorials.com/go.php?id=703