November 15, 2008 · Server · Email This Post

If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!

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 hundreds of devices.

Cacti Features

If you want to know more about cacti check here

Install cacti in Ubuntu 8.10 (Intrepid Ibex) Server

Preparing Your system

First you need to make sure you have install Ubuntu 8.10 LAMP server and then you need to install the following packages

sudo apt-get install php5 php5-gd php5-mysql

Install accti using the following command

sudo apt-get install cacti-cactid

This will start installing cacti and prompt for some questions.

Configuring libphp-adodb option select ok Enter to Continue.

Select your webserver in this example we are using apache2 select ok Enter to Continue

Cacti spine option select ok Enter to Continue

Configure database for cacti select yes Enter to Continue

Enter the root password for your mysql server select ok Enter to Continue

Enter the password (cacti) for the cacti database,select ok Enter to Continue

Re-enter the password (cacti) for the cacti database,select ok Enter to Continue

This will complete the cacti installation.

Configuring Cacti

Now you need to point your browser http://serverip/cacti press enter.You should see similar to the following screen Click Next to Continue.

You need to select the type of installation as New Installation and click next to Continue.

Now it will check all the required paths are correct or not you can see this in the following screen here click
on Finish

Now you should see the Cacti Login screen as follows

Here you need to enter username and password as admin/admin and click login

First time it will prompt you to change cacti admin user password for security reasons and click save

You should see the following screen like below once you logged.

In the above screen Click settings—>Click settings.Make sure in the “Spine Poller File Path”, you have
“/usr/sbin/spine”

Now you need to click on Poller Select “spine” in the “Poller Type”,click on Save.

Now you need to wait for 15 min to see your server graphs starts appearing in cacti graphs.Now your Cacti Monitoring Server is Ready and if you want to know how use cacti graphs and templates check here

If you want complete list of cacti templates check here

  • Share/Save/Bookmark

Related Articles

7 Comments to “Install and Configure Cacti Monitoring tool in Ubuntu 8.10 (Intrepid Ibex) Server”

  1. FLO.master says:

    Yeah! Peshi eshe afftar jjot!

  2. Anthony says:

    Very interesting article ! I do use cacti at work and never tried to install it on an Ubuntu server. I’ll definitly give it a try ! :)

  3. JoeUser says:

    Personally, I would avoid installing from the .deb, and install from source.

  4. Ian says:

    I cannot seem to generate graphs from anything other than the localhost. I have created the devices and SNMP is reporting back all sorts of attributes like disk space, proc, system info etc. But when I create graphs based on these data, only the Zoom, CSV Export and Top of Page icons are displayed, plus the text for the attributes, e.g. :

    Server 4
    CPU Utilization
    CPU0
    Daily (5 Minute Average)

  5. bob says:

    Hit an interesting snag.

    I can’t go any further than the login screen.
    after I put in “admin”/”admin”, I just get the login screen again.

  6. Anthony says:

    Just tried following this, and the daemon has changed from spine to cactid. So, rather than putting in /usr/sbin/spine, put in /usr/sbin/cactid.

  7. Alex says:

    The .dist for Debian and Ubuntu is installing Cacti 0.8.7b.

    The current version is 0.8.7d

    If you are doing an upgrade, after using the .dist for your initial install, the download file from cacti does not include some essential patches. They are to support the way Ubuntu implements, in particular config.php and others in the cacti/site/include directory.

    The patches can be found at: http://patch-tracking.debian.net/package/cacti/0.8.7d-1

    There is also a tutorial at: http://open4energy.com/tutorials/virtualbox/cacti

    THE WORLD ISN’T OURS TO MESS UP! PSALM 21:1

Leave a Reply