Saturday, July 9, 2011

Install and Configure Cacti monitoring tool in Ubuntu...........

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.

First you need to make sure you have install Ubuntu  and then you need to install the following packages :-

$sudo apt-get install php5 php5-gd php5-mysql

Install cacti using the following command :-
$sudo apt-get install cacti-spine

This will start installing cacti and prompt for some questions.

Configuring libphp-adodb option select ok Enter to Continue.



Select your webserver in this example we are using apache2 select ok Enter to Continue



Configure database for cacti select yes Enter to Continue



Enter the root password for your mysql server select ok Enter to Continue



Enter the password (cacti) for the cacti database,select ok Enter to Continue



Re-enter your password


This will complete the cacti installation.

Configuring Cacti

Now you need to point your browser http://serverip/cacti press enter.You should see similar to the following screen Click Next to Continue.



You need to select the type of installation as New Installation and click next to Continue.



Now it will check all the required paths are correct or not you can see this in the following screen here click on Finish



Now you should see the Cacti Login screen as follows



Here you need to enter username and password as admin/admin and click login



First time it will prompt you to change cacti admin user password for security reasons and click save.



You should see the following screen like below once you logged.



In the above screen Under Configuration Click settings on your right hand side click on paths.Make sure in the “Spine Poller File Path”, you have “/usr/sbin/spine”
 


Now you need to click on Poller Select “spine” in the “Poller Type”,click on Save.



Now you need to wait for 15 min to see your server graphs starts appearing in cacti graphs.Now your Cacti Monitoring Server is Ready




 Thanks ,


Source :-http://www.ubuntugeek.com/install-and-configure-cacti-monitoring-tool-in-ubuntu-9-10-karmic-server.html

1 comment:

  1. It's rare that you stumble upon excellent sites like this! Good and attractive information, I’ll come back to read more. Keep posting 

    www.n8fan.net

    ReplyDelete