fusioninventory / fusioninventory-for-glpi

FusionInventory plugin for GLPI
http://www.FusionInventory.org/
GNU Affero General Public License v3.0
362 stars 150 forks source link

[FI 9.5.0+1.0, GLPI 9.5.3] Computer<->Routers/switchs ports not connected #3157

Open mvalois opened 3 years ago

mvalois commented 3 years ago

Hello, I'm trying to map a network having ESX and routers. ESX are queried using FI-esx plugin and routers are queried using SNMP. ESX and routers are well-imported, however, their network ports are not connected together even thought some of them belong to the same networks, based on their IP addresses and network addresses. Those connections are required for Archires to link nodes on the graph.

Router : Router

Computer : Computer

Do you have any clue why they do not automatically connect together? Thank you, Mat.

ddurieux commented 3 years ago

Routers = switches? What manufacturer and models of them?

mvalois commented 3 years ago

Yeah they are switches. Nortel and Avaya.

iamtornado commented 3 years ago

I think the problem may lie in the virtual machine switch, because strictly speaking, the virtual network card of the virtual machine is connected to the virtual switch instead of the physical switch you mentioned. So glpi failed to connect automatically, I am also trying to solve this problem

smurdza commented 3 years ago

Hi, i have the same problem, VM or ESXi phisical maschine don't automatic connect witch port on the switch. Did you resolve this problem ? Agent version : INVENTORY : v2.6-1.el7 NETWORKDISCOVERY : 4.2 NETWORKINVENTORY : 4.2

GLPI : 9.5+3.0

ddurieux commented 3 years ago

Seems because we not inventory the virtual switch on ESX, and not sure it's possible.

iamtornado commented 3 years ago

@smurdza hello,I haven't solved this problem yet

smurdza commented 3 years ago

Seems because we not inventory the virtual switch on ESX, and not sure it's possible.

@ddurieux I think it is possible.

API ESX have that information:

https://code.vmware.com/apis/358/vsphere/doc/vim.host.VirtualSwitch.html#field_detail

smurdza commented 2 years ago

@iamtornado Have you any idea, how to resolved this problem ?

iamtornado commented 2 years ago

@iamtornado Have you any idea, how to resolved this problem ?

sorry,I don't know also