I was just posting my own results tbh.
Iperf seems to require a host, although the windows build does not.
I think smokeping might be your answer here. You gotta disable SElinux though
config file can usually be found here:
then it's as simple as
SELINUX=disable
Then via aptitude for debian/ubuntu
Code: Select all
sudo aptitude update
sudo aptitude install smokeping curl libauthen-radius-perl libnet-ldap-perl libnet-dns-perl libio-socket-ssl-perl libnet-telnet-perl libsocket6-perl libio-socket-inet6-perl apache2 sendmail
Fedora is just
config is something like the following:
Code: Select all
sudo vi /etc/smokeping/config.d/General
and use it like so:
cgiurl = http://<ipaddressofhost>/cgi-bin/smokeping.cgi
I think it uses fping by default, tcpping is allowed too
Code: Select all
sudo vi /etc/smokeping/config.d/Probes
then this is what is in my probe config:
+ FPing
binary = /usr/bin/fping
offset = 50%
step = 60
timeout = 10
pings = 5
+ TCPPing
binary = /usr/bin/tcpping
forks = 5
offset = 50%
step = 60
timeout = 10
pings = 5
Fork is akin to the number of processes used, offset is a variation of concurrent probes relative to start time at a given timepoint. Step is the duration of probing in seconds, timeout is obvious and pings is the total during an interval.
You can set more than one target too, using
Code: Select all
sudo vi /etc/smokeping/config.d/Targets
probe = FPing
menu = Latency
title = Latency Measurement
remark = SmokePing Latency Test.
+ Internal_Host
menu = Internal_Hosts
title = Cloud Latency Measurements
++ Home
title = Home
host = 192.168.1.6
++ Google_UK
title = Google UK
host = 74.125.24.94
++ CT
title = ptacrazytronners
host = 78.46.226.236
You can add "probe" too, specifying the protocol to use.
Also, whenever you make changes, smokeping has to be restarted. It runs as a service on Fedora, AFAIK.
That do?
**Edit: Forgot something: program doesn't go in /bin, the path is /etc/init.d/smokeping if you need to restart it