Skip to content

christianeisendle/bandwidth-measure-rrd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bandwidth measurement using iperf3 and RRD

Build status

build status

Setup

Installation of required components on Debian 8

sudo apt-get install iperf3
sudo apt-get install apache2 libapache2-mod-php5
sudo apt-get install rrdtool php5-rrd

iperf3 binaries are also available here: https://iperf.fr/iperf-download.php

Iperf server

A remote machine is required which runs an iperf3 server instance.

iperf3 -s -D

Alternatively, a public iperf3 server can be used. See https://iperf.fr/iperf-servers.php.

Get the source

https://github.com/christianeisendle/bandwidth-measure-rrd.git

Initialize the rrd database

./rrd-init.sh

Configuration

The iperf3 server must be specified using BW_IPERF_SERVER variable either by setting it as environment variable or by specifying it in bandwidth.cfg:

BW_IPERF_SERVER=my.iperfserver.com

Note: bandwidth.cfg must exist; it can be empty, though.

Configure crontab

Example:

*/10 * * * * capture_and_update_db_iperf3.sh

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published