Skip to main content

Run iperf tests in both directions and send results to Graphite

Project description

PyPi Status

Run bi-directional iperf3 tests and send results to Graphite. Results include bps and retransmits

Installation

pip install iperf_graphite

Usage

$ iperf_graphite --help
usage: iperf_graphite [-h] [-f CONFIG_FILE] [-V]

send iperf stats to graphite

optional arguments:
  -h, --help      show this help message and exit
  -f CONFIG_FILE  Config file
  -V, --version   show program's version

Sample config file:

# Configuration for iperf-graphite.py

# Graphite details
carbon_server: myserver.example.net
carbon_port: 2003
data_point_prefix: "test.iperf"

# Iperf options
iperf_port: 5201
iperf_test_duration: 10

# Sleep time (seconds) between tests
sleep: 0

# List of tests to iterate over
tests:
  - src: 192.0.2.1
    dst: 192.0.2.2
  - src: 1.2.3.4
    dst: 5.6.7.8

Authors

Carlos Vicente (<cvicente@dyn.com>)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

iperf_graphite-1.1.0.tar.gz (4.5 kB view details)

Uploaded Source

File details

Details for the file iperf_graphite-1.1.0.tar.gz.

File metadata

File hashes

Hashes for iperf_graphite-1.1.0.tar.gz
Algorithm Hash digest
SHA256 d77548f85b6d1766236e861abfd7aee69287fc5f805292fb2e42853c6d811000
MD5 8f1d382cd2d1d478f0724e33914ab1a6
BLAKE2b-256 573770fc66560ba53fa5bdb186f5ef8e82988f7feedfeea80d691a5e5e3cdbcc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page