You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if ([string]::IsNullOrEmpty($details.Partition)) {
should fail as there is no $PhysicalDisk.DriveReference for the snapshot in question. This line works for me:
if ([string]::IsNullOrEmpty($details.Partition) -or [string]::IsNullOrEmpty($PhysicalDisk.DriveReference) ) {
I would guess you're running your VMs on "Microsoft Storage Spaces" (no CSV), which are not listed in the regular disk views. @LordHepipud this Icinga/icinga-powershell-plugins#390 code seems to fix the underlying issue. Unfortunately there doesn't seem to be a nice way to merge the two disk types: Physical Disks
Hello.
The snapshot checking plugin Invoke-IcingaCheckHyperVSnapshot works fine if all virtual machines are included in the scan
Also, the plugin works fine if we add the
-ExcludeVms
filter and a certain part of the virtual machines is included in the selectionHowever, if the plugin filters out all virtual machines, we will receive an error
We need an additional option that allows us to set the status to OK if the VMs are not selected.
Thank you.
The text was updated successfully, but these errors were encountered: