MetricsHub
MetricsHub Community Connectors 1.0.06
Back to the list of connectors[1]
WMI - Disks
Description
This connector discovers and monitors S.M.A.R.T.-enabled disks that are directly handled by Windows through the WMI service.
This connector is superseded by:
Source[5]
Target
Typical platform: Any system
Operating system: Microsoft Windows
Prerequisites
Leverages: WMI
Technology and protocols: WMI/WinRM
Examples
CLI
metricshub HOSTNAME -t win -c +WBEMGenDiskNT --wmi -u USER
metricshub.yaml
resourceGroups:
<RESOURCE_GROUP>:
resources:
<HOSTNAME-ID>:
attributes:
host.name: <HOSTNAME> # Change with actual host name
host.type: win
connectors: [ +WBEMGenDiskNT ] # Optional, to load only this connector
protocols:
wmi:
username: <USERNAME> # Change with actual credentials
password: <PASSWORD> # Encrypted using metricshub-encrypt
Connector Activation Criteria
The WMI - Disks connector will be automatically activated, and its status will be reported as OK if all the below criteria are met:
- Operating System is Microsoft Windows
- The Windows service WINMGMT is running
- The WMI query below to the managed host succeeds:
- Namespace:
root\WMI
- WQL Query:
SELECT InstanceName FROM MSStorageDriver_FailurePredictStatus WHERE Active=TRUE
- Result contains:
\(^[^M]...\)\|\(^.[^P]..\)\|\(^..[^I].\)\|\(^...[^O]\)
(regex)
- Namespace:
Metrics
Type | Collected Metrics | Specific Attributes |
---|---|---|
disk_controller |
|
|
physical_disk |
|
|
Search Results for {{siteSearch | truncate:'50'}}
{{resultArray.length}}
No results.