Add additional needles to glances cpu_temp attribute#22311
Conversation
|
On which hardware/architecture does this occur? I though that by now we have covered all available CPU architectures... |
|
I have a gigabyte brix and a Lenovo q180, couldn't tell you the architecture off the top of my head, but in testing it pulled through both, whereas I was getting a blank value on the main release |
|
This should be ordinary hardware (x86_64). Both should expose the temperature through What do you get if you run? $ curl http://IP_ADDRESS:61208/api/3/sensors |
|
I get Core 0, Core 1, and one of the other strings I've added depending on which box I run it against, I only get Package 0 on my NUC |
|
I'll drop the full responses in later when I'm at my desk |
|
Here's the response from the sensors endpoint on 3 of my machines that were reporting nothing prior to my changes: Q180Proxmox server (Ryzen 7)Brix (Core 0 fallback needed for this)If you need any more info, please let me know. |
|
Also, I added both my email accounts to my github, but the cla error hasn't gone away, not sure if that's set to check again or if it's a manual thing I'm supposed to trigger? |
|
Hi @shutupflanders, It seems you haven't yet signed a CLA. Please do so here. Once you do that we will be able to review and accept this pull request. Thanks! |
|
@fabaff can you make a decision what to do with this PR, can we merge, do we require changes or do we not want this change? |
|
@fabaff ? |
|
What should we do here? This is six months old. |
|
I pinged @fabaff on Discord |
fabaff
left a comment
There was a problem hiding this comment.
Can be merged after the conflict is solved.
Description:
Added additional keys in the section that checks for the "cpu_temp" attribute from the Glances API with a fallback to "Core 0" to at least provide some temperature information.
Checklist:
tox. Your PR cannot be merged unless tests pass