Speedtest

I have dug into this and tried running /usr/libexec/netdata/plugins.d/charts.d.plugin

I get the following error

/usr/libexec/netdata/plugins.d/../charts.d/speedtest.chart.sh: line 46: *8/1000: syntax error: operand expected (error token is "*8/1000")
2023-11-05 18:36:30: charts.d: FATAL: main: No charts to collect data from.

Maybe there is an issue with my install or the installer for this plugin after an update?
Im on the latest rasberry pi os fyi and the latest stable netdata.

I have even run the following sudo -u netdata speedtest --accept-license and then ran the above command again and get the following errors.

 charts.d: INFO: main: started from '/usr/libexec/netdata/pl                                                  ugins.d/charts.d.plugin' with options:
2023-11-05 18:40:24: charts.d: INFO: main: Configuration file '/usr/lib/netdata/                                                  conf.d/charts.d.conf' loaded.
/etc/netdata/charts.d.conf: line 1: speedtest: yes: command not found
2023-11-05 18:40:24: charts.d: ERROR: main: Config file '/etc/netdata/charts.d.c                                                  onf' loaded with errors.
2023-11-05 18:40:24: charts.d: INFO: example: is disabled. Add a line with examp                                                  le=force in '/etc/netdata/charts.d.conf' to enable it (or remove the line that d                                                  isables it).
2023-11-05 18:40:24: charts.d: INFO: sensors: is disabled. Add a line with senso                                                  rs=force in '/etc/netdata/charts.d.conf' to enable it (or remove the line that d                                                  isables it).
2023-11-05 18:40:24: charts.d: ERROR: ap: no devices found in AP mode, with 'iw                                                   dev'
2023-11-05 18:40:24: charts.d: ERROR: ap: module's 'ap' check() function reports                                                   failure.
2023-11-05 18:40:24: charts.d: WARNING: apcupsd: command 'apcaccess' is not foun                                                  d in /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/sbin:/usr/sbi                                                  n:/usr/local/bin:/usr/local/sbin.
2023-11-05 18:40:24: charts.d: ERROR: apcupsd: module's 'apcupsd' check() functi                                                  on reports failure.
2023-11-05 18:40:25: charts.d: WARNING: libreswan: command 'ipsec' is not found                                                   in /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/sbin:/usr/sbin:                                                  /usr/local/bin:/usr/local/sbin.
2023-11-05 18:40:25: charts.d: ERROR: libreswan: module's 'libreswan' check() fu                                                  nction reports failure.
2023-11-05 18:40:25: charts.d: WARNING: nut: command 'upsc' is not found in /usr                                                  /local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/sbin:/usr/sbin:/usr/lo                                                  cal/bin:/usr/local/sbin.
2023-11-05 18:40:25: charts.d: ERROR: nut: module's 'nut' check() function repor                                                  ts failure.
2023-11-05 18:40:25: charts.d: WARNING: opensips: command 'opensipsctl' is not f                                                  ound in /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/sbin:/usr/                                                  sbin:/usr/local/bin:/usr/local/sbin.
2023-11-05 18:40:25: charts.d: ERROR: opensips: module's 'opensips' check() func                                                  tion reports failure.
[2023-11-05 18:40:28.570] [error] Error: [101] Network unreachable
CHART speedtest.download_speed '' 'Download Bandwidth' 'kilobits/s' 'speed' 'speedtest.download' area 150000 1800 '' '' 'speedtest'
DIMENSION speedtest.download_speed '' absolute 1 1
CHART speedtest.upload_speed '' 'Upload Bandwidth' 'kilobits/s' 'speed' 'speedtest.upload' area 150000 1800 '' '' 'speedtest'
DIMENSION speedtest.upload_speed '' absolute 1 1
CHART speedtest.packet_loss '' 'Packet Loss' 'packet loss %' 'loss' 'speedtest.packetloss' line 150000 1800 '' '' 'speedtest'
DIMENSION speedtest.packet_loss '' percentage-of-absolute-row 1 1
CHART speedtest.idle_latency '' 'Idle Latency' 'milliseconds' 'latency' 'speedtest.idle_latency' line 150000 1800 '' '' 'speedtest'
1 Like