From f7737bc9d177552f83672355d17938862f6daa3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pavel=20Czern=C3=BD?= Date: Tue, 13 Aug 2024 12:08:32 +0200 Subject: [PATCH] M #-: Fix error in wild VM monitoring (#3199) * For wild VMs do only basic monitoring, skip extended info --- src/im_mad/remotes/lib/kvm.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/im_mad/remotes/lib/kvm.rb b/src/im_mad/remotes/lib/kvm.rb index 602c407895..919369ffad 100644 --- a/src/im_mad/remotes/lib/kvm.rb +++ b/src/im_mad/remotes/lib/kvm.rb @@ -169,6 +169,8 @@ def info @vm[:id] = -1 end + return if @vm[:id] == -1 # Skip wild VMs + @vm[:kvm_state] = hash['STATE'] # Domain state