I was wondering if someone could help guide me in the right direction.
I'm trying to add thermal plugin support for collectd on my Slate 7 however opkg says the package doesn't exists. My search began when I noticed thermal wasn't an option in Luci(Stats-->Setup--> General Plugins and when I tried to install it from CLI i get an error
Update ( Now working): I copied the thermal.lua file from github into the /usr/lib/lua/prometheus-collectors, chmod +x the file, and then restarted the node-exporter service. After that the thermal zones, are not only populated by collectd-mod-thermal, the values are now exposed in the node-export metrics i.e. http://:9100/metrics
(Troubleshooting before I got it working)
Looks like I spoke too soon. even after it's installed and rebooted the Prometheus-node-exporter-lua doesn't see the thermal zones to expose.
Shot in the dark, but do you happen to know why /how to get the thermal zones exposed to the
Yes, it appears so. I noted that thermal.lua was absent from the /usr/lib/lua/prometheus/collectors dir and I copied it from github over to the location and that did the trick.
Also,
my log says that when I tried to install it...
root@GL-BE3600:~# opkg install Prometheus-node-exporter-lua-thermal
Unknown package 'Prometheus-node-exporter-lua-thermal'.
Collected errors:
Bruce, If you want Hero status, could you build the following packages for the repo of the BE9300 or the BEXXXX series? We are just a bunch of homelab nerds and we love our hardware stats!
also, Have you ever posted anything about the build env for the BE9300 to make the pkgs ourselves? I hate having to bother you with it when something is missing.
collectd-mod-sensors
collectd-mod-exec - to get fan stats
collectd-mod-disk
collectd-mod-df
collectd-mod-load
i doubt collectd-mod-wireless will work at the moment with the hardware.
I believe so yes. I updated to 4.8.1 latest and had to redo the setup I took the time to document the steps I took to get it up and running. I'm sure I don't need all the packages I used but I added them anyway.
After the update completed, I needed to get the thermal values exposed in the Prometheus node exporter again, I did the following;
[Copy over missing thermal.lua file]
[thermal zones are now seen in cli, and LuCi stats but not exposed to the node exporter hostname:9100/metrics at this point]
After that command the thermal zones start reporting and all is well. I hope that helps you idenify what package/file is missing or needs to be updated to include the thermal.lua file.
100% second this request if Bruce has the time. More stats for monitoring the better.
Speaking of more monitoring....adding the missing thermal.lua file to the collectors dir, and getting more metrics exposed, makes me wonder what else would be exposed if I copied all the .lua files from github and placed them into the collectors dir. Perhaps I will do a test and see the difference, if any.