What configuration commands did you use? Did you enable sFlow on each of the bridges? The following Cookbook describes how to configure sFlow: http://openvswitch.org/support/config-cookbooks/sflow/ <http://openvswitch.org/support/config-cookbooks/sflow/>
The polling and sampling settings in your configuration aren’t suitable for production use: 1. A polling interval >= 10 seconds gives better accuracy and reduces overhead given that the internal counters being polled are only updated every second. 2. A sampling rate of >= 100 greatly reduces overhead associated with packet sampling and yields more accurate results since the probability of losing samples is reduced. All traffic traversing the bridges is monitored by the sFlow agent. Depending on how the data paths have been programmed, it is quite possible that virtual hosts are being monitored with sFlow that cannot ping each other. For example, you might have storage traffic from the hypervisor crossing the bridge and being monitored along with traffic from, to, and between virtual machines. Forwarding policies isolate the different packet paths, but the sFlow agent provides visibility into all the paths. > On Apr 18, 2016, at 3:40 PM, Syed Faraz Ali <farazal...@gmail.com> wrote: > > Hello, > > I'm trying to integrate pmacct tool and wants to collect data via > sFlow/NetFlow. > Initially, I started with sFlow and this is how my configuration looks > currently on openvswitch > > #sudo ovs-vsctl list sflow > _uuid : 94c4e830-e26a-4ce1-b32d-692653dbb2dd > agent : "eth0" > external_ids : {} > header : 128 > polling : 1 > sampling : 1 > targets : ["192.168.56.103:6343 <http://192.168.56.103:6343/>"] > > But I'm not getting the correct statistics, instead I'm getting data from IPs > which are not even configured anywhere and I cannot ping them too. Between, I > have setup two VMs for my setup. > Openvswitch is configured with 192.168.56.104 on eth0 and eth1 is configured > as host-based > pmacct is configured with 192.168.56.103 on eth0 and eth1 as host-based. > > I want to know if the sFlow configuration looks fine or may be I'm missing > something > > Let me know if any further information is required. > > Regards, > Faraz > > _______________________________________________ > discuss mailing list > discuss@openvswitch.org > http://openvswitch.org/mailman/listinfo/discuss
_______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss