Hi Team, I have two Nexus switches OS version not detected ran snmpwalk against ENTITY-MIB::entPhysicalSoftwareRev
Got this error “MIB search path: /opt/librenms/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf Cannot find module (ENTITY-MIB): At line 1 in (none) ENTITY-MIB::entPhysicalSoftwareRev: Unknown Object Identifier”
I run SNMPWALK with oid "librenms@xxx:/home/xxx$ snmpwalk -v3 -l authPriv -u xx -a sha -A xxx -x aes-128 -X xx xxx.xx.xx.xxx .1.3.6.1.2.1.47.1.1.1.1.10 iso.3.6.1.2.1.47.1.1.1.1.10.10 = “” iso.3.6.1.2.1.47.1.1.1.1.10.24 = STRING: “10.4(6)” iso.3.6.1.2.1.47.1.1.1.1.10.25 = STRING: “10.4(6)” iso.3.6.1.2.1.47.1.1.1.1.10.43 = STRING: “10.4(6)” iso.3.6.1.2.1.47.1.1.1.1.10.44 = STRING: “10.4(6)” iso.3.6.1.2.1.47.1.1.1.1.10.45 = STRING: “10.4(6)” iso.3.6.1.2.1.47.1.1.1.1.10.46 = STRING: “10.4(6)” iso.3.6.1.2.1.47.1.1.1.1.10.47 = STRING: “10.4(6)” iso.3.6.1.2.1.47.1.1.1.1.10.48 = STRING: “10.4(6)” iso.3.6.1.2.1.47.1.1.1.1.10.49 = STRING: “10.4(6)” iso.3.6.1.2.1.47.1.1.1.1.10.50 = STRING: “10.4(6)” iso.3.6.1.2.1.47.1.1.1.1.10.51 = STRING: “10.4(6)”
ENTITY-MIB::entPhysicalSoftwareRev.22 = No Such Instance currently exists at this OID
ENTITY-MIB::entPhysicalName.149 = N9K-C9508
ENTITY-MIB::entPhysicalSerialNum.10 = xxxxxx
Yaml OS data: {“ENTITY-MIB::entPhysicalName.149”:“N9K-C9508”,“ENTITY-MIB::entPhysicalSerialNum.10”:“xxxxxxxxxxx”}
Location:
Hardware: N9K-C9508
OS Version:
OS Features:
I have other Nexus devices can see OS version for it any help please.
Your MIB search path does NOT include the LibreNMS shipped MIBs (/opt/librenms/mibs) so of course you can’t find MIBs supplied by LibreNMS…
I suspect you set mib_dir. If you are going to do that you need to copy all MIBs from LibreNMS and keep them up-to-date when LibreNMS updates… I highly suggest NOT doing that and just leave mib_dir default.