cvicente / Netdot

Network Documentation Tool

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

device.sysname is NULL (device snmp sysname field empty)

nicolatron opened this issue · comments

Hello,

Had a weird problem recetly, suddendly we found that for many devices (and in growing number) sysname was empty.
After some testing. It seems that a dell mib (from netdisco-mibs) was overwriting sysname definition in SNMP::Info with an incorrect OID number, not only for dell devices, but for all. For me the solution was removing the dell MIB directory loading both in snmp.conf and in <netdot_install>/etc/Site.conf.

It was not shown in updatedevices.pl debug, but running a SNMP::info test script the output was:

Incorrect:
SNMP::Info::_global name : FluidFS-MIB::sysName.0 : .1.3.6.1.4.1.674.11000.2000.200.22.1.0

Correct:
SNMP::Info::_global name : SNMPv2-MIB::sysName.0 : .1.3.6.1.2.1.1.5.0

Using SNMP-Info-3.71 with net-snmp-5.8 compiled from sources, maybe i messed something up. But just in case someone else stumbles upon this.

Best regards