sFlow
os-sflow · Reports
The interfaces' counters sent to up to two collectors as sFlow version 5 counter samples, with what the coprocessor forwards counted in.
In the menu
- With os-xgs-npu installed: XGS: sFlow
- Without os-xgs-npu: Reporting: sFlow
Every 20 seconds by default, 5 to 120, an agent of the plugin's own sends a counter sample for each interface - every assigned interface, VLANs among them, or those chosen in Settings - to up to two collectors, IPv4 or IPv6, on UDP 6343 unless another port is given. os-xgs-npu's own links to the coprocessor are never sent.
On an XGS appliance a connection the coprocessor takes over no longer crosses the host; os-xgs-npu adds what it forwarded to the interfaces' counters, so the samples count it. The page shows the agent, the collectors with the datagrams sent and not sent, and the interfaces. Off by default.
Features
-
Counter samples
sFlow version 5: an interface's counters and its name, in datagrams of 1,400 bytes at most.
-
Two collectors
Each sent the same datagrams, IPv4 or IPv6, on the port it is given.
-
Agent's address
Automatic, or chosen, so that a collector keeps this firewall's interfaces under one address.
-
Traffic in hardware
Counted on a front port and on a VLAN on one, where os-xgs-npu's "Count hardware traffic on the interfaces" is on, its default.
Install and update
Its first release is v1.0.0, of 2026-12-02. It is also installed by hand, as root, on an XGS appliance or on any other OPNsense: from a checkout of the repository with sh install/install.sh, which puts the page under XGS with os-xgs-npu and under Reporting without it, and keeps the settings when run again; sh install/uninstall.sh takes it away. From its first signed release, XGS: Updates installs and updates it from its Plugins tab, with an os-xgs-npu newer than 0.2.0-alpha.1.3. It is not in the OPNsense plugin repository.
Limits, and what is not tested yet
- Packet samples: it sends counters only.
- ifOutDiscards: sent as not available.
- The page in a browser: not opened yet, in either theme or language; its photographs are to be taken with the other pages'.
- More, each with its reason: the README's Not yet, and why.
Repository
First release: 2026-12-02
The discussion of this page is held in the project's GitHub Discussions. Showing it here loads giscus from giscus.app and GitHub, and writing in it needs a GitHub account - what that means.