glpi-project / glpi-agent

GLPI Agent
GNU General Public License v2.0
212 stars 51 forks source link

Switch 2048 #637

Closed romnvll closed 2 months ago

romnvll commented 3 months ago

Bug reporting acknowledgment

Yes, I read it

Professional support

None

Describe the bug

L'inventaire des switchs N2048 semble mal fonctionner

To reproduce

SNMP sur un switch dell N2048

Expected behavior

dans le fichier sysobject.ids il est ecrit que l'oid de de ce modele de swirch est : .1.3.6.1.4.1.674.10895.3054 Si on fait un walk sur cet OID : iso.3.6.1.4.1.674.10895.3054 = No Such Object available on this agent at this OID

je pense que les informations se trouvent dans la branche: iso.3.6.1.4.1.674.10895.5000

J'ai modifié le fichier sysobject.ids, mais l'agent cherche toujours sur partial match for sysobjectID .1.3.6.1.4.1.674.10895.3054 .

Operating system

Linux

GLPI Agent version

1.7.1

GLPI version

10.0.12

GLPIInventory plugin or other plugin version

No response

Additional context

No response

g-bougard commented 2 months ago

Hi @romnvll

please use english to have a larger audience.

You're making a wrong assumption on how to figure out how is used sysobjectID OID. Please read this SysObject.ids database documentation and the sysobjectid.ids project README to understand what to check.

And finally, when speaking about networking devices support, providing a snmpwalk output in an expected format can help to fix or enhance inventory results.

romnvll commented 2 months ago

If I've understood correctly, the documentation explains how it works, but not how to integrate a new model. to integrate a model, you have to go through you? is that right? I'll send you the snmpwalk file. Thank you very much.

g-bougard commented 2 months ago

Hi @romnvll

can you test with latest nightly build as it includes enhanced Dell devices support ? https://nightly.glpi-project.org/glpi-agent/

g-bougard commented 2 months ago

I tested your walk and it works as expected now.

So I'm closing the issue, but feel free to reopen if something is wrong during your validation with last nightly build.

romnvll commented 4 weeks ago

I'd like to reopen this ticket: with the latest version of the agent on dell switches, i only have the last switch in the stacks showing up. image

image

🤷‍♂️