Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sflowtool is not showing any samples output #48

Open
kishanps opened this issue Apr 30, 2022 · 1 comment
Open

sflowtool is not showing any samples output #48

kishanps opened this issue Apr 30, 2022 · 1 comment

Comments

@kishanps
Copy link

Need some help where I am not seeing any sflow samples output in the sflowtool. Below is the hsflowd config file and I do see takeSample outputs in the debug file but just nothing on the udp port. What prevents sflow samples from being sent out when they made it all the way upto the takeSample() ?

The only error I see in the debugs are the 'Get SIOCGIFADDR' failed errors for every interface since there is no IP assigned to them. Any debugging tips would be helpful.

rev_start=1
hostname=myHostName
sampling=400
header=128
datagram=1400
polling=20
agentIP=2000:f8b0:8096:2e30::6
agent=bond0
ds_index=1
collector=127.0.0.1/6343//
rev_end=1

Debugs

dbg1: psample netlink (type=23) CMD = 0
dbg3: psample: grp=1
dbg2: psample: grp=1 in=272 out=278 n=100 seq=757 drops=0 pktlen=106
takeSample: hook=0 tap=Ethernet1_1_1 in=Ethernet1_1_1 out=Ethernet1_5_1 pkt_len=92 cap_len=92 mac_len=14 (00000000007B -> 0000000000EA et=0x8100)
dbg2: selected sampler Ethernet1_1_1 ifIndex=272
dbg1: psample netlink (type=23) CMD = 0
dbg3: psample: grp=1
dbg2: psample: grp=1 in=272 out=275 n=100 seq=758 drops=0 pktlen=106
takeSample: hook=0 tap=Ethernet1_1_1 in=Ethernet1_1_1 out=Ethernet1_3_1 pkt_len=92 cap_len=92 mac_len=14 (00000000007B -> 0000000000EA et=0x8100)
dbg2: selected sampler Ethernet1_1_1 ifIndex=272
dbg1: psample netlink (type=23) CMD = 0
dbg3: psample: grp=1
dbg2: psample: grp=1 in=272 out=278 n=100 seq=759 drops=0 pktlen=106
@sflow
Copy link
Owner

sflow commented May 3, 2022

What do you have in /etc/hsflowd.conf?
And what OS is running (/etc/os-release)?
And did you build both sflowtool and hsflowd from sources?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants