Skip to main content

Hello, I am creating this request because I have a problem with the speedtest plugin, I always get the same error: "UNKNOWN: Command error: ERROR: Unable to connect to servers to test latency."

Is the plugin still maintained ?

 

if the plugin uses speedtest-cli, I think it's because of that because speedtest-cli doesn't work anymore either

 

 

Kélian

Hi @Kélian,

maybe it was outage issue because I tested this morning and it’s work:

hroot@ip-10-25-9-17 ~]# /usr/lib/centreon/plugins/centreon_monitoring_speedtest.pl --plugin=apps::monitoring::speedtest::plugin --mode=internet-bandwidth
OK: speedtest ping time: 11 ms, download: 724.29 Mb/s, upload: 837.38 Mb/s | 'ping.time.milliseconds'=11.883ms;;;0; 'internet.bandwidth.download.bitspersecond'=724293667b/s;;;0; 'internet.bandwidth.upload.bitspersecond'=837380308b/s;;;0;
root@ip-10-25-9-17 ~]# date
Tue Dec 6 08:42:53 UTC 2022

 


can you try the command speedtest-cli pls ? 


And now I have an error:

# speedtest-cli --list
Retrieving speedtest.net configuration...
Cannot retrieve speedtest configuration
ERROR: HTTP Error 403: Forbidden

# /usr/lib/centreon/plugins/centreon_monitoring_speedtest.pl --plugin=apps::monitoring::speedtest::plugin --mode=internet-bandwidth
UNKNOWN: Command error: Cannot retrieve speedtest configuration - ERROR: HTTP Error 403: Forbidden

It looks like a speedtest.net issue


i don’t have the same error 

 


Do you have a proxy on your server to access to Internet?


no, i have a reverse proxy but simple proxy no

 

i’ve tried on a aws vps, and i have the same error


I think the plugin is simply not up to date, I tried to modify the .pl by removing speedtest-cli (old speedtest.net cli) by "speedtest" and I have now a new error which makes sense because the plugin is not adapted for this new command

 

Kélian


You right speedtest-cli must be replaced by speedtest


Yes, and the centreon plugin is not up to date.


same issue, anyone solved it?


It’s more a speedtest issue: https://github.com/sivel/speedtest-cli/pull/788

It’s not a centreon-plugins problem (with speedtest we have the same error).


Hello,

@qgarnier 

i have no error with the speedtest command : 

 

Kélian


The URL to get server list have changed: https://github.com/sivel/speedtest-cli/pull/796

But not it’s not commited. The plugin will use the official version: https://github.com/centreon/centreon-plugins/pull/4563


Reply