Cacti Network Management Installation Tutorial

Cacti Network Management Installation Tutorial

Cacti Nms

Cacti Network Management Installation Tutorial

Network management has to be, one of the most neglected pieces of networking. I am sure we all have our hypotheses as to why but that is for another day. This tutorial is for installing the latest stable release 0.8.8a, released on 04/29/12. I needed to proof Cacti and get a scripted installation together. Cacti has been around a long time and has a nice ecosystem of plugins. Like any open source there is much more code then documentation. That said, the Cacti community forum is fantastic and full of community contributions. I tested the installation on both current CentOS and RHEL. It could be easily ported to Ubuntu s/yum/apt-get/g.

Cacti Network Management Plugins

Here are some supported and user built plugins part of this install.

  • Discovery – Auto Host Discovery
  • Mactrack – End Device Port Tracker and General Network Toolkit
  • Monitor – Monitoring for Cacti
  • Realtime – Realtime Graph Viewer
  • Routerconfigs – Router Config Backup
  • Syslog – Sylog Viewer for Cacti
  • Weathermap – Generate maps and diagrams using data collected by Cacti or other sources

Examples of Cacti

A couple of my friends in have some public examples of similar Cacti network management deployments using the Weathermap plugin for Cacti.

Cacti Installation ScreenCast

Cacti Network Management Installation Script

I started writing my own script from the doc and realized I needed better documentation. Poking around on the forum I found a nice script that had already done most of the work on the forums. I modified it for the latest releases, modified a couple of PHP configs and updated a couple of plugins.

The Cisco Catalyst 6500 template I used for the screencast can be downloaded here. Simply copy and paste it into the templates section and then associate it to the 6500 you populate. Check the forums for more templates.

Post Installation and Plugins

If you have issues with RHEL you may need to run the following.

Enable plugins under settings -> Management as shown in the following screen capture. Just click the blue down arrow to add it into the console as tab.


Cacti Plugins

So checkout the forums if interested and see if any of the project can help your operations, maybe even contribute what you do back.
Thanks for stopping by.


About the Author

Brent SalisburyI have over 15 years of experience wearing various hats from, network engineer, architect, devops and software engineer. I currently have the pleasure of working at the company that develops my favorite software I have ever used, Docker. My comments here are my personal thoughts and opinions. More at Brent's BioView all posts by Brent Salisbury →

Guest
2 years 6 months ago


Hi Brent,

Nice article, but I think the title doesn’t meet with cacti, as far I know cacti isn’t a network management it’s only network monitoring system.

cheers :)

Guest
Zoltan Ori
1 year 7 months ago


True, but monitoring and trending are all part of management. There have been a lot of plugins developed that push it beyond its’ basics.

It’s all only eye candy without a good understanding of SNMP and mibs. But, I see less control put into manufacturers mibs than previous and just legacy standard counters which is odd since there is now some security with v3 instead of obscurity of v1 & v2c

Guest
erteck
2 years 7 months ago


,how about the installation of CactiWMI in cacti Version 0.8.8a in CentOS,
anyone here knows how to install the WMI???

plsss,,help me :(

Guest
2 years 8 months ago


Mate. Super post. There are some solid custom builds around that are compiled. I am currently investigating http://cactiez.cactiusers.org/ – It is built with a raft of popular plugins and scripted deployment.

Great post Brent.

Guest
sh0x
2 years 8 months ago


Another thing, flowtools only supported netflow. Nfsen supports netflow and sflow. To use sflow with flowtools, flows have to be converted.

Guest
Zoltan Ori
1 year 7 months ago


Flowtools also only supports v5 netflow.
The ability to do tagging and create filters made netflow a great tool. Flow Viewer is a great frontend for flowtools.

Guest
sh0x
2 years 8 months ago


The netflow plugin in cacti is a front-end for flowtools collector, which is kind of old school now days (but still useful). Flowtools doesn’t have a GUI, so the Cacti plugin provides that… Nfsen is another open source collector that comes with its own WebUI. Neither are pretty but get the job done in a pinch :)

Similarly the Routerconfigs plugin is a front-end for accessing data in RANCID, and alternatively RANCID configs can be viewed and diffed using ViewVC.

Guest
Zoltan Ori
1 year 7 months ago


Check out Silk as another possibility

Guest
2 years 8 months ago


This is amazing. I’d done this years ago and promptly forgotten all the pieces and parts. After 30 minutes of tinkering and this script, I have a complete graphing setup for a project I was working on. Thanks.