Cacti Network Grapher Virtual Appliance

cactiThis virtual appliance is based on CentOS 7 and is designed to be lightweight, and stable. It has only a minimum of tools installed to make Cacti work.

The OS is set to DHCP, and Cacti is installed.

The username at the console, and passwords set for everything should be ‘cacti’ this will include root and mysql. **With the exception of the Cacti web ui “admin” user, which has the password “Cactipw1!” (no quotes)

The web UI username and password are “admin” and “Cactipw1!” (no quotes)

Cacti is all configured up and includes some plugins, which are not installed by default. It also has some additional host templates for Palo Alto firewalls, Cisco ASA Firewalls, F5 BIG-IP load balancers, and a few other things I have found useful over the years.

There is not a ton of documentation, as I simply have not had time.  If you are already familiar with Cacti it should be a breeze.  If there are any questions, please use GitHub Issues, and I can assist and update as needed.




[Update 10/30/2020]

  • Upgraded to new Cacti and Spine v1.2.14 released 8/02/2020
  • Updated all plugins
  • Upgraded PHP to v7.3
  • Upgraded MariaDB to v10.5
  • Various other fixes and tweaks

CentOS7 Appliance with v1.2.14 Cacti, OVA is ~2.6g

[Update 12/10/2019]

  • Upgraded to new Cacti and Spine v1.2.8 released 12/08/2019
  • Updated all plugins
  • Various other fixes and tweaks

LEGACY – CentOS7 Appliance with v1.2.8 Cacti, OVA is ~2.4g

[Update 7/17/2019]

  • Upgraded to new Cacti and Spine v1.2.5 released 7/15/2019
  • Updated all plugins
  • Various other fixes and tweaks
  • Now can upgrade the virtual disk in VMWare

LEGACY – CentOS7 Appliance with v1.2.5 Cacti, OVA is ~2.3g

[Update 1/23/2019]

  • Upgraded to new Cacti and Spine v1.2.1 released 1/20/2019
  • Updated all plugins
  • Various other fixes and tweaks
  • ./cacti-upgrade.sh now installed by default at root of cacti user directory

LEGACY – CentOS7 Appliance with v1.2.1 Cacti, OVA is ~2.3g

[Update 1/4/2019]

New Cacti v1.2.0 is released! TONS of new features and fixes. You can run my update script to automatically update the template. https://github.com/KnoAll/cacti-template this will also offer to update the Smokeping to newly released v2.7.3 as well. There is also a new prompt to disable the Smokeping service if you do not use Smokeping.

 [Update 12/4/2018]

It turns out there has been some development in Smokeping after almost 4 years of quiet! New v2.7.2 is available, so I created a new Smokeping update routine and added it to the script. This will check if you have Smokeping installed, and offer to upgrade if you wish. This can be run via the same routine as the Cacti upgrade from Github below.

[Update 11/28/2018]

I have a first working version of an automated update routine for the cacti-template you can get here. You can get the instructions on how to run it here…

https://github.com/KnoAll/cacti-template

[Update 11/16/2018]

Hello anyone who is listening! the Cacti team is working on the new v1.2 of Cacti which is now in it’s 2nd beta release. I am working on updating the template along with this and there are a lot of changes! I’m also building an upgrade script that can be used to upgrade the appliance with little effort. (Sorry, for now it will only work on the new v1.2.x appliance) More to follow as things progress.

[Update 4/2/2018]

  • Upgraded to new Cacti and Spine v1.1.37 released 3/25/2018
  • Updated all plugins

LEGACY – CentOS7 Appliance with v1.1.37 Cacti, OVA is ~2.2g


