sFlow on Ubiquiti
Using sFlow to monitor your Ubiquiti devices is easy, and only requires a few configuration lines. A good working configuration would look like the following, under System > Flow-Accounting > sFlow:
agent-address auto
sampling-rate 500
server 192.168.88.194 {
port 6343
}
Use the following commands to set the same configuration as above, substituting your collector's IP and port number:
set system flow-accounting sflow agent-address auto
set system flow-accounting sflow sampling-rate 500
set system flow-accounting sflow server 192.168.88.194 port 6343
If you wanted to set a specific IP address for the sFlow Agent you can simply use the IP instead of "auto". Adjust the sample rate based on your flow volume and the level of granularity and flow retention requirements.