I'm also having issues running this script on OMV 3.0
installed lm-sensors just fine and i get this output
ZitatAlles anzeigenroot@kabini:/tmp/omvsensors-master# sensors
acpitz-virtual-0
Adapter: Virtual device
temp1: +33.0°C (crit = +90.0°C)
k10temp-pci-00c3
Adapter: PCI adapter
temp1: +53.5°C (high = +70.0°C)
(crit = +90.0°C, hyst = +89.0°C)
fam15h_power-pci-00c4
Adapter: PCI adapter
power1: 0.00 W (crit = 8.99 W)
radeon-pci-0008
Adapter: PCI adapter
temp1: +53.0°C (crit = +120.0°C, hyst = +90.0°C)
Now i set it to "SENSOR1="/var/lib/rrdcached/db/localhost/sensors-k10temp-pci-00c3/temperature-temp1.rrd" because /var/lib/collectd seems to be empty. But whatever i set i get this:
Zitatroot@kabini:/tmp/omvsensors-master# /usr/share/openmediavault/mkconf/collectd.d/sensors
sensors[27243]: WARN: 'given rrd-file in /var/lib/collectd/rrd/localhost for SENSOR1 does not exist'
sensors[27243]: WARN: 'You set it to /var/lib/rrdcached/db/localhost/sensors-k10temp-pci-00c3/temperature-temp1.rrd'
sensors[27243]: WARN: 'Pleast check your config-file'
sensors[27243]: WARN: 'exiting script ...'
any ideas ?
Edit: i hardlinked the file to the location omvsensors expects it to be, but when running omv-mkgraph i get nothing in the web interface... ?