Wow, it has been a long time since I have posted! It has been a really long time since I posted my MRTG Virtual Appliance. Today I hope to make up for some of that with this post of my Cacti RRDTool based Virtual Appliance. This virtual appliance is based on CentOS 6 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 default webpage opens up to some information on usernames/passwords and install locations, etc.
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. There is no requirement for Linux experience for basic operation. If there are any questions, please leave a comment, and I can assist and update as needed.
[Update: 7/8/2015] Updated many things in the appliance.
- Cacti now at newest version 0.8.8d, released 06/09/15
- added Discovery plugin
- added Syslog plugin
- added default traffic template
- added FortiGate template
- minor tweaks
- OVA file should now import directly to VMWare
Please let me know if you have any issues, or other suggestions!
v2 Cacti Virtual Appliance Download OVA is ~ 780m
Legacy v1 Cacti Virtual Appliance download OVA is ~630m
Network interface not showing up after you import the template?
Couple things to check;
Does /etc/udev/rules.d/70-persistent-net.rules exist?
If so, lets move it out of the way (this command moves it to the users home directory);
sudo mv /etc/udev/rules.d/70-persistent-net.rules ~/
Now lets check the interface configuration;
The “network” file here will be where you control your systems hostname, its default hostname is “cacti-template”, change it freely. If you don’t mind, you can ignore this file.
In this directory you will have your network interface configuration files;
Loopback = ifcfg-lo
Primary Interface = ifcfg-eth0
If your network interface is not showing up, you may have a MAC address issue. You will need to update the ifcfg-eth0 configuration with your actual MAC address. The MAC address field in the ifcfg-eth0 configuration file is;
Get the mac address of the physical network adapter from the virtual machine’s settings, and simply replace the existing entry in ifcfg-eth0 with that MAC address.
Once the /etc/udev/rules.d/70-persistent-net.rules file is moved out of the way, and the ifcfg-eth0 configuration is updated, reboot the system and you should have networking.