MetricsHub
MetricsHub Community Connectors 1.0.22
Supported Platforms[1] Connectors Directory[2]
Windows - DiskPart
Description
This connector discovers and monitors the logical disks in a Microsoft Windows system through the DISKPART.EXE utility.
This connector is superseded by:
community[4] hardware[5] windows[6]
Source[7]
Target
Typical platform: Microsoft Windows[8]
Operating system: Microsoft Windows
Prerequisites
Leverages: The DISKPART.EXE command-line utility
Technology and protocols: Commands
This connector is not available for remote hosts (it is applicable to the local host only).
Examples
CLI
metricshub HOSTNAME -t win -c +DiskPart --wmi -u USER
metricshub.yaml
resourceGroups:
<RESOURCE_GROUP>:
resources:
<HOSTNAME-ID>:
attributes:
host.name: <HOSTNAME> # Change with actual host name
host.type: win
connectors: [ +DiskPart ] # Optional, to load only this connector
protocols:
wmi:
username: <USERNAME> # Change with actual credentials
password: <PASSWORD> # Encrypted using metricshub-encrypt
Connector Activation Criteria
The Windows - DiskPart 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 command below succeeds on the monitored host
- Command:
CHCP 437&&DISKPART.EXE /S ${file::exit.txt}
- Command:
Metrics
| Type | Collected Metrics | Specific Attributes |
|---|---|---|
| logical_disk |
|
|
metricshub
community
connector
hardware
system
Links:
- [1] ../supported-platforms.html
- [2] ../connectors-directory.html
- [3] winstoragespaces.html
- [4] tags/community.html
- [5] tags/hardware.html
- [6] tags/windows.html
- [7] https://github.com/metricshub/community-connectors/tree/main/src/main/connector/hardware/DiskPart/DiskPart.yaml
- [8] platforms/microsoft-windows.html
Search Results for {{siteSearch | truncate:'50'}}
{{resultArray.length}}
Searching...
No results.