275 thoughts on “Cacti Network Grapher Virtual Appliance”

  1. Kevin, FWIW, I have ran your suggested upgrade from the link to 1.1.30, but the current syslog avail plug in (1.22.2) still giving me not compatible / legacy plugin – imagine there’s something else that needs to be kicked besides the 1.1.30 plugin. I dig around github for what’s suggested (thinking I should have probably “stepped it” first to 1.1.29, vs going straight to 1.1.30), either way – please feel free to share if you have the “Duh, you need to do this” if its readily avail.

  2. Just posted new version of appliance with v1.1.30 of Cacti. Also added the Syslog plugin that has been requested! Several other tweaks here and there.

  3. Re “get_current_page() ” – ok – confirming for the thread, have been using tarball “CentOS7_Cacti-v1.1.20.tar”, which double-checking from the graphic of Cacti v 1.1.20 – I can see from main Cacti website, it’s now up to 1.1.29 – I will sniff around on the upgrade process, but if you’ve got a “quicker link” for your tarball, grateful for the share! 🙂

  4. I heard that 1.1.30 might be released in the next few days so I was holding off until that to publish. If we haven’t seen it by the weekend I’ll publish anyway.

  5. Keep doing great work Kevin and God bless you and yours. When you are done with your optimization, please share here, so that I can apply those changes and test at my end. Otherwise cacti 1.30 version release is coming up shortly as well.

  6. Interesting. I do have the current syslog up and working now. Just doing some tweaks to make sure it is working correctly. So far everything looks good.

  7. I am also keen for SYSLOG plugin update – I asked Kevin about it earlier in the year

  8. I installed it on ESXi 5.5 and latest version of appliance installs fine. I also downloaded latest supported version of syslog from Git, uploaded to the plugin folder, unzipped it, renamed this directory as syslog. Syslog appears under Plugin management section, but shows up as not supported / legacy.

    Kevin and others, if anyone did further work on syslog, please advise. Thanks and best wishes for new year for all.

  9. Great, This would certainly be of much help for everyone. VM version 8 will cater to a wider audience.

  10. Many thanks for the updated template. It would be great if you can set the VM version 8 in the OVA. This would help everyone to run the VM on the older version of ESXi also.

  11. Hi Kevin,

    is there any reason to set the ESXi requirements as high as 6.5 (vmx-13) in the OVA?

    CentOS7 is officially supported in ESXi 6 (vmx-11) and runs well even on lower versions.

  12. Hi,
    thank you for your work. Is there a way to import plugin from Web UI or is necessary Plugin Architecture? If this is the case, can you please provide a virtual image with it?

  13. Hi,

    is there a way to deploy the actual 1.1.28 on esxi 5.1?
    I receive errors regarding “OVF requires not supported hardware, Details: Line 25 not supported hardware family ‘vmx-13′”

    Oliver.

  14. Hi Kevin ! a question, how could I do to install or convert that virtual machine on a real hard drive and make it work on a real pc? Thank you !

  15. For those paying attention, Chris and I talked this through offline and came up with a workaround. Instead of expanding the drive, he was able to create a virtual HD, format it and create a directory structure that he pointed a link to for the rra folder in cacti. Sounds like it is working!

  16. There are three i think comments here that is not yet answered regarding “ERROR: opening ‘/var/www/html/cacti-1.1.10/rra/4/16.rrd’: No such file or directory”. can you help us developer?

  17. Hi, why is it if i make a new data source it gives me a path of /3/22.rrd (for example). and when i try to graph it it says “error opening ‘/var/www/html/rra/3/22.rrd”

  18. not so easy to expand drive. I have a free license of ESXi, and only vSphere tools. Hard disk cannot be directly increased due to VM hardware version. Editing the ova directly doesn’t work. vSphere converter can create VMs in older VM version, but they don’t boot. Anyone else have success at making the disk larger? I would consider a donation for an OVA with a 50G disk.

  19. Hi Kevin thanks your interest. I downloand last cacti versiyon but I didnt login with Cacti Cactipw1! to Weblogin . Are you sure username and pasword correct ?

  20. The appliance is deliberately set to a small footprint. It is relatively easy to resize the disks in your VM environment and CentOS so that everyone can do this to suit individual needs. A quick search should get you the commands you need based on your environment. Unfortunately those instructions are beyond the scope of this blog.

  21. Any way to get the disk space a little larger? The extra 3G fills up fast with a few hundred nodes to graph.

  22. @Christoper Smith, I have not had any luck with a syslog alternative. I have also not had much luck with the Cacti Syslog plugin in the new version. To be fair I have not tried very hard either. If you find something let me know!

  23. Hi Kevin,

    I have recently installed “CentOS7_Cacti-v1.1.26.ova” on my network and it seems to send scripted/automated/malicious traffic (HTTP/S) to google resulting google to block my IP.

    https://support.google.com/websearch/answer/86640?hl=en

    I have ran wireshark against the server and it seems to make
    numerous connection attempt to several google IPs.

    You aware of this?

    Can you tell which script or plugin doing it?

    rashed

  24. Great work on these builds, it’s become my new Cacti-EZ! 🙂

    Have you had any luck on a syslog alternative + Cacti? Scratching through the forums, can see “clog” is now native, but am guessing requires massaging native syslog to dump stuff into the Cacti Log (rather hear its a breeze before I start mucking with my install)? Also, noticed this syslog plug-in (@ https://docs.cacti.net/plugin:syslog) is for older versions (pre Cacti 1.0.0)

  25. The cacti username and password does not pass as a password on the console. Would anyone know what the correct password is?

  26. Hi Kevin !
    I downloaded and installed the VM [Update 6/13/2017] and still having same problem !!!
    When I try to make a graph I always get the same error:
    “ERROR: opening ‘/var/www/html/cacti-1.1.10/rra/4/16.rrd’: No such file or directory”
    If I “touch” and create the empty file 16.rrd then I receive the following error
    ERROR: mmaping file ‘/var/www/html/cacti-1.1.10/rra/4/16.rrd’: Invalid argument…

    Can you help me please???

  27. @Kevin I have installed following version to see how weathermap works… and found although in your VM it shows weather map but I can’t get it going.
    Does weathermap supports 0.8.8.h ?
    Cacti now at the newest 0.8.8.h, released 5/8/2016

Comments are closed.