Luci statistics - Collectd - Thermal graph

If anyone has any hint, you are welcome to assist… :wink:

Some Super I/O chips contain embedded sensors. We have to write to
standard I/O ports to probe them. This is usually safe.
Do you want to scan for Super I/O sensors? (YES/no):
Probing for Super-I/O at 0x2e/0x2f
Trying family `National Semiconductor/ITE'...               Segmentation fault

kukuzi kukuzi kernel: [  461.995213] Internal error: : 1406 [#1] SMP ARM
kukuzi kukuzi kernel: [  462.401806] Process sensors-detect (pid: 12506, stack limit = 0xe99b4210)
kukuzi kukuzi kernel: [  462.445770] 5f20: 00000000 ec48fac0 01909320 e99b5f78 ec48fac0 00000001 e99b5f74 e99b5f48
kukuzi kukuzi kernel: [  462.421181] 5ec0: ec48fac0 e99b5f78 e99b5f44 e99b5ed8 c00e882c c036b27c c0021438 beb9fb5c
kukuzi kukuzi kernel: [  462.408616] Stack: (0xe99b5eb8 to 0xe99b6000)
kukuzi kukuzi kernel: [  462.462163] 5f60: 00000001 01909320 e99b5fa4 e99b5f78 c00e9888 c00e8f54 0000002f 00000000
kukuzi kukuzi kernel: [  462.470360] 5f80: 00000000 00000000 01909320 00000003 c0009ec4 e99b4000 00000000 e99b5fa8
kukuzi kukuzi kernel: [  462.437574] 5f00: eda967b8 00000002 00000453 00000002 00000000 00000000 00020010 ec48fac0
kukuzi kukuzi kernel: [  462.494948] 5fe0: beb9fae0 beb9facc b6f6eec8 b6f6e1a8 60000010 00000003 acd8f0d5 7688754d
kukuzi kukuzi kernel: [  462.429378] 5ee0: c06b6344 e99b5fb0 00020010 00000000 e99b5fac e99b5f00 c0009330 c0021444
kukuzi kukuzi kernel: [  462.562405] Code: e1a0c00e e24ce612 e55e5001 f57ff04f (ee134f10)
kukuzi kukuzi kernel: [  462.478556] 5fa0: c0009d00 c00e9850 00000000 00000000 00000003 01909320 00000001 00000000
kukuzi kukuzi kernel: [  462.412984] 5ea0:                                                       ec48fac0 01909320
kukuzi kukuzi kernel: [  462.486752] 5fc0: 00000000 00000000 01909320 00000003 00000000 00020010 01670320 b6f195a8
kukuzi kukuzi kernel: [  462.453967] 5f40: c00e8fcc c00e880c e99b5f6c 00000000 0000002f 00000000 ec48fac0 ec48fac0

In what place in config file is need copy this sequence ??

config statistics 'collectd_thermal'
option enable '1'

in config file “luci_statistics”

#!/bin/sh /etc/rc.common
START=79

start() {
	### replace shipped config with symlink
	mkdir -p /var/etc
	if [ ! -L /etc/collectd.conf ]; then
		test -f /etc/collectd.conf && mv /etc/collectd.conf /etc/collectd.conf.bak
		ln -s /var/etc/collectd.conf /etc/collectd.conf
	fi

	### create config
	/usr/bin/stat-genconfig > /var/etc/collectd.conf

	### workaround broken permissions on /tmp
	chmod 1777 /tmp
}

restart() {
	### regenerate config / prepare environment
	start

	### restart collectd
	/etc/init.d/collectd restart
}
1 Like

Thank you very much jklaas!
I followed your instructions and it worked like a charm!

Unfortunately I did folow jklaas without sucess.
The same is true for collectd-mod-df
Nothing is showing even though I can configure stuff

I’ve sometimes had issues getting the graphs to show show up as well.

The init script “/etc/init.d/luci_statistics” is supposed to start “/etc/init.d/collectd” but it doesn’t always work right for some reason. Try just starting and stopping collectd and see if that helps.

I also found I had to enable the RRDTool output plugin or things didn’t work right. Not sure if that’s entirely necessary.

I am likely giving up
And I see we could soon see some good news