Skip to content

Check disk/partition availability #793

Open
@afeefghannam89

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.

Metadata

Metadata

Assignees

Labels

EnhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions