<div dir="ltr">In order to get sFlow from Skydive you just need to set the sFlow endpoint in your switch, then start a sFlow capture on the interface seen by Skydive having the endpoint IP. No need to have Skydive connection to the switch.<div>Do you plan to submit a PR ?<br></div><div><br></div><div>The sFlow probe is here: </div><div><a href="https://github.com/skydive-project/skydive/blob/master/flow/probes/sflow.go">https://github.com/skydive-project/skydive/blob/master/flow/probes/sflow.go</a><br></div><div><br></div><div>The sFlow agent is here:</div><div><a href="https://github.com/skydive-project/skydive/tree/master/sflow">https://github.com/skydive-project/skydive/tree/master/sflow</a></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Oct 7, 2019 at 12:48 PM Tú Phạm <<a href="mailto:phamminhtubkhn@gmail.com">phamminhtubkhn@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto">Thanks for your reply, I created a probe that actively pull lldp information from switches using gosnmp client to build the topology. I wonder whether your suggested solution works on switches that are not directly connected to the skydive host? If it does then this is totally the answer to my question. In that case, may you walk me through the implementation of the sflow probe? I want to integrate it with my working probe but I'm kind of lost reading the source code right now.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Oct 7, 2019, 16:46 Sylvain Afchain <<a href="mailto:safchain@redhat.com" target="_blank">safchain@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>I would suggest to start a sFlow capture on the interface connected to the switch. You will get sFlow metrics as part of the metadata of the interface. You can specify the type of the capture through the WebUI or with the command line.</div><div><br></div><div>skydive client capture create --type sflow ...<br></div><div><br></div><div>A side question :) how did you manage to insert SNMP information to Skydive ? did you use an external tool ?</div><div><br></div><div>Thanks,</div><div>Sylvain</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Oct 7, 2019 at 11:01 AM Tú Phạm <<a href="mailto:phamminhtubkhn@gmail.com" rel="noreferrer" target="_blank">phamminhtubkhn@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi, <div><br></div><div>I'm currently working on building a fabric network topology using Skydive. So far, I have been successful to visualize the network topology using SNMP clients that extract topology information from the LLDP MIB on switches. The remain problem is to gather metrics from each interface and display them on metric tables. I want to ask if sFlow  probe support this particular usecase? If not, which modifications do I need to add in order to make it work?</div><div><br></div><div>Thanks!</div></div>
_______________________________________________<br>
Skydive-dev mailing list<br>
<a href="mailto:Skydive-dev@redhat.com" rel="noreferrer" target="_blank">Skydive-dev@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/skydive-dev" rel="noreferrer noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/skydive-dev</a><br>
</blockquote></div>
</blockquote></div>
</blockquote></div>