Prometheus exporter
10K+
sflow-rt/prometheus is an sFlow-RT application that receives a continuous stream of telemetry from standard sFlow agents embedded in network devices, hosts and applications and exports metrics so that the Prometheus time series database can scrape them.
This image also includes sflow-rt/browse-drops, sflow-rt/browse-flows, sflow-rt/browse-metrics, and sflow-rt/sunburst for exploring metrics.
docker run -p 8008:8008 -p 6343:6343/udp sflow/prometheus
Run Prometheus exporter. Access web interface on port 8008.
docker run -p 8008:8008 -p 6343:6343/udp sflow/prometheus -Dsnmp.ifname=yes
Run Prometheus exporter, enabling SNMP polling of interface and system names.
scrape_configs:
- job_name: 'sflow-rt-analyzer'
metrics_path: /prometheus/analyzer/txt
static_configs:
- targets: ['192.168.1.243:8008']
- job_name: 'sflow-rt-metrics'
metrics_path: /prometheus/metrics/ALL/ALL/txt
static_configs:
- targets: ['192.168.1.243:8008']
- job_name: 'sflow-rt-flow-src-dst-bps'
metrics_path: /app/prometheus/scripts/export.js/flows/ALL/txt
static_configs:
- targets: ['192.168.1.243:8008']
params:
metric: ['ip_src_dst_bps']
key: ['ipsource','ipdestination']
label: ['src','dst']
value: ['bytes']
scale: ['8']
minValue: ['1000']
maxFlows: ['100']
Configure Prometheus to scrape the metrics. In above example, Prometheus exporter is running on host 192.168.1.243.
The following Grafana dashboards provide examples: sFlow-RT Countries and Networks, sFlow-RT Network Interfaces, and sFlow-RT Health.
See sflow/sflow-rt for additional settings available in the base image.
Visit sFlow-RT for documentation, tutorials, and community support.
Please read and accept the License Agreement before downloading this software.
Content type
Image
Digest
sha256:07d742e28…
Size
83.5 MB
Last updated
14 days ago
Requires Docker Desktop 4.37.1 or later.