Bug #1628
Glpi dont list Memory of ESX
| Status: | In Progress | Start date: | 07/10/2012 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | % Done: | 0% | ||
| Category: | esx | |||
| Target version: | - | |||
| For junior contributor: | No |
Description
Hi Fusion-Team,
i have recognized that after a ESX scan the information about the memory is not present in glpi. The Memory information can only be found in the xml file.
Thanks in advance!
Subtasks
History
#1
Updated by Gonéri Le Bouder about 1 year ago
- Status changed from New to Rejected
Ok, this is not exactly a bug. There is no memory slot inventoried (<MEMORIES /> section).
#2
Updated by Gonéri Le Bouder about 1 year ago
- Project changed from fusioninventory-agent-task-deploy to fusioninventory-agent-task-esx
- Status changed from Rejected to New
Well I re-affect it to FusionInventory::Agent::Task::ESX
#3
Updated by Gonéri Le Bouder about 1 year ago
- File SOAP.pm
added - Status changed from New to In Progress
- Assignee set to Gonéri Le Bouder
Please edit FusionInventory/VMware/SOAP.pm this way, add the line starting with a +
I also attached the patched file.
diff --git a/lib/FusionInventory/VMware/SOAP.pm b/lib/FusionInventory/VMware/SOAP.pm
index d93178d..666db75 100644
--- a/lib/FusionInventory/VMware/SOAP.pm
+++ b/lib/FusionInventory/VMware/SOAP.pm
@@ -47,6 +47,10 @@ sub _send {
my $res = $self->{ua}->request($req);
if ( $res->is_success ) {
+ open(my $handle, '>', "/tmp/$action.soap") or die;
+ print $handle $data;
+ close $handle;
+
return $res->content;
} else {
my $err = $res->content;
Retry and inventory, some .soap files should be generated in your /tmp directory. Please send them to me (goneri@rulezlan.org).
#4
Updated by David Dimi 11 months ago
Gonéri Le Bouder wrote:
Please edit FusionInventory/VMware/SOAP.pm this way, add the line starting with a +
I also attached the patched file.
[...]
Retry and inventory, some .soap files should be generated in your /tmp directory. Please send them to me (goneri@rulezlan.org).
I have made it (self edit and later on cp youre SOAP.pm) always with the same result.
Result:
fusioninventory-agent runs without the esx task, /tmp is empty.
#5
Updated by Gonéri Le Bouder 11 months ago
I believe it's the same issue with: http://forge.fusioninventory.org/issues/1718
#6
Updated by David Dimi 11 months ago
So it is a ESX-API limitation?
#7
Updated by David Dimi 11 months ago
Yes, it is.
#8
Updated by Gonéri Le Bouder 4 months ago
- Project changed from fusioninventory-agent-task-esx to FusionInventory Agent
- Category set to esx
Moved in the Agent main project.