Icinga / Icinga/icinga-powershell-framework
Check disk/partition availability
@LordHepipud is already working on this.
Since Mar 27, 2025.
- Dominant language
- PowerShell
- Stars
- 87
- Forks
- 34
- PR merge metrics
- No merged PRs in 30d
Description
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.
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.
Assessment
This issue has not been assessed yet.