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.