The dependencies are a bit screwed in LuCI.
It checks the presence of sensors support by looking into the executable from lm-sensors package, although that is not actually needed for measurements (which done by the library).
If you have the correct config there already, the sensors graphs work with just libsensors and LuCI shos the graphs, but configuring the sensors requires lm-sensors.
opkg update
opkg install lm-sensors
Ps.
If there are no sensors defined explicitly, collectd will monitor all found, so this should be enough as config (work in my WRT3200ACM):
I installed lm-sensor (though I had to compile everything again.. opkg doesn't work well with this arch and CPU) and the error went away, though I can't seem to get an output.
root@OpenWrt:/etc/config# ls -la /tmp/rrd/*/*
/tmp/rrd/OpenWrt/cpu:
total 8
drwxr-xr-x 2 root root 60 May 25 07:21 .
drwxr-xr-x 7 root root 140 May 25 07:27 ..
-rw-r--r-- 1 root root 7168 May 25 07:29 percent-active.rrd
/tmp/rrd/OpenWrt/interface-br-lan:
total 64
drwxr-xr-x 2 root root 120 May 24 03:31 .
drwxr-xr-x 7 root root 140 May 25 07:27 ..
-rw-r--r-- 1 root root 13560 May 25 07:29 if_dropped.rrd
-rw-r--r-- 1 root root 13560 May 25 07:29 if_errors.rrd
-rw-r--r-- 1 root root 13560 May 25 07:29 if_octets.rrd
-rw-r--r-- 1 root root 13560 May 25 07:29 if_packets.rrd
/tmp/rrd/OpenWrt/interface-eth0:
total 64
drwxr-xr-x 2 root root 120 May 25 07:27 .
drwxr-xr-x 7 root root 140 May 25 07:27 ..
-rw-r--r-- 1 root root 13560 May 25 07:29 if_dropped.rrd
-rw-r--r-- 1 root root 13560 May 25 07:29 if_errors.rrd
-rw-r--r-- 1 root root 13560 May 25 07:29 if_octets.rrd
-rw-r--r-- 1 root root 13560 May 25 07:29 if_packets.rrd
/tmp/rrd/OpenWrt/load:
total 20
drwxr-xr-x 2 root root 60 May 24 03:31 .
drwxr-xr-x 7 root root 140 May 25 07:27 ..
-rw-r--r-- 1 root root 19952 May 25 07:29 load.rrd
/tmp/rrd/OpenWrt/memory:
total 48
drwxr-xr-x 2 root root 160 May 24 03:31 .
drwxr-xr-x 7 root root 140 May 25 07:27 ..
-rw-r--r-- 1 root root 7168 May 25 07:29 memory-buffered.rrd
-rw-r--r-- 1 root root 7168 May 25 07:29 memory-cached.rrd
-rw-r--r-- 1 root root 7168 May 25 07:29 memory-free.rrd
-rw-r--r-- 1 root root 7168 May 25 07:29 memory-slab_recl.rrd
-rw-r--r-- 1 root root 7168 May 25 07:29 memory-slab_unrecl.rrd
-rw-r--r-- 1 root root 7168 May 25 07:29 memory-used.rrd
Is it possible this board doesn't HAVE any kind of thermal or other sensors on it? boggle
Sorry, this device was a limited Kickstarter run and the company has long since gone to the void, so I'm kind of feeling my way through it. Unfortunately, I can't get anything out of Marvell, so...
root@OpenWrt:/etc/config# sensors
No sensors found!
Make sure you loaded all the kernel drivers you need.
Try sensors-detect to find out which these are.
root@OpenWrt:/etc/config# sensors-detect
No i2c device files found.
I marked your previous answer as the solution, because it was..
Thank you again for all your help!
This device has space and speed, but is sparse elsewhere it seems!
@hnyman, I'm still trying to see if the i2c just isn't present on the board, or if I'm not doing something right with the build..
I removed i2c-tools and went with the busybox ones just to see the difference.
Using i2cdetect:
root@Shield:/# i2cdetect -l
i2cdetect: can't open '/sys/class/i2c-dev': No such file or directory
Using i2cdump:
root@Shield:/# i2cdump
BusyBox v1.31.1 () multi-call binary.
Usage: i2cdump [-fy] [-r FIRST-LAST] BUS ADDR [MODE]
Examine I2C registers
I2CBUS I2C bus number
ADDRESS 0x03-0x77
MODE is:
b Byte (default)
w Word
W Word on even register addresses
i I2C block
s SMBus block
c Consecutive byte
Append p for SMBus PEC
-f Force access
-y Disable interactive mode
I do not have a /sys/class/i2c-dev directory, but I do find the following: