- Install
speedtest-cli
frompip
and be surepip
exists:
$ pkgin in py34-pip
$ pip install speedtest-cli
- Configure cronjob to run
speedtest-cli
every X hours or minutes:
2,42 * * * * /opt/local/bin/speedtest-cli --simple > /tmp/speedtest.tmp && cat /tmp/speedtest.tmp > /tmp/speedtest.out
- The file
speedtest
need to be placed in theplugins
folder of munin-node. For example:/opt/local/etc/munin/plugins
.