Sponsored Link

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.

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

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. :

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.

First of all great guide and very simple.
My Problem is with devices other than localhost.
When i add a device such as Cisco Router i can read all info and interfaces of this device but i can’t generate graphs for this device.
if i turn on graph debug mode i can see:

thank you for your response but still the same problem i think the problem is with spine. i tried to re-install many time cacti and on a new fresh OS ubuntu but the problem persist. is there any extra configuration to use spine?

When using the instruction “apt-get install cacti-cactid” to install Cacti in an Ubuntu 9.04 (or earlier) environment you will find that the distribution actually downloads Cacti version 0.8.7b, it places the application and data files in Ubuntu specific directories, and requires Unbuntu/Debian specific patches for config.php, debian.php, global.php, and global-settings.php (not a complete list)

We have updated our tutorial on how to work through this, in particular upgrading from the 0.8.7b distribution Ubuntu provides, now to 0.8.7e, and applying the Debian/Ubuntu specific patches for 0.8.7e

PS – We are not a support business, we use Cacti for data center energy management – we use Ubuntu and Virtual machines to get a standard quick build, and have worked through these issues for our needs – We hope that our experience might help others using cacti with Ubuntu or Debian, particularly those new to Cacti