【24.10测试】netdata温度&更新

Amethyonst】 在 https://github.com/istoreos/istoreos/issues/2262 发布:
自编译x86版本 : https://github.com/istoreos/istoreos/commit/d725c2ee933d1b254987977ddc2275a716208da4

商店内的netdata默认是测不出温度的,需要安装一些依赖,两种方式都测试过,都能正常使用

传统chart.d方法

需要安装coreutils-timeout
/etc/netdata目录下,用./edit-config charts.d.conf编辑配置文件,在配置里最后加入sensors=force
编辑/etc/netdata/netdata.confcharts.d = no改为charts.d = yes
/usr/lib/netdata/plugins.d/charts.d.plugin sensors测一下
重启netdata : /etc/init.d/netdata restart

新版python方法

需要安装python3 python3-yaml python3-urllib3 python3-logging python3-ctypes lm-sensors
编辑/etc/netdata/netdata.conf 中的 python.d = no 改为 python.d = yes
/etc/netdata目录下,用./edit-config python.d.conf创建配置文件并修改开头的enabled=yes
/usr/lib/netdata/plugins.d/python.d.plugin sensors测一下
重启netdata : /etc/init.d/netdata restart

商店内的netdata也该更新了