Importing sFlow Counter Sampling Data (original) (raw)

sFlow counters are natively supported as input methods of metric data instead of gmond metric collection. If you are using the Host sFlow agent to already monitor your services and sample network traffic, you do not need to install multiple agents to collect the same information.

Configure ganglia.conf to receive sFlow data

/* channel to receive sFlow */
/* 6343 is the default sFlow port, an explicit sFlow    */
/* configuration section is needed to override default  */ 
udp_recv_channel {
  port = 6343
}

On the host, configure hsflow.conf to send sFlow data to the ganglia collector

  collector {
    ip = 127.0.0.1
  }