Closed wucherpfennig closed 1 week ago
Hi @wucherpfennig
this is definitively not related to #506. But it seems to be an old bug. Can you try to apply the following patch and tell me if this fixes your issue ?
diff --git a/lib/GLPI/Agent/SOAP/VMware/Host.pm b/lib/GLPI/Agent/SOAP/VMware/Host.pm
index 2938ee183..5c97303c8 100644
--- a/lib/GLPI/Agent/SOAP/VMware/Host.pm
+++ b/lib/GLPI/Agent/SOAP/VMware/Host.pm
@@ -385,9 +385,9 @@ sub getVirtualMachines {
$comment =~ s/\n/ /gm if $comment;
if (
- defined($_->[0]{summary}{config}{template})
+ defined($machine->{summary}{config}{template})
&&
- $_->[0]{summary}{config}{template} eq 'true'
+ $machine->{summary}{config}{template} eq 'true'
) {
next;
}
Hi @wucherpfennig
can you test next nightly build ?
Sorry for the late response. We were relocating...
I have installed glpi-agent-1.10-git61ac477a-linux-installer.pl
and will updates asap.
Bug reporting acknowledgment
Yes, I read it
Professional support
None
Describe the bug
The agent crashes if trying to scan an ESXI
To reproduce
Expected behavior
should always work
Operating system
Linux
GLPI Agent version
1.9
GLPI version
10.0.15
GLPIInventory plugin or other plugin version
No response
Additional context
any suggestions would be helpfull. the scan runs well initially but crashes on the next day / run
maybe connected to #506