Good Day my dear Linux Yogi’s,
in today’s illustration I am showing you how to install, setup and configure Cacti a Web-based Network Monitoring tool. Cacti can monitor all sort of network devices from servers to switches, firewalls and routers to simple power backup units. Cacti can also be enhanced with its plugin interface.
As usual you should make sure your system is up to date. Run the following commands:
sudo apt-get update sudo apt-get upgrade -y sudo apt-get dist-upgrade -y sudo apt-get autoremove
Now you got this out of the way lets install cacti and everything we need with the following command:
sudo apt-get install apache2 mysql-server-5.7 php libapache2-mod-php apache2-utils snmp snmpd rrdtool cacti cacti-spine
At this point we have to set up the root users password for the MySQL Database
and now you have to confirm that password.
Then you have to choose which web server you are using. In our example we use Apache.
In the next step you have to select “Yes” in order to get the database configured for Cacti.
The Cacti Database needs the cacti user to have a password. Choose a strong password
and confirm it here.
So the terminal based installation is done and you have to move on to the web based set up. Start a web browser and enter the following URL: http://<server name or ip here>/cacti/install in my case it looks like this: http://192.168.0.133/cacti/install
Read the information displayed to you and click on next.
Then select the installation type. If you followed along it would be a “New Install“.
In the next step make sure that there are no red marked section. If you have something red then something went wrong. Click on “Finish” if everything is okay.
Now you are ready to log in. The default username and password is admin / admin
after successful login it makes you change the default password. Choose a good strong password.
Now you are logged in and the system is all ready to go. In the next article I will show you how to add certain equipment like firewall, router, switch, linux server and windows server.
I hope you liked this article until then, Namaste my friends!