Skip to content

Enhancement for Invoke-IcingaCheckDiskHealth: check "dirty bit" of a volume #481

Description

@tectumopticum

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions