Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect CPU usage value for RS700 Router #115862

Open
rorygallagher2024 opened this issue Apr 19, 2024 · 2 comments
Open

Incorrect CPU usage value for RS700 Router #115862

rorygallagher2024 opened this issue Apr 19, 2024 · 2 comments

Comments

@rorygallagher2024
Copy link

The problem

Home assistant reports CPU values on this router in the range of 140-180%.
However, the actual values as reported in the Netgear admin pages show usage across the 4 CPUs and they are typically single digits. Example: CPU1: 11.10% CPU2: 7.98% CPU3: 8.15% CPU4: 8.04%

What version of Home Assistant Core has the issue?

2024.4.0

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Core

Integration causing the issue

netgear

Link to integration documentation on our website

https://github.com/home-assistant/core/tree/dev/homeassistant/components/netgear

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No - nothing is logged relating to this.

Additional information

Netgear Admin Web UI
image

Home assistant sensor value for CPU usage
image

@home-assistant
Copy link

Hey there @hacf-fr, @Quentame, @starkillerOG, mind taking a look at this issue as it has been labeled with an integration (netgear) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of netgear can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Renames the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign netgear Removes the current integration label and assignees on the issue, add the integration domain after the command.
  • @home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.
  • @home-assistant remove-label needs-more-information Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


netgear documentation
netgear source
(message by IssueLinks)

@rorygallagher2024
Copy link
Author

rorygallagher2024 commented Apr 20, 2024

I don't have experience with the code, but had a quick look through the source, and I can see that this integration interacts with the router using the pynetgear library. That library interacts with the router using the SOAP protocol to obtain information like the CPU consumption value.

So it's probable that the issue is not one with this integration but perhaps that the Routers SOAP API returns a bad or unexpected value. As such, it may be the pynetgear library which needs an update, or more likely that the router firmware needs to be updated by Netgear themselves to resolve the issue.

I can also find some information on this Netgear client library which comments that the CPU usage value "always seems to be 100%", which may support my suggestion that it's the router API returning a bad value, and there is no home assistant bug to be fixed.

And I'd also note that my old Netgear RAX200 router also returned an invalid value for this particular field.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants