Skip to content

Feature Request: Invoke-IcingaCheckUsedPartitionSpace not listing all physical disks #417

@Captain-Abi

Description

@Captain-Abi

on our servers we use the possibility to "mount" a physical disk into an empty ntfs folder.

the used space of those disks ist not shown by the powershell check, but from the old deprecated check_disk.

to reproduce the issue take a vm, install windows with default-settings. create an new folder somewhere on the harddrive, e.g. C:\mountpoint
image

insert a second harddrive into the vm, initialize it with gpt partition table. create a new basic volume, assign the new partition not with a drive letter, mount it into your created folder C:\mountpoint
image

i attach screenshots of an example machine to compare the old check_disk and Invoke-IcingaCheckUsedPartitionSpace.

  • check_disk
    Plugin Output:
    DISK WARNING - free space:C:\ 12344 MB (31%); C:\mountpoint\ 5080 MB (100%); D:\ 4050 MB (79%); D:\EBE\ 22281 MB (47%); D:\EBE_T\ 2432 MB (48%); D:\PFU\ 1529 MB (12%); D:\PFU_T\ 1977 MB (39%); D:\ROT\ 8334 MB (24%); D:\ROT_T\ 1857 MB (36%);
    Performance Data:
    image

-Invoke-IcingaCheckUsedPartitionSpace
Plugin Output:
Used Partition Space: 2 Ok (All must be )
_ Partition C: 69.40% (27.34GiB)
_ Partition D: 20.62% (1.03GiB)
Performance Data:
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    InvestigationThe team is looking into the cause of the issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions