Just a note for changes that i had to make in order to get this working on my server.
I had to install dos2unix and convert the script
a. sudo apt-get install dos2unix
b. navigate to the plugins directory - cd /usr/lib/check_mk_agent/plugins/
c. sudo dos2unix .\speedtest_agent_plugin.sh
Add write permissions to the plugins folder
a. cd /usr/lib/check_mk_agent
b. sudo chmod o+w /usr/lib/check_mk_agent/plugins
Once i made the above changes the script worked perfectly
Hi Team,
Just a note for changes that i had to make in order to get this working on my server.
I had to install dos2unix and convert the script a. sudo apt-get install dos2unix b. navigate to the plugins directory - cd /usr/lib/check_mk_agent/plugins/ c. sudo dos2unix .\speedtest_agent_plugin.sh
Add write permissions to the plugins folder a. cd /usr/lib/check_mk_agent b. sudo chmod o+w /usr/lib/check_mk_agent/plugins
Once i made the above changes the script worked perfectly