Closed Linwood-F closed 5 years ago
Incidentally I looked in the current adtran mib package, as well as googling for it, and don't see either of these names.
perl5/lib/perl5/SNMP/Info/Layer2/Adtran.pm: 'ADTRAN-GENEVC-MIB' => 'adGenEVCMIB',
Final comment: Just in the mode of "make the error go away" I deleted the indicated commented lines and I was able to successfully discover the adtran units I have. All three of the lines give the same error. I have no idea if these are needed (for other things or models) or if they are something old and no longer present.
%MIBS = (
%SNMP::Info::Layer2::MIBS,
%SNMP::Info::Layer3::MIBS,
# 'ADTRAN-GENEVC-MIB' => 'adGenEVCMIB',
# 'ADTRAN-GENMEF-MIB' => 'adGenMEFMIB',
# 'ADTRAN-GENPORT-MIB' => 'adGenPort',
'ADTRAN-MIB' => 'adtran',
'ADTRAN-AOSUNIT' => 'adGenAOSUnitMib',
);
fyi maintainers: seems to be also reported #269
@inphobia, sorry, I tried searching but only for the one that hit me first, yes, sounds the same.
have applied the patch suggested by @Linwood-F
I'm not sure if this should be entered for netdisco or here, but guessing here.
I think I have the latest release of everything (as below) and am getting this when I run a discovery of a netvanta 1335 POE switch running firmware 17.09.01.00.E (which is really old I realize but not sure if it's related to firmware so much as mib connections).
Expected Behavior
I was looking for LLDP neighbors, and I think (maybe) that the error caused it to fail to find them.
Current Behavior
As below:
Possible Solution
I assume a MIB is missing in the package?
Steps to Reproduce (for bugs)
As above.
Context
Adtrans are not showing neighbor information (I do not know for sure if snmp-info would show it, but they do have lldp and do themselves show neighbors.
Your Environment
Netdisco 2.39.31 SNMP::Info 3.61 Perl 5.26.1