sFlow-RT Countries and Networks

Dashboard

Trend network traffic by source and destination countries and networks
Last updated: 14 days ago

Downloads: 10

Reviews: 0

  • sFlow-RT Countries.png
    sFlow-RT Countries.png

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:

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:

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:

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']
Dependencies: