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

CPU metric doesn't works on Physical machine (physical server) #850

Closed
Adel-CHT opened this issue Oct 12, 2021 · 2 comments
Closed

CPU metric doesn't works on Physical machine (physical server) #850

Adel-CHT opened this issue Oct 12, 2021 · 2 comments

Comments

@Adel-CHT
Copy link

Hello,

Actuallly, I'm traying to monitor the CPU usage on our Physical Server but it doesn't Works.
I already make it work on Virtual server by using the following metric :

100 - (avg by(instance) (irate(windows_cpu_time_total{instance=~"$servername",mode="idle"}[1m])) 100)*

But when I tried to do the same for physical server I don't have a correct value.

I tried to see the folowwing issues : #494 : #494 and #787 : #494

but I don't find any solution for my case.

Can anyone help me to solve it pls ?

@breed808
Copy link
Contributor

What do you mean by you don't have the correct value? Could you provide an example of what's not working?

@Adel-CHT
Copy link
Author

Hello,
Thanlk you for your response.
I tried the Get-Counter '\Processor(_Total)% Processor Time' cmdlet and it works.

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

No branches or pull requests

2 participants