sFlow Developer Tools

The following documentation and source code are provided to assist in implementing sFlow agents and for software developers interested in collecting data from sFlow enabled devices.

License Agreement

PLEASE READ THIS LICENSE AGREEMENT ("AGREEMENT") CAREFULLY BEFORE REPRODUCING OR IN ANY WAY UTILIZING THE sFlow® SOFTWARE ("SOFTWARE") AND/OR ANY ACCOMPANYING DOCUMENTATION ("DOCUMENTATION") AND/OR THE RELATED SPECIFICATIONS ("SPECIFICATIONS"). YOUR REPRODUCTION OR USE OF THE SOFTWARE AND/OR THE DOCUMENTATION AND/OR THE SPECIFICATIONS CONSTITUTES YOUR ACCEPTANCE OF THE TERMS AND CONDITIONS OF THIS AGREEMENT. IF YOU DO NOT AGREE TO BE BOUND BY THE TERMS AND CONDITIONS OF THIS AGREEMENT, YOU MAY NOT REPRODUCE OR IN ANY WAY UTILIZE THE SOFTWARE OR THE DOCUMENTATION OR THE SPECIFICATIONS.

RFC 3176 InMon Corpororation's sFlow: A Method for Monitoring Traffic in Switched and Routed Networks

Documents the interfaces (SFLOW-MIB), packet formats (SFLOW-DATAGRAM) and functional requirements of an sFlow Agent.

sFlow Agent - Source Code

C code providing a reference implementation of an sFlow Agent.

sFlowTest.awk

A script for testing the implementation of an sFlow agent.
Note: The test script requires the sflowtool utility.

sFlow Toolkit

The sFlow toolkit provides command line utilities and scripts for analyzing sFlow data. Includes source code for an sFlow decoder.