Skip to content

influxdb collectd no data #38

Description

@saket424

I am running openwrt 21.02.5 and followed the steps documented in the grafana-influxdb section but i saw no data

# export INFLUXDB_ADDRESS=192.168.16.4
# uci batch <<EOF
set luci_statistics.influxdb=collectd_network_server
set luci_statistics.influxdb.port='25826'
set luci_statistics.influxdb.host="${INFLUXDB_ADDRESS}"
EOF
# uci commit
# /etc/init.d/luci_statistics restart

I investigated a bit and I had to add the following snippet to /tmp/collectd.conf and restart it before the data started appearing on the grafana dashboard

LoadPlugin network
<Plugin network>
        Server "192.168.16.4" "25826"
        CacheFlush 86400
        Forward false
</Plugin>

I have the following packages installed

root@openwrt:/etc/config# opkg list-installed | grep collectd
collectd - 5.12.0-10
collectd-mod-cpu - 5.12.0-10
collectd-mod-dns - 5.12.0-10
collectd-mod-interface - 5.12.0-10
collectd-mod-iwinfo - 5.12.0-10
collectd-mod-load - 5.12.0-10
collectd-mod-logfile - 5.12.0-10
collectd-mod-memory - 5.12.0-10
collectd-mod-network - 5.12.0-10
collectd-mod-openvpn - 5.12.0-10
collectd-mod-ping - 5.12.0-10
collectd-mod-rrdtool - 5.12.0-10
collectd-mod-thermal - 5.12.0-10
collectd-mod-uptime - 5.12.0-10
collectd-mod-wireless - 5.12.0-10
root@openwrt:/etc/config# opkg list-installed | grep luci-app-statistics
luci-app-statistics - git-22.115.68435-0473e99

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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