Cacti is an open source web based network monitoring tool designed as the front end application for the RRDtool (Round-Robin database tool), it allows a user to poll the services at a interval of time and resulting in the graph format. Cacti is generally used to get a graph data for the cpu and network bandwidth utilization, it monitors the network traffic by polling a router or switch via snmp.
Here is the small tutorial about installing Cacti on Ubuntu 14.04 / Linux Mint 17.
Install the following packages for Cacti setup.
sudo apt-get install apache2 php5 php5-mysql php5-snmp mysql-client mysql-server snmpd rrdtool
You will be asked to setup root password for MySQL, which will be required to setup cacti.
Install the cacti package using the following command, follow the onscreen instruction to setup the cacti.
sudo apt-get install cacti
Just give OK in the next screen to configure php.ini.
Select web server for which cacti should be automatically configured.
Click Yes to configure the database for cacti, otherwise click no.
Enter the root password of MySQL.
Enter the password for cacti user for cacti database.
Re enter the password.
Visit the following url to start the installation of cacti. http://your-ip-address/cacti. Click on Next to continue.
Scroll down for the options, please select New Install for the new installation and then click Next.
It will show you, if there is any package is missing which is mandatory for the cacti.
Enter User Name and Password (Default admin / admin)
You must change the default password.
The following shows the dashboard of the cacti.
Now you can start configuring the Cacti to monitor your devices. More documentation can be found here. We welcome your comments, please post your valuable comments below.