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

There is no Windows_os_* return on a certain Windows #1426

Open
chinaxushi opened this issue Mar 6, 2024 · 5 comments
Open

There is no Windows_os_* return on a certain Windows #1426

chinaxushi opened this issue Mar 6, 2024 · 5 comments
Labels

Comments

@chinaxushi
Copy link

chinaxushi commented Mar 6, 2024

ts=2024-03-06T11:10:41.338Z caller=prometheus.go:186 level=error msg="collector os failed after 0.043007s" err="The system cannot find the file specified."

This is a log error

It has been confirmed that there is a return value for the Win32_OperatingSystem class in WMI on the machine

I saw that there were similar issues before, but they all said that the page file problem had been solved.

@chinaxushi chinaxushi changed the title There is no Windows_os_XXXXX return on a certain Windows There is no Windows_os_* return on a certain Windows Mar 7, 2024
@jkroepke
Copy link
Member

Are you running Windows Server 2012R2? If yes, should be fixed in #1446

@jkroepke jkroepke added the bug label Apr 21, 2024
@chinaxushi
Copy link
Author

It's 2012, but not all Windows 2012 have this issue

@jkroepke
Copy link
Member

Could you test this binary for us, if it resolve your issue?

https://github.com/prometheus-community/windows_exporter/actions/runs/8767881067/artifacts/1432390524

@chinaxushi
Copy link
Author

Sorry, I only saw the message now. I have tested it and using the version above, the information for Windows_os * has been released. I am not sure if the data is complete. But the previously missing system versions and memory usage are now available.

@chinaxushi
Copy link
Author

I also ran version 0.25.1 on this machine. There is no data for "Windows_os_*"

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

No branches or pull requests

2 participants