Setting up Ganglia and sflow in the cloud
In this guide, we are going to set up a Ganglia and sFlow monitoring system that will be able to dynamically monitor and report the performance of cloud instances in real-time.
EC2 computer servers, but can be replicated identically on any major cloud services provider including Eucalyptus, Openstack, Cloudstack, etc.
Figure 3 gives the set-up diagram. In this scenario, we are using two instances for demo purposes. One instance will contain the Ganglia gmetad and gmond daemons, and the other instance will contain only the Host sFlow agent. The Host sFlow agent will continuously monitor the instance and send back the collected metrics to Ganglia’s gmond daemon, which in turn, will feed the metrics to gmetad for processing and visualisation.
be multiple such Host sFlow agents monitoring the CPU, network, disk workloads and reporting these back to a single or even multiple instances of Ganglia. The design can vary as per your requirement.