Cacti Network Management Installation Tutorial

[fancy_header3 variation=”orange”]Cacti Network Management Installation Tutorial[/fancy_header3]

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.

[fancy_header3 variation=”orange”]Cacti Network Management Plugins[/fancy_header3]

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

[fancy_list style=”circle_arrow” variation=”orange”]

  • 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

[/fancy_list]

[fancy_header3 variation=”orange”]Examples of Cacti[/fancy_header3]

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

[fancy_list style=”circle_arrow” variation=”orange”]

[/fancy_list]

[fancy_header3 variation=”orange”]Cacti Installation ScreenCast[/fancy_header3]

[youtube url=”http://www.youtube.com/watch?v=R2OB5eFjeNw&hd=1″ width=”620″ height=”360″ hd=”1″]

[fancy_header3 variation=”orange”]Cacti Network Management Installation Script[/fancy_header3]

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.

[fancy_header3 variation=”orange”]Post Installation and Plugins[/fancy_header3]

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.


[image_frame style=”framed_shadow” align=”center” alt=”Cacti Plugins” title=”Cacti Plugins Console” height=”319″ width=”559″]http://networkstatic.net/wp-content/uploads/2012/12/cacti-plugins.jpg[/image_frame]


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.


By Brent Salisbury

I have over 20 years of experience wearing various hats from, network engineer, architect, ops and software engineer. More at Brent's LinkedIn

14 comments


  1. A few additional “must have” plugins (for larger deployments): boost, dsstats, and autom8!


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


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


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


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


  5. ,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 🙁


  6. 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 🙂


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

Comments are closed.