Comments (12)
Yearly visit to pray for this.
from windows_exporter.
This should be doable! Thanks for the suggestion.
from windows_exporter.
I started work on this, but we need to resolve StackExchange/wmi#30 before we can finish this off, the issue is the library we are using for talking WMI lacks the support for the data type used by the SMART data values.
I will push the initial work, but it will lack most of the functionality with regard to SMART values as compared to
https://exchange.nagios.org/directory/Plugins/Operating-Systems/Windows/NRPE/check_smartwmi-SMART-Monitoring-for-Windows-by-using-builtin-WMI/details
from windows_exporter.
Also, the WMI query seems to require admin rights, so you will need to configure the running account accordingly.
You can test your permissions using this query:
gwmi -namespace root\wmi -class MSStorageDriver_ATAPISmartData
if it returns data, you should be able to use the "smart" collector of wmi_exporter. Otherwise you should get gwmi : Access denied
from windows_exporter.
I tried to execute your test-query but even as local administrator I get the Access denied message. What additional privileges do I need to have to execute the query? How can these be added to the exporter service once it has the smart export feature enabled?
from windows_exporter.
The pr in upstream StackExchange/wmi has been merged and vendor updated in df0db7a#diff-9d82496a83fa4e47d10aefb501c99b4e
from windows_exporter.
What's the status of this?
from windows_exporter.
@johtso abandoned. You could resume work on #108
from windows_exporter.
@martinlindhe thanks for clarifying! I think I'll see if I can get the data using the NewRelic PerfMon integration.. https://github.com/newrelic/nri-perfmon
from windows_exporter.
I am no Windows expert, but I just found a little information about this.
Something like:
Get-Disk | Get-StorageReliabilityCounter | Select-Object -Property "*"
should get a list with items like:
ReadErrorsUncorrected : 0
WriteErrorsUncorrected : 0
...
You wouldn't need anything like "add support for []uint8 slices" for that. The Node Exporter for Linux/Unix seems to export one metric per S.M.A.R.T. attribute found, so the Windows Exporter could just export one metric for ReadErrorsUncorrected, another one for WriteErrorsUncorrected, and so on.
There is also this flag, at least on modern versions of Windows:
(Get-WmiObject -Namespace root\wmi βClass MSStorageDriver_FailurePredictStatus).PredictFailure
I have read that this is a boolean flag. That could be exported as a separate metric too.
from windows_exporter.
I don't know how much value would my comment add here.
There is a project that can collect SMART data from windows, Scrutiny, which in reality uses smartmontools.
from windows_exporter.
This issue has been marked as stale because it has been open for 90 days with no activity. This thread will be automatically closed in 30 days if no further activity occurs.
from windows_exporter.
Related Issues (20)
- Can windows print server monitoring data be collected? HOT 2
- Documentation: windows_time_computed_time_offset_seconds HOT 2
- in windows server 2012 r2 datacenter, the windows_exporter-0.25.1-amd64.exe has exception "the system cannot find the file specified"
- [requirements] IIS version number HOT 4
- How does windows_exporter monitor disk iowait HOT 2
- A single list in the Dashboard for Enabled/Disabled servers HOT 2
- Windows service collector takes over 500s to scrape data HOT 6
- can read custom files TEXTFILE_DIRS="C:\custom_metrics\" HOT 1
- Release plan 0.26.0 HOT 2
- Use labels to categorize changes HOT 3
- Introduce a flag to disable the default home page HOT 1
- Question: default config file?
- Metrics for Latency Buckets HOT 1
- Expose Printer Job Queue Metrics HOT 1
- Windows exporter frequently shows container collector success status as 0 HOT 2
- windows_os_timezone not updating HOT 1
- [requirements]How to query the correspondence between logical and physical disks HOT 2
- status of Scheduled Tasks not yet run HOT 1
- Logical disk collector not logging user profile disks HOT 1
- Document error collector.diskdrive.md HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from windows_exporter.