Monitorix : how to monitor disk temperature?

My YunoHost server

Hardware: AMD64 computer
YunoHost version: 11.2.8
I have access to my server : Through SSH | through the webadmin | direct access via keyboard / screen
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no
If yes, please explain:

Description of my issue

I try to setup monitorix (version 3.15.0~ynh3) to monitor disk temperature as described here → Monitorix :: Manpage

I enabled disk.pm and set it up to monitor /dev/sdb and I also check as explained in the doc that hddtemp is installed and working :

sudo hddtemp /dev/sdb
/dev/sdb: KINGSTON SEDC600M960G: 48°C

I reboot monitorix service but then I’ve got this error :

déc. 06 19:35:00 monitorix[176264]: Wed Dec  6 19:35:00 2023 - ERROR: while updating /var/lib/monitorix/disk.rrd: /var/lib/monitorix/disk.rrd: Function update_pdp_prep, case DST_GAUGE - Cannot convert '' to float
déc. 06 19:36:00 monitorix[176637]: /dev/sdb: open: Operation not permitted

Does anyone know how to solve it ?

Thanks in advance for your help !

Commenting on lines 18 to 30 of https://github.com/YunoHost-Apps/monitorix_ynh/blob/master/conf/systemd.service solved the issue

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