Page MenuHomeVyOS Platform

sflow is not working
Closed, ResolvedPublicBUG

Description

It seems sflow is not working in the current stable version.

My config:

set system flow-accounting interface bond0
set system flow-accounting sflow agent-address 10.54.255.254
set system flow-accounting sflow server 10.54.120.2 port 6343

I use influxDB to store these flows and it's empty.

I troubleshot using the status command and found the following errors:

Aug 28 09:17:58 hostname uacctd[11085]: WARN: [/etc/pmacct/uacctd.conf:15] Unknown symbol 'sf_10-54-120-2'. Ignored.
Aug 28 09:17:58 hostname uacctd[11085]: WARN: [/etc/pmacct/uacctd.conf:16] Unknown symbol 'sf_10-54-120-2'. Ignored.

So I look into the source code, and found some missing convertion 'dot_colon_to_dash'

I've prepared a patch for this bug.

Details

Difficulty level
Easy (less than an hour)
Version
1.3.3
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)

Related Objects

Mentioned In
1.3.4