sFlow Developer Tools (Version 5)

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.

sFlow Specifications at sFlow.org

Provides latest specification for sFlow Version 5.

sFlow Agent - Software Overview

Slides (as PDF, with notes) describing the structure of the sFlow Agent Source Code (see below).

sFlow Agent - Source Code

C code providing a reference implementation of an sFlow Version 5 Agent.

sflow5Test.awk

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

sflowtool

The sflowtool command line utility for analyzing sFlow data. Includes source code for an sFlow decoder.

sFlowTrend

sFlowTrend is a free, graphical, sFlow collector, plotting top talkers and interface counters over time.

sflowenable

A script for configuring sFlow agents using the sFlow version 5 MIB