-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Aggregated network interfaces (bond) aren't resolved #667
Comments
Hi @GuidoWilden can share the XML inventory and provide a snmpwalk output ? The first question to answer will be to say if all required datas are provided or not by the agent. |
Hi @g-bougard
Does not gather a lot. |
Don't you have any other access via SNMP v2c or SNMP v3 ? |
When using v2c I get the following. (So really not much from a Linux host), using
|
To me, we can't extract ports from this snmpwalk. You should have some security on this device which limit reported oid via public community. |
I managed to get the two for a Linux host. I am still battling Windows but will send them when I manage. |
Here the two files for a Windows host, however, the |
Hello @GuidoWilden sorry, was focused on the latest agent releases. Indeed, my SNMP walk requests was for the switches computers are connected to. Indeed the connection information is retrieved from switches, not from computer inventory. |
Hi @g-bougard, No need to apologise. So is there anything else I can provide? |
Yes, you can provide the XML for the switches connected to that computers, and/or the related snmpwalk output to check if glpi-agent missed something to make the connection possible. |
OK here the two files for one of the switches. |
What does not help with LACP on Linux: the two aggregated ports show only one of the two MAC addresses on the switch, as in both ports have the same MAC address as far as the switch is concerned. So I foresee a problem. |
First of all, have you enabled the 161 port type import in GLPI ? It seems on your switch the linux is connected to
I don't know if there's really a problem with the bond definition in linux. Is it possible the network port only takes the MAC of the active port and the other is just a backup ? Until the right mac is reported on a port connection, I don't see really a problem. If you don't know how to enable 161 port type import, check #683. |
Thank you I will try adding this port type definition but with regards to the MAC addresses we see the following on
However
I will run some more tests and report back. |
I agree the mac address seems wrong on ens3f1np1 when parsing ifconfig output. This is probably a side-effect of bonding configuration. It would be interesting to know if ens3f1np0 & ens3f1np1 switches to 00:10:86:83:69:0d if ens3f1np1 becomes the active interface. Anyway I still don't know if this is really important to fix that problem. |
The two bonded interfaces connect on two identical switches for redundancy (connected to port 47 on either switch).
it again shows the same MAC address ( |
Not sure if it's related but we are now seeing the following error in the
|
Bug reporting acknowledgment
Yes, I read it
Professional support
None
Describe the bug
We have several machines (both Linux and Windows) that have LACP aggregated 10 Gbit/s network ports.
While they are recognised as such, no further information is collected, like which switch ports do they plug into etc..
Maybe not so much a bug but a feature request rather.
To reproduce
Expected behavior
I wish it was possible to interrogate the interfaces for switch port connections etc.
Operating system
Linux
GLPI Agent version
Nightly build (git version in additional context below)
GLPI version
Other (See additional context below)
GLPIInventory plugin or other plugin version
GLPI Inventory v1.3.5
Additional context
GLPI version 10.0.15, GLPI agent nightly build v1.8-git3ddbbd8e
The text was updated successfully, but these errors were encountered: