← All dashboards

sFlow-RT Countries and Networks

Trend network traffic by source and destination countries and networks

sFlow-RT Countries and Networks

This dashboard trends network traffic by country and network reported by sFlow-RT analyzer. The sFlow-RT analysis software collects streaming telemetry from industry standard sFlow Agents embedded in network devices.

Use the sflow/prometheus image to run sFlow-RT using Docker:

console
docker run -d -p 6343:6343/udp -p 8008:8008 sflow/prometheus

To enable SNMP to retrieve network device interface and system names, add the following option:

console
docker run -d -p 6343:6343/udp -p 8008:8008 sflow/prometheus -Dsnmp.ifname=yes

Use the following Prometheus scrape configuration to collect the metrics from sFlow-RT:

console
scrape_configs:
  - job_name: 'sflow-rt-analyzer'
    metrics_path: /prometheus/analyzer/txt
    static_configs:
      - targets: ['sflow-rt.mysite.org:8008']
  - job_name: 'sflow-rt-metrics'
    metrics_path: /prometheus/metrics/ALL/ALL/txt
    static_configs:
      - targets: ['sflow-rt.mysite.org:8008']
    metric_relabel_configs:
      - source_labels: ['agent', 'datasource']
        separator: ':'
        target_label: instance
  - job_name: 'sflow-rt-countries'
    metrics_path: /app/prometheus/scripts/export.js/flows/ALL/txt
    static_configs:
      - targets: ['sflow-rt.mysite.org:8008']
    params:
      metric: ['sflow_country_bps']
      key: ['null:[country:ipsource:both]:unknown','null:[country:ipdestination:both]:unknown']
      label: ['src','dst']
      value: ['bytes']
      scale: ['8']
      aggMode: ['sum']
      minValue: ['1000']
      maxFlows: ['100']
  - job_name: 'sflow-rt-asns'
    metrics_path: /app/prometheus/scripts/export.js/flows/ALL/txt
    static_configs:
      - targets: ['sflow-rt.mysite.org:8008']
    params:
      metric: ['sflow_asn_bps']
      key: ['null:[asn:ipsource:both]:unknown','null:[asn:ipdestination:both]:unknown']
      label: ['src','dst']
      value: ['bytes']
      scale: ['8']
      aggMode: ['sum']
      minValue: ['1000']
      maxFlows: ['100']

Dashboard revisions

RevisionDecscriptionCreated

Reviews

Login or Sign up to write a review

Reviews from the community

Get this dashboard

Data source:

Dependencies:

Import the dashboard template:

or

Download JSON

Docs: Importing dashboards

Downloads: 457