Skip to content
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

Improve Aruba SSID detection #658

Merged
merged 5 commits into from Apr 24, 2024
Merged

Conversation

eduardomozart
Copy link
Contributor

@eduardomozart eduardomozart commented Apr 23, 2024

Similar to #657 but for Aruba IAP devices, replacing ifName (e.g. radioX_ssid_idY) by it's respective SSID name.
Please notice that for this enhancement works as expected it's need to mark 188 iftype importable as discussed in glpi-project/glpi#16981

XML GLPI Agent inventory for Aruba AP:
Before applying this fix: networkequipment_0_8.xml.txt
After applying this fix: networkequipment_0_8_PR658.xml.txt

snmpwalk file for Aruba AP:
arubaiap.walk.txt

Copy link
Member

@g-bougard g-bougard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @eduardomozart,

Thank you for this contribution.

I'm okay with your algorithm. I only see few perl language related minor mistakes easy to fix.

lib/GLPI/Agent/SNMP/MibSupport/Aruba.pm Outdated Show resolved Hide resolved
lib/GLPI/Agent/SNMP/MibSupport/Aruba.pm Outdated Show resolved Hide resolved
lib/GLPI/Agent/SNMP/MibSupport/Aruba.pm Outdated Show resolved Hide resolved
@g-bougard
Copy link
Member

Another point, packaging building is failing and I've included fixes in develop branch. Can you rebase your branch to include that GH Actions fixes ?

eduardomozart and others added 4 commits April 24, 2024 07:45
Co-authored-by: Guillaume Bougard <gbougard@teclib.com>
Co-authored-by: Guillaume Bougard <gbougard@teclib.com>
Co-authored-by: Guillaume Bougard <gbougard@teclib.com>
@eduardomozart
Copy link
Contributor Author

Another point, packaging building is failing and I've included fixes in develop branch. Can you rebase your branch to include that GH Actions fixes ?

Hello, I've applied your changes and tested them on production, they seem to be working fine. Also rebase my repo.

@g-bougard g-bougard merged commit 77d046b into glpi-project:develop Apr 24, 2024
16 checks passed
@g-bougard
Copy link
Member

If merged, glpi-project/glpi#16995 will enable import of ifType 188 by default in next major GLPI release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants