What is sFlow-RT?
sFlow-RT receives a continuous stream of telemetry from standard sFlow agents embedded in network devices, hosts and applications and converts them into actionable metrics, accessible through a REST API.
Metrics can easily be integrated with a wide variety of on-site and cloud, orchestration, DevOps and Software Defined Networking (SDN) tools.
How to use this image
docker run -p 8008:8008 -p 6343:6343/udp sflow/sflow-rt
Configure sFlow agents to send data to UDP port 6343 on the container. Access the HTTP/REST API on port 8008.
docker run -e "RTMEM=2G" -p 8008:8008 -p 6343:6343/udp sflow/sflow-rt
Increase memory from default 1G to 2G.
docker run -p 8008:8008 -p 6343:6343/udp sflow/sflow-rt -Dgeo.country=resources/config/GeoLite2-Country.mmdb
docker run -v $PWD/my-app:/sflow-rt/app/my-app -p 8008:8008 -p 6343:6343/udp sflow/sflow-rt
Run sFlow-RT Application. Drop the -d option while developing an application to see output of logging commands and use control-c to stop the container.
FROM sflow/sflow-rt:latest COPY /Users/pp/my-app /sflow-rt/app
A simple Dockerfile can be used to generate a new image that includes the application.
FROM sflow/sflow-rt:latest ENV RTAPP="-Dhttp.html.redirect=./app/top-flows/html/" RUN /sflow-rt/get-app.sh sflow-rt top-flows
Similarly, a Dockerfile can be used to generate a new image from published applications. Any required System Properties can also be set in the Dockerfile. Using the RTAPP environment variable for application specific properties allows the user to set additional properties using the RTPROP variable (as shown in previous example).
docker run -v $PWD:/sflow-rt/app --entrypoint /sflow-rt/get-app.sh sflow/sflow-rt sflow-rt top-flows
Download published application to current directory,
Please read and accept the License Agreement before downloading this software.