- Install
speedtest-clifrompipand be surepipexists:
$ pkgin in py34-pip
$ pip install speedtest-cli
- Configure cronjob to run
speedtest-clievery X hours or minutes:
2,42 * * * * /opt/local/bin/speedtest-cli --simple > /tmp/speedtest.tmp && cat /tmp/speedtest.tmp > /tmp/speedtest.out
- The file
speedtestneed to be placed in thepluginsfolder of munin-node. For example:/opt/local/etc/munin/plugins.