fusioninventory / fusioninventory-agent

FusionInventory Agent
http://fusioninventory.org/
GNU General Public License v2.0
252 stars 125 forks source link

Citrix Xenserver 6.5 VMs issue #150

Open klon9000 opened 8 years ago

klon9000 commented 8 years ago

I used FI agent 2.3.18, and has some issue with Xenserver 6.5 When running Xen.pm module it's collect only running VMs. Module XenCitrixServer.pm don't working, because have wrong regexp. I sended pull request #149 about it. Fixed XenCitrixServer.pm collect all VMs well, but Xen.pm working also and running VMs collected twice.

guillomovitch commented 8 years ago

PR merged, thanks.

g-bougard commented 8 years ago

I don't think the PR fixes "Fixed XenCitrixServer.pm collect all VMs well, but Xen.pm working also and running VMs collected twice."

@klon9000 Can you confirm your xenserver 6.5 supports xe command and xl or xm command ?

g-bougard commented 8 years ago

Also issue #88 may be linked to this one.

klon9000 commented 8 years ago

my xenserver 6.5 support only xe and xl xm not found

yoshi314 commented 6 years ago

On my end XenCitrixServer.pm generates a bunch of vm's with blank name. Removing it makes things work correctly, since the Xen.pm script works correctly.

yoshi314 commented 6 years ago

This is what shows up in glpi in vm list under citrix xen host :

LUBSDEV01 Tak xen xl blocked da5f2211-c4b7-fdf6-c41f-00ebbef562af 4 8191 LUBSDEV01
N/A Tak xen xe   898c18d1-6e21-8e67-29a7-524d1076c716 0 0  
N/A Tak xen xe   083d9936-9ef3-86ce-7dd0-ba1a99720c8a 0 0  
LUBSSQL16 Tak xen xl running 083d9936-9ef3-86ce-7dd0-ba1a99720c8a 8 4095 LUBSSQL16
LUBSSQL47 Tak xen xl running 898c18d1-6e21-8e67-29a7-524d1076c716 4 32767 LUBSSQL47
N/A Tak xen xe   89c7ea99-0e75-415c-a319-d5dfe5e8338f 0 0  
N/A Tak xen xe   da5f2211-c4b7-fdf6-c41f-00ebbef562af 0 0  

This is on XenServer 6.1.0-59235p