About me
Services
Projects
Design Patterns
Archive
Contact
home > Archive > Installing Cacti

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

  1. Download Cacti rpm from http://www.cacti.net/download_cacti.php
  2. 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.
  3. Install the Cacti rpm, you will require the following rpms for support.
    1. httpd
    2. php
    3. php-mysql
    4. php-snmp
    5. mysql
    6. mysql-server
    7. net-snmp
  4. You can query whether you have the rpms installed by executing rpm -q <package name>
    eg: rpm -q httpd
  5. 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.
  6. Now you can install the Cacti rpm
    eg: rpm -ivh cacti-0.8.6h.fc3.i386.rpm
  7. Follow the instructions in the install guide to set up Cacti. This includes added a database schema and some users that Cacti can use.
  8. 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!
Copyright 2008 Graham Lange All rights reserved
SUBSCRIBE