glpi-project / sysobject.ids

Repository to store sysobject.ids file, used for snmp network discovery
GNU General Public License v2.0
2 stars 10 forks source link

add aruba AP and Aruba switch #14

Closed CTparental closed 1 year ago

CTparental commented 1 year ago

add aruba AP and Aruba switch

correct error nd-of-line encoding from LF to CRLF .

CTparental commented 1 year ago

JL375A = Model Product number 8400 = Model Series next description . If you have to keep a code it is JL375A because from it we can deduce all the rest. y dont now if the PartNumber is available on a private OID but i can look on using "iReasoning MIB Browser",I'll look at his next week when I have a little bit of time.

sori for my english.

g-bougard commented 1 year ago

Hi @CTparental I know PartNumber can be important. But here we are speaking of the model which people will see in GLPI for a device. In your last commit, you even removed the device model. This is too much. I would have probably keep the model and put the partnumber between parenthesis at the end. Something like this:

47196.4.1.1.1.1 Hewlett-Packard NETWORKING  Aruba 8400 (JL375A)
CTparental commented 1 year ago

it's done

g-bougard commented 1 year ago

Hi @CTparental

that's perfect, thank you for your contribution.

I saw you were talking about an issue to import Aruba wifi AP. A customer had the same issue recently. I was able to analyze few snmp walks. The private OID you're talking about to get S/N can only be seen in the master. On slaves, no OID provides the S/N. That's a shame. One solution is to develop the storing of S/N from the master with a relationship MAC <=> S/N in a file and look for it when a slave is inventoried. The problem is you may have to wait the next job run before a slave can be imported if it is tried before the master (at least for the first time). The customer didn't want to fund the development so this is actually postponed, sorry.

Another solution to import the APs is to duplicate the update and import rules by MAC, edit them to add a criteria on manufacturer and set it to "Aruba", and finally enable them after put them at the right place,just after the same rules for S/N. Of course, you won't have AP serial numbers, but the devices won't be defined add to unmanaged devices.

Anyway, just for your information, I'll soon add a dedicated module to fix the model on master AP.