Cacti installation for monitoring servers and routers 1

Cacti installation for monitoring servers and routers

This is done with Ubuntu 12.04 Precise, but, it may be done with othe distros too.

First install the required packages:

Go to /var/www/ download cacti, unpack it and rename it:

Create a database for cacti, a user for the database and insert the cacti tables in it:

 

Edit /var/www/cacti/include/config.php .
Change the fields of the file accordingly:
$database_default = “cacti”;  <–(Change it!)
$database_username = “cactiuser”;  <–(Change it!)
$database_password = “cactiuser”;  <–(Change it!)

A unix user is required for cacti:

Add the cronjob for the poller and enable it:

Give the right permissions to the cacti folder:

Restart apache:

That’s all there is to it! Go ahead and visit cacti with your browser http://server-ip/cacti and the second part of the installation will start.

Comment:

This site uses Akismet to reduce spam. Learn how your comment data is processed.