Recently I needed to monitor a network segment of a client’s network. They were relatively small but were having over utilization issues. Using Cacti, which is a free Linux based SNMP monitoring/graphing program I was able to track network performance metrics such as bandwidth and throughput of switches and firewalls. When used in conjunction with vCenter performance graphing it shouldn’t take long to pinpoint issues you are experiencing. This tool requires SNMP to be configured per device and then pointed at the Cacti server to start tracking and logging the various metrics. Below is a quick tutorial for setting up a Cacti server.
Note: You will not need to download Cacti separately or in advance but for the purpose of learning more about Cacti below is the link the developer’s website.
To install Cacti you will need either a physical computer or a VM. We will be installing our Cacti server into a VMware VM. For the Debian install I created a VM with 2 sockets and 1 core, 1 GB of memory, and a 40 GB hard drive.
The link to the Debian download can be found below. You will need the Debian amd64 ISO. When you select the download ignore the reference to “amd”, it is what Debian calls their general 64 bit OS release. As of 11/27 the name of the latest DVD you need is debian-6.0.6-amd64-DVD-1.iso. Install Debian like you would any operating system with the only exception being enable network mirrors during the installation. Shortly after partitioning the disk you will be asked if you want to use a network mirror for additional repositories. Ensure you select use a network mirror during the install, and point it to one of the many Debian depositories available in the list provided. I selected the first in the list. Failing to do this step will prevent you from installing Cacti the easy way later on. The last step of setting up your Debian VM is to setup a static IP and then you are ready to move on.