snmp-info icon indicating copy to clipboard operation
snmp-info copied to clipboard

Update Lancom MIBs

Open mvzwk opened this issue 5 years ago • 4 comments

Hello,

I have an issue with our Lancom devices. They are not being correctly recognized.

Netdisco's Inventory View shows entries like that: enterprises.2356.11.8.1002 enterprises.2356.600.6.310

I followed the process to clone netdisco and build vendors mib but it didn't work out for me (got an 403 error).

Grepping for enterprises in these MIBs shows me lancom-systems instead of lancom.

Attached are the latest Lancom mib files for you to add.

Kind regards,

lancom.tar.gz

mvzwk avatar Apr 11 '20 14:04 mvzwk

updating netdisco-mibs is the first step, but snmp::info might also need updating.

i'll add updating the mibs to my todo list.

inphobia avatar Aug 09 '20 23:08 inphobia

Grepping for enterprises in these MIBs shows me lancom-systems instead of lancom.

this is corrent, we prefer the dirname to be the same as the oid id. for lancom this isn't the case (as for a few others). i had a glance at the rest of the changes but those seems fine by me.

the only worry i had was the removal of "lcsStatusEthernetPortsPortsEntryMacAddress", but it seems we don't use that anywhere.

dirname <-> snmp enterprises oid name mapping is a project for the future.

inphobia avatar Nov 15 '20 21:11 inphobia

added in netdisco/netdisco-mibs#137

it seems at one time onesome submitted complete code for a lancom class ( netdisco/snmp-info#250 )

if you can provide me with an snmprec as detail here for a lancom device adding support based on that code should be doable: https://github.com/netdisco/snmp-info/wiki/Simulating-Agents#snmpsim-snmprec-version

we take your privacy seriously, so also pease read this: https://github.com/netdisco/snmp-info/wiki/Simulating-Agents#21-%EF%B8%8F-privacy-and-sensitive-data-warning-%EF%B8%8F

inphobia avatar Nov 15 '20 22:11 inphobia

Hello, my collegue and me have written a Lancom class. It's working with older and newer Lancom devices and mibs but it is not really good code as we are not this deep in perl programming. You can find the code in my fork of snmp-info https://github.com/jkleinhans/snmp-info. snmprec file is attached.

Regards,

Jan lancom.zip

jkleinhans avatar Sep 21 '21 07:09 jkleinhans