Collectd Errors

I'm trying to setup collectd to capture bandwidth data so that i can then expose to grafana but there seems to be not working i have extroot mounted as shown below. Also some apps do not show up ex.

collectd-mod-sqm - 5.12.0-r53 - SQM/qdisc collection plugin
luci-app-sqm - 25.035.62793~4f7a183 - Luci interface for the SQM scripts queue management package
sqm-scripts - 1.6.0-r1 - A set of scripts that does simple SQM configuration.

root@OpenWrt:~# ps -auxww| grep collectd
root     23214  0.0  0.0   1784  1280 ?        SN   09:49   0:00 /usr/sbin/collectd -C /tmp/collectd.conf -f
root     23410  0.0  0.0   1336   896 pts/0    S+   09:51   0:00 grep collectd
root@OpenWrt:~# cat /tmp/collectd.conf
BaseDir "/var/run/collectd"
PIDFile "/var/run/collectd.pid"
PluginDir "/usr/lib/collectd"
TypesDB "/usr/share/collectd/types.db"
Interval 30
ReadThreads 2
WriteThreads 2
CollectInternalStats false
Hostname "OpenWrt"
Include "/tmp/collectd.d"

root@OpenWrt:~# blkid
/dev/nvme0n1: LABEL="extroot" UUID="2375ec0a-c2b2-4fa6-a0be-584a3b7af921" BLOCK_SIZE="4096" TYPE="ext4"
/dev/mmcblk1p1: LABEL="kernel" UUID="84173db5-fa99-e35a-95c6-28613cc79ea9" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="76faca91-01"
/dev/mmcblk1p2: BLOCK_SIZE="262144" TYPE="squashfs" PARTUUID="76faca91-02"
root@OpenWrt:~# mount
/dev/root on /rom type squashfs (ro,relatime,errors=continue)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
cgroup2 on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
/dev/nvme0n1 on /overlay type ext4 (rw,relatime)
overlayfs:/overlay on / type overlay (rw,noatime,lowerdir=/,upperdir=/overlay/upper,workdir=/overlay/work)
tmpfs on /dev type tmpfs (rw,nosuid,noexec,noatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,noatime,mode=600,ptmxmode=000)
debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,noatime)
bpffs on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,noatime,mode=700)

The dir mentioned here are not being used and as you can see its using a tmp path and for some plugins this error also comes. I have tried remove and install again with no success

Maybe not related but I can not even compile collectd from source, see:
https://github.com/openwrt/openwrt/issues/17149 (see my last entry)

Now i removed everything from packages to conf and rebooted restarted now collectd does not even shows up in luci menu

One of the maintainers is (ping) @hnyman.
Hannu if you think the compile error I was referring to is worth further investigating I have more info about it if you need it.

I got it sorted after completely deleting and rebooting the device

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.