Welcome to my video
In this video I show you how to install cacti step-by-step
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 thousands of devices
This is the introduction on the official Cacti website
The installation process includes the following steps
Step 1, install Virtualbox virtual machine software
The link to download the software is in the description of this video
Step to download the ubuntu server operating system installer
Download link is in the description of this video
Click new button to open a dialogue
Type of name for the new virtual machine
Click the type drop-down box then click Linux in the resulting drop-down menu
Click a button to 64-bit before proceeding
Selecting amount of ram to use
Click next
It's at the bottom of the menu
Click create
Select the virtual machine name on the left side of virtualbox
Then click settings
The default networking mode in Virtualbox is NAT, Change it to Bridged
Click on Storage category and then Empty under Controller IDE
Click CD DVD icon on right hand side and select the ubuntu ISO file to mount
Click start
This option is at the bottom of the menu
Ubuntu will begin running
Also make sure the VT-x/Virtualization Technology has been enabled in your computer's BIOS/Basic Input Output System
Using the arrow keys on your keyboard, select the language you wish to use for the installation
And hit enter on your keyboard
Choose continue without update
The next step is to configure networking
Your networking devices will automatically be selected
Using your arrow keys, select the network adapter to be configured and hit Enter
You should set static address for your ubuntu server
Select IPv4 and then, when prompted, use your arrow keys to highlight the IPv4 Method and hit Enter
and hit Enter
From the pop-up select manual
You configure the IP address to suit your network
After configuring the static IP address, tab down to Save and hit Enter on your keyboard
tab down to Done and hit Enter on your keyboard
You now have to select the storage configuration
Chances are good you can stick with the default
Tab down to Continue and hit Enter on your keyboard
In the resulting screen you are asked to create a new user and a name for the server
Fill out the necessary details for the new user and the server's hostname
tab down to Done and hit Enter on your keyboard
Tap the space bar on your keyboard, tab down to Done, and hit Enter on your keyboard
Tab down to Done, and hit Enter on your keyboard
At this point the installation will complete and you'll be prompted to reboot to finish up
Install cacti
Connecting to Ubuntu server using SSH
Update the repository index using the apt command
First install the Apache web server
Additionally, install a few PHP modules for the proper functioning of Cacti
Install the MariaDB
Also, install the SNMP and RRDtool to monitor the devices
All of this is wrapped in an intuitive
easy to use interface that makes sense for LAN-sized installations up to complex networks with thousands of devices
Cacti recommend changing the MariaDB server settings for better performance.
So, edit the configuration file
Add and Update the below settings in the mysqld section of the file
Restart the MariaDB service post the configuration change
We need to set the timezone, memory limit, and execution time in the PHP configuration file for the Cacti installation
For the cacti installation
So edit the PHP ini file depending on your PHP version
Update your time zone as shown below
Create database
Login to the database server
Now create a database for the cacti installation
Create a database user and grant permission to the newly created database
Download the latest version of the Cacti using the wget command
Extract the cacti archive using the tar command and move the extracted files to hop directory
Import the default Cacti database data to the newly created cacti database
Edit the Cacti configuration file to specify the database type, database name, hostname, user, and password information
User and password information
Make the changes accordingly
Create a crontab file to schedule the polling job
Add the following scheduler entry in the crontab so that Cacti can poll every five minutes
Create a new site for the cacti tool
Use the following configuration
You will find the download link in the description of the video
Enable the created site
Restart Apache services
Create a log file for Cacti and allow the Apache user to write a data on to Cacti directory
Login with a username and password of admin
In order to monitor a network device via the SNMP protocol, hit on the Create menu and select New Device
New device
I will add some devices to the monitoring system
The next thing is to wait for the results
And here is the result after 8 hours of waiting
You will get a lot of monitoring information, for example: cpu, memory, storage, bandwidth, etc
Bandwidth Etc
The information is displayed on the chart at different time intervals very easy to see
Thanks for watching don't forget to like and subscribe