How To Install Cacti On Ubuntu 14.04 - 14.10 - Unixmen

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 11

How To Install Cacti On Ubuntu 14.04/14.

10 | Unixmen

Saturday, May 14, 2016 Sign in / Join

About Us Advertising on Unixmen How To Format An Article In WordPress Editor become a contributor Unixmen collaborated with Unixs

HOME LINUX DISTRIBUTIONS LINUX TUTORIALS NEWS FREQUENTLY ASKED QUESTIONS OPENSOURCE

Home  Linux distributions  How To Install Cacti On Ubuntu 14.04/14.10

How To Install Cacti On Ubuntu Su

14.04/14.10
By anismaj

 Share on Facebook  Tweet on Twitter  

file:///D|/images%20file/How%20To%20Install%20Cacti%20On%20Ubuntu%2014.04_14.10%20_%20Unixmen.htm[15/05/2016 3:05:39 PM]


How To Install Cacti On Ubuntu 14.04/14.10 | Unixmen

Cacti is an open source web based network monitoring tool front-end for the data logging
tool called RRDtool. It’s allow users to check the services at an interval of time and
resulting in the graph format. For more information about Cacti refer the official website.

The object of this article is to guide you how to install and setup Cacti on Ubuntu 14.04.

Before installing cacti you need to make sure to install all dependencies.

1 – Lamp server Follow

First step is to install Lamp server (Apache, Mysql, PHP) 7

3
sudo apt-get install apache2 mysql-server php5 libapache2-mod-php5
3

2 – RRDtools 1

1
A useful open source tool for storage and retrieval of time series data.

sudo apt-get -y install rrdtool Lates

3 – SNMP and SNMPd

file:///D|/images%20file/How%20To%20Install%20Cacti%20On%20Ubuntu%2014.04_14.10%20_%20Unixmen.htm[15/05/2016 3:05:39 PM]


How To Install Cacti On Ubuntu 14.04/14.10 | Unixmen

If you want to monitor the localhost where cacti is installed you need to install and
configure the service snmpd.

sudo apt-get -y install snmp snmpd

Now after installing all dependencies we start the installation of cacti.

4 – Cacti and Spine

If you want a faster way to poll servers for information than the default php script
cmd.php, you need to install cacti-spine.

sudo apt-get -y install cacti cacti-spine

 

Popup message will appear like this just select OK and move on.

Free

Now it will ask you for a webserver that you will use it, we choose Apache2 since that’s
what we installed in the  dependencies.

file:///D|/images%20file/How%20To%20Install%20Cacti%20On%20Ubuntu%2014.04_14.10%20_%20Unixmen.htm[15/05/2016 3:05:39 PM]


How To Install Cacti On Ubuntu 14.04/14.10 | Unixmen

Next it will ask to configure the Cacti database, select Yes.

Now it will ask for your root password of MySQL database.

Before we start the web configuration part, we need to start the snmpd service.

sudo /etc/init.d/snmpd start

Now you can access http://ip-of-you-server/cacti after installation, the first login, the
default account and password are “admin”.

Click Next.

file:///D|/images%20file/How%20To%20Install%20Cacti%20On%20Ubuntu%2014.04_14.10%20_%20Unixmen.htm[15/05/2016 3:05:39 PM]


How To Install Cacti On Ubuntu 14.04/14.10 | Unixmen

Select new install and click Next

If everything is green, which it should be if you followed all the steps, click Next.

file:///D|/images%20file/How%20To%20Install%20Cacti%20On%20Ubuntu%2014.04_14.10%20_%20Unixmen.htm[15/05/2016 3:05:39 PM]


How To Install Cacti On Ubuntu 14.04/14.10 | Unixmen

Now you need to type the login and password, the default account and password are
“admin”.

Then you will be prompted to change the password.

file:///D|/images%20file/How%20To%20Install%20Cacti%20On%20Ubuntu%2014.04_14.10%20_%20Unixmen.htm[15/05/2016 3:05:39 PM]


