Icinga / icinga-powershell-hyperv

A collection of Hyper-V plugins for the Icinga Powershell Framework
GNU General Public License v2.0
6 stars 0 forks source link

VM Snapshots: Error on duplicate machine name #49

Closed CHOOH1992 closed 2 years ago

CHOOH1992 commented 2 years ago

Hi, on some setups we have virtual machines which have the same name. Running the snapshot checks returns a soft error, because the name was allready checked. Best regards

LordHepipud commented 2 years ago

Thank you for the issue. I might be mistaken, but isn't the name of the virtual machine unique on each system?

CHOOH1992 commented 2 years ago

Hi, no it is not unique: image Best regards

LordHepipud commented 2 years ago

Ah I see. Can you please have a look on the linked PR? This should resolve the problem. It would be great if you could test all plugins of this collection, to ensure I didn't miss to replace the Instance ID with the name of the VM.

Would make it a little harder to determine which VM is broken otherwise 😂