Code Monkey home page Code Monkey logo

Comments (12)

trasher avatar trasher commented on July 21, 2024 1

As I've said, I have no idea if changing defaults on this type is correct or not. I have no idea neither why it's disabled nor attached to any instance right now.

Anyway, if we change that, it will target GLPI 11.

from glpi.

trasher avatar trasher commented on July 21, 2024 1

See #16995:
=> it targets GLPI 11
=> the change is only for new installations

Having a PR opened does not means it will be accepted and merged :)

from glpi.

trasher avatar trasher commented on July 21, 2024

I'm not sure I understand what you want. Aslo, a snmpwalk is useless for GLPI. Please provide an XML inventory file.

Also, types that are not "importable" an be configured your side.

from glpi.

eduardomozart avatar eduardomozart commented on July 21, 2024

I'm not sure I understand what you want. Aslo, a snmpwalk is useless for GLPI. Please provide an XML inventory file.

Also, types that are not "importable" an be configured your side.

Hello @trasher, Didn't known I could customize iftype imports through GLPI UI, thank you for your suggestion, so much easier than modifying the DB directly. I updated the issue description and provided the GLPI XML inventory file, which I would like to have provided when I opened this issue, but I was troubleshooting another issue on GLPI Agent side and there snmpwalk output is used so I think I got the things confused.

from glpi.

trasher avatar trasher commented on July 21, 2024

OK, thanks for the XML.

So you can just configure corresponding iftype on your instance, I do not see a bug.

As to make that type imported and linked to an instance, I have no idea if it's a good idea or not. This won't be done on a bugfixes version, you should probably use suggest for such an enhancement.

from glpi.

eduardomozart avatar eduardomozart commented on July 21, 2024

OK, thanks for the XML.

So you can just configure corresponding iftype on your instance, I do not see a bug.

It isn't exactly a bug, it's only that GLPI should provide support for them as an importable iftype by default because that is used for Radio types interfaces (Wifi) as reported by GLPI Agent and the device itself. GLPI Agent reports them on XML but they isn't shown on "Network ports" device tab on GLPI UI by default, so the inventory do not seems full filed as it could be by default.

from glpi.

eduardomozart avatar eduardomozart commented on July 21, 2024

Maybe @g-bougard can help you to dig into this.

from glpi.

stonebuzz avatar stonebuzz commented on July 21, 2024

If I'm not mistaken, the port types can be added manually if required (glpi only offers a default list, which can be adapted to each context).

https://my_glpi/front/networkporttype.php

image

from glpi.

stonebuzz avatar stonebuzz commented on July 21, 2024

or update the existing one

image

from glpi.

eduardomozart avatar eduardomozart commented on July 21, 2024

Hello @stonebuzz, yes, but it seems that Aruba AP returns iftype 188 which isn't imported by default even GLPI Agent reported them on the device XML Inventory file. I believe that by default such Radio interfaces should be imported by GLPI and shown in "Network port" tab of the Network device.

from glpi.

g-bougard avatar g-bougard commented on July 21, 2024

Indeed @stonebuzz is right, this port is available in "Network port types" dropdown and from there you can set it to be imported.

In our private snmpwalk database, I only see that port type used by Aruba devices.

I don't know if we have to translate it to wifi by default. But it can make sens for port connection as it says by definition MAC layer is used.

from glpi.

eduardomozart avatar eduardomozart commented on July 21, 2024

Hello @g-bougard
I believe that based on NetworkPortTypes default association (https://github.com/glpi-project/glpi/blob/10.0/bugfixes/src/NetworkPortType.php#L109), the WiFi one seems to be more suitable, as it would allows the user to provide more information that the sysadmin could provide related to those radios, like "Wifi protocol version" and "Wifi mode", and also associate a "Wifi network".

from glpi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.