CLI-based speedtest plugin to obtain internet connection performance metrics such as download, upload, latency and packet loss natively without relying on a web browser.
To run the plugin it is necessary to install the speedtest CLI:
Debian speedtest-cli installation instructions:
curl -s https://install.speedtest.net/app/cli/install.deb.sh | sudo bash
sudo apt-get install speedtest
CentOS speedtest-cli installation instructions:
curl -s https://install.speedtest.net/app/cli/install.rpm.sh | sudo bash
sudo yum install speedtest
The plugin has 3 different execution options:
– As agent plugin:
./pandora_speedtest.pl –type agent
-As a remote execution plugin (generating xml):
./pandora_speedtest.pl –type server -a <agent_name> -s <server_ip> -p <tentacle_server_port> -i <agent_interval>
-As server plugin:
./pandora_speedtest.pl –type server -m <options>
options: latency|download|upload|loss
Modules generated by the plugin:
-Latency
-Download
-Upload
-Lost packets