How To Install Cacti On Ubuntu 14.04/14.10 | Unixmen

After login in to Cacti you should see similar to the following screen.

5 – Setup spine

In Console -> Cacti Settings -> Poller, Change the poller Type from comd.php to
spine.

file:///D|/images%20file/How%20To%20Install%20Cacti%20On%20Ubuntu%2014.04_14.10%20_%20Unixmen.htm[15/05/2016 3:05:39 PM]


How To Install Cacti On Ubuntu 14.04/14.10 | Unixmen

6 – Rebuild Poller Cache

Whenever the Poller Interval is changed, the cache must be emptied. To do this, click
“System Utilities” under the Utilities heading on the left-hand navigation panel.Click on
“Rebuild Poller Cache” to empty the cache.

In about 5 minutes you’ll see the first graphs of localhost server start populating under the
graphs tab.

file:///D|/images%20file/How%20To%20Install%20Cacti%20On%20Ubuntu%2014.04_14.10%20_%20Unixmen.htm[15/05/2016 3:05:39 PM]


How To Install Cacti On Ubuntu 14.04/14.10 | Unixmen

Done!

SHARE  Facebook  Twitter   Suka 307 Tweet

Previous article Next article

How To Set Up Eclipse IDE for C/C++ How To Install And Configure VNC On Ubuntu
Development 14.04

RELATED ARTICLES MORE FROM AUTHOR

Linux distributions Linux distributions Announcements

Installation and Review of Fedora 24 Install Webmin On Ubuntu 14 15 Fedora 24 Beta released – See
Beta and 16 What is new

file:///D|/images%20file/How%20To%20Install%20Cacti%20On%20Ubuntu%2014.04_14.10%20_%20Unixmen.htm[15/05/2016 3:05:39 PM]


How To Install Cacti On Ubuntu 14.04/14.10 | Unixmen

 

We were unable to load Disqus. If you are a moderator please see our troubleshooting guide.

5 Comments unixmen  Login

 Recommend ⤤ Share Sort by Newest

Join the discussion…

nfouk • 2 months ago

very helpful, thank you so much!

△ ▽ • Reply • Share ›

fiqah • 7 months ago

how did you get the mail/dns and thold tabs under cacti settings?

△ ▽ • Reply • Share ›

sravan • 7 months ago

Hi,
I installed as per above steps.After login with username and password
If i scan all devices which are in network to be appear in console
here little bit confusing please sugest me.

△ ▽ • Reply • Share ›

file:///D|/images%20file/How%20To%20Install%20Cacti%20On%20Ubuntu%2014.04_14.10%20_%20Unixmen.htm[15/05/2016 3:05:39 PM]


How To Install Cacti On Ubuntu 14.04/14.10 | Unixmen

EDITOR PICKS POPULAR POSTS POPU

Installation and Review of Fedora Everything you should know about Linux di
24 Beta RHCSA Certification
Linux distributions CentOS
Softwar

Linux tu

Hard, soft links, user and group ‘Ifconfig’ Command Not Found In News
management for RHCSA CentOS 7 Minimal Installation –
Frequen
Featured A...
CentOS Openso

Installing docker with Ubuntu 16.04


Release
How to install Univention
LTS, Mint 17 and CentOS 7 Unix
Corporate Server
Linux tutorials
Linux tutorials CentOS

ABOUT US FOLL

Unixmen provide Linux Howtos, Tutorials, Tips & Tricks


,Opensource News. It cover most popular distros like Ubuntu, 
LinuxMint, Fedora, Centos. It is your Gate to the the world of
Linux/Unix and Opensource in General. 

Contact us: webmaster@unixmen.com

© Copyright 2016 - Designed and Maintain by Anblik.

file:///D|/images%20file/How%20To%20Install%20Cacti%20On%20Ubuntu%2014.04_14.10%20_%20Unixmen.htm[15/05/2016 3:05:39 PM]

You might also like