-
Notifications
You must be signed in to change notification settings - Fork 30
Description
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

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

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:

-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:
