This time last year I was poking around with ciena-sds graphs and while I was working on it, librenms got an update for a model that was newer than what I was fiddling with, so I incorporated my changes into those changes and didn’t think much about it after that. Apparently, there is a conflict that I am trying to wrap my head around. If I am understanding the issue properly, it is a bit above my expertise and thought I would ask the community for ideas/approaches.
Now that it’s a year later, I had a user point out some devices were no longer showing port traffic. (Libre couldn’t find ports for the device at all.) In my digging, I have found the file “includes/definitions/ciena-sds.yaml” that ties interfaces to ifName and ignores any that do not have a value. (I’ve included below Firmware and MIB versions if it helps.)
For my initial testing, I didn’t really worry about the ifName of the ports. Their index was usually 10000 + the “port number” as referred to by the OS. (port 1 was 10001, etc.) It had a hardcoded interface description, which I admit was ugly, but it worked and collected the data.
Apparently, before version saos-06.10.02 Ciena used a custom MIB for interface data:
ifIndex: .220.127.116.11.4.1.618.104.22.168.22.214.171.124.1 (This is also the port number, but not in a string format.)
So now I am wondering if there is a way to discover interfaces under “.126.96.36.199.4.1.6188.8.131.52.184.108.40.206” and use that OID instead? Or at least assign ifName for any interfaces with an index above 10000?
! SNMPv2-MIB::sysDescr.0 = STRING: 3902 Service Delivery Switch ! SNMPv2-MIB::sysObjectID.0 = OID: SNMPv2-SMI::enterprises.6141.1.94 ! SW Package: Slot 1 - saos-06-10-00-0294 ! Build Number: 8630 ! MIB Number: 04-10-00-0060
I will mention that one option I would like to avoid is disable updates to this system, and just edit the file to use use the descriptions and ignore the name. It’s an option on this system because it’s just for Ciena devices, but I would obviously like to continue getting future features, enhancement, as well as bugfixes and security updates as they become available.