Cacti Ubuntu Hardy

Cacti is a complete network graphing solution designed to harness the power of RRDTool’s data storage and graphing functionality. Cacti provides a fast poller, advanced graph templating, multiple data acquisition methods, and user management features out of the box. All of this is wrapped in an intuitive, easy to use interface that makes sense for LAN-sized installations up to complex networks with hundreds of devices.
Requirements for Cacti

Apache Web server

RRDTool 1.0.48 or greater

MySQL 3.23 or greater, 4.0.20d or greater highly recommended for advanced features

PHP 4.1 or greater, 4.3.6 or greater highly recommended for advanced features


Before installing cacti you need to install mysql server and all other requirements will be installed at the time of cacti installation

Install Mysql Server Debian Etch

#apt-get install mysql-server

Install cati in Debian Etch

#apt-get install cacti

This will starts the cacti installation and the first screen you can see the include path for php hasebeen changed

Next Option is you want to configure database for cacti select yes and press enter

Enter the password for your database administrative user by default no password select ok and press enter

Now you need to enter the mysql database password for cacti select ok and press enter

Select your webserver type and i have selected apache2 select ok and press enter

Thats it this will complete the cacti installation.

Configuring Cacti

Now you need to go to http://yourserverip/cacti/ for configuring cacti

You should see the following screen and here you need to click on next

Next option is you need to select your cacti installation type i have selected as new install and click next

Now this will show you all the required packages are installed and you can see with [FOUND] in green colour.If there is any problem this will turn in to red you need to check that and once everything is fine click finish

Now you can see the cacti login screen as follows

Here you need to use admin/admin as username and password to login once you enter this it will prompt for change the admin user password for security reasons and click save

Once you entered in to cacti you should see the following screen

Now your basic cacti installation ready for use.You can check cacti documentation for how to use cacti.

If you are looking for complete list of cacti templates and scripts check here

Possible Errors and Solution


Fatal error: Call to undefined function: mysql_pconnect() in /usr/share/php/adodb/drivers/ on line 367


#dpkg-reconfigure php4-mysql

Run as root and then select Yes to the Should MySQL be added to /etc/php4/(cli|cgi)/php.ini

Restart the apache server using the following command

#/etc/init.d/apache2 restart


~ por 3c0linux em setembro 3, 2008.

%d blogueiros gostam disto: