Dual-stack sfcapd Listener #649
Unanswered
bnerickson
asked this question in
Q&A
Replies: 1 comment
-
|
The code can be adapted to listen by default in dual stack mode. That should not be that complicated. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Apologies if this has been asked/answered before.
Setup:
OS: Rocky Linux 10.1
Kernel: 6.12.0-124.8.1.el10_1.x86_64
nfdump version: nfdump-1.7.7-1.el10_2.x86_64 / nfdump-libs-1.7.7-1.el10_2.x86_64
Background: I currently use an archaic version of nfsen to parse/display sflow data from Linux machines in LibreNMS. My environment is dual-stack and I serve up an _sflow SRV DNS record for those hosts to export sflow data to with hsflowd. sfcapd is running in the background. Here's a sample of the sfcapd command running on the LibreNMS host:
/usr/bin/sfcapd -D -p 6343 -u librenms -g librenms -B 200000 -S 1 -P /var/nfsen/var/run/p6343.pid -z -n hostname,192.168.0.97,/opt/librenms/rrd/profiles-data/live/hostnameQuestion: Is there any interest in adding simultaneous dual-stack support to sfcapd or would it be too difficult/impossible? Ideally I'd like to have something like the following running and instead of creating a dummy sflow entry in DNS to only return an A entry for my LibreNMS host I could just point the Linux machines at the LibreNMS A/AAAA entry:
/usr/bin/sfcapd -4 -6 -D -p 6343 -u librenms -g librenms -B 200000 -S 1 -P /var/nfsen/var/run/p6343.pid -z -n hostnamea,192.168.0.97,fd00::ffff:c0a8:61,/opt/librenms/rrd/profiles-data/live/hostnameaBeta Was this translation helpful? Give feedback.
All reactions