This Check_MK plugin allows you to retrieve various information about your Internet Speed. This includes the following:
If required, this tool can also be extended with some additional information. For the speed tests, the service of ookla (https://www.speedtest.net/) is used.
The plug-in is divided into a client and a server plug-in. You can install the client plugin on the Check_MK server or on any other device with a Check_MK agent.
apt install jq -y
apt install apcalc -y
speedtest_agent_plugin.sh
on the client under the folder: /usr/lib/check_mk_agent/plugins/
chmod +x /usr/lib/check_mk_agent/plugins/speedtest_server_plugin.py
check_mk_agent
if the script can be executed successfully. (output might be encrypted)su - <mycheckmk>
cd local/lib/check_mk/base/plugins/agent_based
chmod +x speedtest_server_plugin.py
Rediscover Services on the host. A new service with the name: Ookla Speed check
should appear. Add it as a monitored Service.
By default, the speed test is performed every 30 minutes. If you want to change this, you can do so in the client/agent plugin (speedtest_agent_plugin.sh
). To do this, simply change the variable content of speedtest_every_min
in the script.