Cacti Installation and Configuration

Installation: Ubuntu Server 12.04

In Ubuntu Cacti 0.8.8a with the Plugin Architecture is not yet part of the main distribution. We need a few extra steps to install Cacti 0.8.8a at this time:

 # apt-get install python-software-properties!

After this operation, 22.0 MB of additional disk space will be used.!

Do you want to continue [Y/n]? Y!

# add-apt-repository ppa:micahg/ppa!

You are about to add the following PPA to your system:!

These are packages that I wanted backported to the current stable release.!

More info: https://launchpad.net/~micahg/+archive/ppa!

Press [ENTER] to continue or ctrl-c to cancel adding it

(Press <ENTER> at this point)!

# apt-get update!

# apt-get install cacti!

0 upgraded, 62 newly installed, 0 to remove and 0 not upgraded.!

Need to get 55.4 MB of archives.!

After this operation, 175 MB of additional disk space will be used.!

Do you want to continue [Y/n]? Y!

We may have already done this for you. If so, you can use these slides for informational purposes. Skip to the Cacti Web installation steps to continue…

Step-1:

gpontutorials.com-cacti installation
                                  

Use the  root password given in class. Please do not use a different password.

Step-2:

gpontutorials.com-cacti installation
                     Again, use the root password.

Step-3:

gpontutorials.com-cacti installation
                

Informational message only. Not an issue. Press OK to continue.

Step-4:

gpontutorials.com-cacti installation
                   

We are using Apache2. Be sure this is chosen then highlight <Ok> and press <ENTER> to continue.

Step-5:

gpontutorials.com-cacti installation
               

Choose <Yes> and press <ENTER> to continue.

Step-6:

gpontutorials.com-cacti installation
    

Use the workshop root password you provided earlier.

Step-7:

gpontutorials.com-cacti installation
           

Use any password you wish. This is not the workshop root password.

Step-8:

gpontutorials.com-cacti installation
       

Repeat the password you just entered in the previous screen.

Installation – Web:

Now use a web browser and open the desire address:

Step-1:

Step-2:

Choose “New Install” and press “Next >>” again.

Step-3:

Your screen should look like this. If it does not ask your instructor for help. Press “Finish

First Time Login:

For the first time login use: User Name: adminPassword: admin

——–Now you must change the admin password after first time login.——–

Fix Localhost Graphs:

There is a minor bug with Cacti version 0.8.8a. In order to start generating the default graphs for the Localhost entry (preconfigured at install) you need to do the following:
1. After logging in click on the ”console” tab.
2. Click on ”System Utilities” bottom left of the screen.
3. Click on ”Rebuild Poller Cache”

That’s it. Now if you click on the ”graphs” tab you will see graphs for your localhost appear within 5 minutes.

Final Installation Steps:

Back at your system prompt you need to enter in a few final commands to clean up our software repositories and fix a minor bug in the current Cacti 0.8.8.a package:

# add-apt-repository -r ppa:micahg/ppa!
You are about to remove the following PPA from your system:!
These are packages that I wanted backported to the current stable release.!
More info: https://launchpad.net/~micahg/+archive/ppa!
Press [ENTER] to continue or ctrl-c to cancel removing it
(Press <ENTER> at this point)!

Next you need to create some logical links to support the Cacti Plugin Architecture properly:

# ln -s /usr/share/cacti/site/include /usr/local/share/cacti/include!
# ln -s /usr/share/cacti/site/lib /usr/local/share/cacti/lib!

****Congratulations You have done it!!****

 

Be the first to comment

Leave a Reply

Your email address will not be published.


*


For security, use of Google's reCAPTCHA service is required which is subject to the Google Privacy Policy and Terms of Use.

I agree to these terms.