Icinga / Icinga/icinga-powershell-plugins
Get-IcingaPartitionSpace returns USB devices
Nobody has claimed this yet.
- Dominant language
- PowerShell
- Stars
- 55
- Forks
- 30
- PR merge metrics
- No merged PRs in 30d
Description
Since the change to 'Get-IcingaWindowsInformation Win32_Volume -Filter ([string]::Format('DriveType = "{0}"', $DriveType));' USB devices are displayed which can include USB mass storage and licensing dongles. Request to allow filtering based on identifying as 'USB'.
Win32_DiskDrive.InterfaceType exposes this property.
https://learn.microsoft.com/en-us/windows/win32/cimwin32prov/win32-diskdrive#properties
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the Get-IcingaPartitionSpace entry point and trace its use of Get-IcingaWindowsInformation with Win32_Volume and the DriveType filter. Read the Win32_DiskDrive.InterfaceType property documentation and determine how USB devices relate to the returned volumes. Done means USB devices such as mass storage and licensing dongles can be excluded through the requested filtering behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- powershell
- Domain
- observability-sre
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100