Skip to content

Unable to run plugin in netdata v1.21.1-10-ge99692f1 #2

Description

@RobCodemonkey

I gather that it's been a while but I can't see anything overtly wrong (though I 100% may just be stupid).

charts.d plugin picks up the speedtest chart definition and if speedtest-cli isn't installed, throws an error - all good so far.
pip install speedtest-cli
running speedtest-cli directly from shell works perfectly and speedtest-cli is present in /usr/bin

However, attempting to run with debug gets me:
2020-04-16 10:54:47: charts.d: INFO: main: started from '/usr/libexec/netdata/plugins.d/charts.d.plugin' with options: debug 60 speedtest 2020-04-16 10:54:47: charts.d: INFO: main: Configuration file '/usr/lib/netdata/conf.d/charts.d.conf' loaded. 2020-04-16 10:54:47: charts.d: WARNING: main: Configuration file '/etc/netdata/charts.d.conf' not found. 2020-04-16 10:54:47: charts.d: DEBUG: speedtest: is enabled for auto-detection. 2020-04-16 10:54:47: charts.d: DEBUG: main: enabled charts: speedtest 2020-04-16 10:54:47: charts.d: DEBUG: speedtest: loading module: '/usr/libexec/netdata/plugins.d/../charts.d/speedtest.chart.sh' 2020-04-16 10:54:47: charts.d: DEBUG: speedtest: not found module configuration: '/usr/lib/netdata/conf.d/charts.d/speedtest.conf' 2020-04-16 10:54:47: charts.d: DEBUG: speedtest: loading module configuration: '/etc/netdata/charts.d/speedtest.conf' **/usr/libexec/netdata/plugins.d/charts.d.plugin: line 90: SPEEDTEST-CLI_CMD=/usr/bin/speedtest-cli: No such file or directory**

I'm happy to attempt to fix and submit a PR but could use a clue :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions