[ixpmanager] Nokia SRLinux
Nick Hilliard
nick at foobar.org
Wed Jul 2 12:04:31 IST 2025
Hi Pim,
Pim van Pelt wrote on 01/07/2025 17:59:
> Comparing with just 'snmp walk', I can see IF-MIB::IfDescr pop up
> revealing that the Nokia switch is sending strings like these:
> iso.3.6.1.2.1.2.2.1.2.16382 = STRING: "ethernet-1/1, \"Infra: csw150
> eth-0-3\""
> iso.3.6.1.2.1.2.2.1.2.49150 = STRING: "ethernet-1/2, \"Infra: csw150
> eth-0-4\""
> [...]
> The corresponding IF-MIB::IfAlias are:
> iso.3.6.1.2.1.31.1.1.1.18.16382 = STRING: "Infra: csw150 eth-0-3"
> iso.3.6.1.2.1.31.1.1.1.18.49150 = STRING: "Infra: csw150 eth-0-4"
> [...]
> And IF-MIB::IfName are:
> iso.3.6.1.2.1.31.1.1.1.1.16382 = STRING: "ethernet-1/1"
> iso.3.6.1.2.1.31.1.1.1.1.49150 = STRING: "ethernet-1/2"
ok, so the standard approach for handling this is to put the interface
name into ifDescr, to put the description into ifAlias and to put the
alias into ifName. Your output confirms that Nokia have taken the
unusual approach of using ifName for interface names, ifAlias for
interface aliases and ifDescr for interface descriptions. I dunno what
they were thinking when they did this, but we'll need to remap these
OIDs in the OSS_SNMP package to make it work.
I'm guessing that the feature of snmprec that you ran into was at least
one of the reasons why the Librenms people wrote their own snmprec
capture code. Usually it will get to flushing the write buffer to
include the ifDescr OIDs before hanging.
Nick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.inex.ie/pipermail/ixpmanager/attachments/20250702/6071a184/attachment.htm>
More information about the ixpmanager
mailing list