Skip to content

Check disk/partition availability #793

Open

Description

@afeefghannam89

We want to use an IFW check to verify whether a drive or disk is accessible on a Windows server.

For this, we have tested the following two commands:
Invoke-IcingaCheckUsedPartitionSpace
Invoke-IcingaCheckDiskHealth

However, both commands return the status UNKNOWN if the path is not found.
With Invoke-IcingaCheckUsedPartitionSpace, it is possible to change the UNKNOWN status to OK.

However, we want the status to be CRITICAL if a disk is no longer available.

Can the functionality of the Invoke-IcingaCheckDiskHealth check be extended to verify the availability of a disk?

The description states that it checks the availability of the disk, but in reality, UNKNOWN is not the expected return value for an availability check.

Activity

  1. afeefghannam89 commented on Mar 5, 2025

    @afeefghannam89
    MemberAuthor

    ref/NC/847453
    ref/NC/847440

  2. added
    Enhancement
    on Mar 27, 2025
  3. self-assigned this
    on Mar 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Enhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions