[ovs-discuss] Using OVS+Host sFlow to monitor network traffic

2013-12-01 Thread WEIYU LIU
Hey, all. I used OVS to create a bridge to connect two subnets. And then I created an sflow and attached it to the bridge. But it does not send sflow data to the collector. I also installed a Host sFlow on that server, but it just monitors the local server's performance. I am wondering how can

Re: [ovs-discuss] Using OVS+Host sFlow to monitor network traffic

2013-12-01 Thread Justin Pettit
Please keep this on the mailing list. The man page should be with your OVS distribution ("man ovs-vsctl"). It's also in the Documentation tab of the Open vSwitch web site. --Justin On Dec 1, 2013, at 3:36 PM, WEIYU LIU wrote: > Thanks very much for your reply. Not yet. Would you please sen

Re: [ovs-discuss] Using OVS+Host sFlow to monitor network traffic

2013-12-01 Thread Peter Phaal
The Host sFlow agent ships with the sflowovsd daemon that automatically configures sFlow on Open vSwitch to match the Host sFlow settings (i.e. picking up sampling rates, polling intervals, sFlow collectors, ports etc). Just run the following command and you should start receiving sFlow from al

Re: [ovs-discuss] Using OVS+Host sFlow to monitor network traffic

2013-12-01 Thread WEIYU LIU
Hey, I followed the configuration example and the FAQ. My specific configuration is as follows: sudo ovs-vsctl add-br br0 ovs-vsctl add-bond br0 bond0 eth1 eth2 But the sflow data caught by the host with the collector IP still does not have the package through the bridge. What other configurati

Re: [ovs-discuss] Using OVS+Host sFlow to monitor network traffic

2013-12-01 Thread Justin Pettit
Did you actually configure sFlow? The commands you listed below don't indicate that. You should either look at the example in ovs-vsctl (and read the ovs-vswitchd.conf.db man page) or follow Peter Phaal's suggestion. --Justin On Dec 1, 2013, at 4:55 PM, WEIYU LIU wrote: > Hey, I followed t

[ovs-discuss] Commands for checking counters

2013-12-01 Thread Zhou, Han
Hi, There are counters defined by macro COVERAGE_DEFINE, e.g.: COVERAGE_DEFINE(upcall_queue_overflow); Is there a command or any tricks to check the value of the counters? I used gdb attaching to running thread to check it, but it would be highly appreciated if someone could help point out the co

Re: [ovs-discuss] Using OVS+Host sFlow to monitor network traffic

2013-12-01 Thread Peter Phaal
Your sampling rate is 1-in-64 packets. A few pings aren’t likely to register. You should try larger flows with ping -f or iperf. The following article uses iperf to demonstrate how sFlow is used to detect large flows: http://blog.sflow.com/2013/06/large-flow-detection.html The article also sho