Installing Cacti on your Linux server.
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. -www.cacti.net
- Download Cacti rpm
from http://www.cacti.net/download_cacti.php
- You will need to make sure that rrdtool has been installed. Currently the
rrdtool home page does not link to an official
rpm and
yum does not find it either.
Have a look on the web and find an rpm
that is supported by the version of Cacti
that you are attempting to install.
- Install the Cacti rpm, you will require the following rpms for support.
- httpd
- php
- php-mysql
- php-snmp
- mysql
- mysql-server
- net-snmp
- You can query whether you have the rpms installed by executing rpm -q <package name>
eg: rpm -q httpd
- If you dont have one of the requried packages installed, install it with yum.
eg: yum install php-snmp
You may have to setup yum
if you havent used it in the past.
- Now you can install the Cacti rpm
eg: rpm -ivh cacti-0.8.6h.fc3.i386.rpm
- Follow the instructions in the install guide to set up Cacti. This includes
added a database schema and some users that Cacti can use.
- My install of Fedora did not include some of the snmp utility programs that are
requried by Cacti. I had to run
yum install net-snmp-utils to ensure they
could be found by Cacti. #Bring up the main Cacti page in the browser,
using http://localhost/cacti.
Good luck!