Icinga / Icinga/icinga-powershell-plugins
Enhancement for Invoke-IcingaCheckDiskHealth: check "dirty bit" of a volume
Nobody has claimed this yet.
- Dominant language
- PowerShell
- Stars
- 55
- Forks
- 30
- PR merge metrics
- No merged PRs in 30d
Description
The name of the plugin might suggest, that the physical/logical integrety of partition is also tested, but this is not the case. It is easy to check, if a volume is marked as "dirty" and the "dirty bit" is set with an additional WMI/CIM-based command:
Get-CimInstance -ClassName Win32_Volume -Filter "DriveLetter = 'C:'" | Select-Object DriveLetter, Label, DirtyBitSet
DriveLetter Label DirtyBitSet
----------- ----- -----------
C: SYSTEM True
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 Invoke-IcingaCheckDiskHealth entry point and inspect how volumes are currently queried and reported. Use the shown Get-CimInstance Win32_Volume query as the reference, then verify that a volume with DirtyBitSet set to True is detected and reported by the check.
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
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 65/100