> just curious: do you actually have an LS1010 in your network? > The last time I worked with them was around the turn of the century > along with LANE blades in the cat5000s
No, I was using the snmptranslate query to hopefully confirm that my snmp environment was working. That is the example in the wiki and initially the snmptranslate query didn't work in my environment as I didn't have many of the needed mib files. root@DavoUnraid:/usr/share/snmp/mibs# grep unifiIfIndex * UI-UniFi-MIB: INDEX { unifiIfIndex } UI-UniFi-MIB: unifiIfIndex ObjectIndex, UI-UniFi-MIB:unifiIfIndex OBJECT-TYPE grep unifiApSystem * UI-UniFi-MIB:unifiApSystem OBJECT IDENTIFIER ::= { ubntUniFi 3 } UI-UniFi-MIB:unifiApSystemIp OBJECT-TYPE UI-UniFi-MIB: ::= { unifiApSystem 1 } UI-UniFi-MIB:unifiApSystemIsolated OBJECT-TYPE UI-UniFi-MIB: ::= { unifiApSystem 2 } UI-UniFi-MIB:unifiApSystemModel OBJECT-TYPE UI-UniFi-MIB: ::= { unifiApSystem 3 } UI-UniFi-MIB:unifiApSystemUplink OBJECT-TYPE UI-UniFi-MIB: ::= { unifiApSystem 4 } UI-UniFi-MIB:unifiApSystemUptime OBJECT-TYPE UI-UniFi-MIB: ::= { unifiApSystem 5 } UI-UniFi-MIB:unifiApSystemVersion OBJECT-TYPE UI-UniFi-MIB: ::= { unifiApSystem 6 } UI-UniFi-MIB:unifiApSystemGroup OBJECT-GROUP OBJECTS { UI-UniFi-MIB: unifiApSystemIp, unifiApSystemIsolated, unifiApSystemModel, unifiApSystemUplink, unifiApSystemUptime, unifiApSystemVersion > You could always do > snmpwalk -v 1 -c public 192.168.100.60 .1 and see what results you get. This produced a heap of output. I piped the output to a text file and then searched the result. None of the results were from UI-Unifi-MIB? I made the changes to snmp.conf as suggested and then ran root@DavoUnraid:~# snmpwalk -v 1 -c public 192.168.100.60 .1 > snmp2.txt I'm not sure what actions are needed to address below or whether any actions are needed? None of the warnings refer to: UI-Unifi-MIB MODULE-IDENTITY MACRO (lines 55..79 parsed and ignored). OBJECT-IDENTITY MACRO (lines 81..103 parsed and ignored). OBJECT-TYPE MACRO (lines 212..298 parsed and ignored). NOTIFICATION-TYPE MACRO (lines 302..334 parsed and ignored). TEXTUAL-CONVENTION MACRO (lines 8..48 parsed and ignored). Warning: string too long (The RowStatus textual convention is used to manage): At line 643 in /usr/share/snmp/mibs/SNMPv2-TC.txt Warning: No known translation for type (SysOREntry): At line 204 in /usr/share/snmp/mibs/SNMPv2-MIB.txt Warning: string too long (This group is mandatory for an SNMP entity which ): At line 529 in /usr/share/snmp/mibs/SNMPv2-MIB.txt Warning: No known translation for type (IfEntry): At line 140 in /usr/share/snmp/mibs/IF-MIB.txt Warning: No known translation for type (IfXEntry): At line 542 in /usr/share/snmp/mibs/IF-MIB.txt Warning: No known translation for type (IfStackEntry): At line 943 in /usr/share/snmp/mibs/IF-MIB.txt Warning: No known translation for type (IfRcvAddressEntry): At line 1048 in /usr/share/snmp/mibs/IF-MIB.txt Warning: string too long (This group is mandatory for those network interfac): At line 1166 in /usr/share/snmp/mibs/IF-MIB.txt Warning: string too long (This group is mandatory for those network interfac): At line 1174 in /usr/share/snmp/mibs/IF-MIB.txt Warning: string too long (This group is mandatory for those network interfac): At line 1181 in /usr/share/snmp/mibs/IF-MIB.txt Warning: string too long (This group is mandatory only for those network int): At line 1189 in /usr/share/snmp/mibs/IF-MIB.txt Warning: string too long (This group is mandatory only for those network int): At line 1196 in /usr/share/snmp/mibs/IF-MIB.txt Warning: string too long (This group is mandatory for those network interfac): At line 1204 in /usr/share/snmp/mibs/IF-MIB.txt Warning: string too long (The applicability of this group MUST be defined by): At line 1211 in /usr/share/snmp/mibs/IF-MIB.txt Warning: string too long (This table contains one entry per interface. It d): At line 1498 in /usr/share/snmp/mibs/IF-MIB.txt Warning: No known translation for type (IfTestEntry): At line 1502 in /usr/share/snmp/mibs/IF-MIB.txt Warning: string too long (This group is mandatory for all network interfaces): At line 1675 in /usr/share/snmp/mibs/IF-MIB.txt Warning: string too long (This group is mandatory only for those network int): At line 1683 in /usr/share/snmp/mibs/IF-MIB.txt Warning: string too long (This group is mandatory only for those network int): At line 1695 in /usr/share/snmp/mibs/IF-MIB.txt Warning: string too long (This group is optional. Media-specific MIBs which): At line 1704 in /usr/share/snmp/mibs/IF-MIB.txt Warning: string too long (The applicability of this group MUST be defined by): At line 1711 in /usr/share/snmp/mibs/IF-MIB.txt Warning: string too long (Write access is not required, and only one of the ): At line 1729 in /usr/share/snmp/mibs/IF-MIB.txt Warning: string too long (This group is mandatory for all network interfaces): At line 1754 in /usr/share/snmp/mibs/IF-MIB.txt Warning: string too long (This group is mandatory only for those network int): At line 1762 in /usr/share/snmp/mibs/IF-MIB.txt Warning: string too long (This group is mandatory only for those network int): At line 1774 in /usr/share/snmp/mibs/IF-MIB.txt Warning: string too long (The applicability of this group MUST be defined by): At line 1781 in /usr/share/snmp/mibs/IF-MIB.txt Warning: string too long (Write access is not required, and only one of the ): At line 1799 in /usr/share/snmp/mibs/IF-MIB.txt Warning: No known translation for type (Ipv4InterfaceEntry): At line 308 in /usr/share/snmp/mibs/IP-MIB.txt Warning: No known translation for type (Ipv6InterfaceEntry): At line 405 in /usr/share/snmp/mibs/IP-MIB.txt Warning: No known translation for type (IpSystemStatsEntry): At line 577 in /usr/share/snmp/mibs/IP-MIB.txt Warning: No known translation for type (IpIfStatsEntry): At line 1417 in /usr/share/snmp/mibs/IP-MIB.txt Warning: No known translation for type (IpAddressPrefixEntry): At line 2259 in /usr/share/snmp/mibs/IP-MIB.txt Warning: No known translation for type (IpAddressEntry): At line 2460 in /usr/share/snmp/mibs/IP-MIB.txt Warning: No known translation for type (IpNetToPhysicalEntry): At line 2639 in /usr/share/snmp/mibs/IP-MIB.txt Warning: No known translation for type (Ipv6ScopeZoneIndexEntry): At line 2835 in /usr/share/snmp/mibs/IP-MIB.txt Warning: No known translation for type (IpDefaultRouterEntry): At line 2985 in /usr/share/snmp/mibs/IP-MIB.txt Warning: No known translation for type (Ipv6RouterAdvertEntry): At line 3115 in /usr/share/snmp/mibs/IP-MIB.txt Warning: No known translation for type (IcmpStatsEntry): At line 3347 in /usr/share/snmp/mibs/IP-MIB.txt Warning: No known translation for type (IcmpMsgStatsEntry): At line 3430 in /usr/share/snmp/mibs/IP-MIB.txt Warning: string too long (This group is mandatory for systems that have an a): At line 3605 in /usr/share/snmp/mibs/IP-MIB.txt Warning: string too long (This group is mandatory for systems that have an a): At line 3613 in /usr/share/snmp/mibs/IP-MIB.txt Warning: string too long (This group is mandatory for systems that include t): At line 3624 in /usr/share/snmp/mibs/IP-MIB.txt Warning: string too long (This group is mandatory for systems that include t): At line 3631 in /usr/share/snmp/mibs/IP-MIB.txt Warning: string too long (This group is mandatory for all systems supporting): At line 3650 in /usr/share/snmp/mibs/IP-MIB.txt Warning: string too long (This group is mandatory for all systems supporting): At line 3663 in /usr/share/snmp/mibs/IP-MIB.txt Warning: string too long (An agent is not required to provide write access t): At line 3725 in /usr/share/snmp/mibs/IP-MIB.txt Warning: string too long (An agent is not required to provide write or creat): At line 3760 in /usr/share/snmp/mibs/IP-MIB.txt Warning: string too long (An agent is not required to provide write access t): At line 3780 in /usr/share/snmp/mibs/IP-MIB.txt Warning: No known translation for type (IpAddrEntry): At line 4413 in /usr/share/snmp/mibs/IP-MIB.txt Warning: No known translation for type (IpNetToMediaEntry): At line 4507 in /usr/share/snmp/mibs/IP-MIB.txt Warning: No known translation for type (TcpConnectionEntry): At line 274 in /usr/share/snmp/mibs/TCP-MIB.txt Warning: No known translation for type (TcpListenerEntry): At line 457 in /usr/share/snmp/mibs/TCP-MIB.txt Warning: No known translation for type (TcpConnEntry): At line 555 in /usr/share/snmp/mibs/TCP-MIB.txt Warning: string too long (This group is mandatory for systems that are capab): At line 702 in /usr/share/snmp/mibs/TCP-MIB.txt Warning: No known translation for type (UdpEndpointEntry): At line 223 in /usr/share/snmp/mibs/UDP-MIB.txt Warning: No known translation for type (UdpEntry): At line 409 in /usr/share/snmp/mibs/UDP-MIB.txt Warning: string too long (This group is mandatory for systems that ): At line 496 in /usr/share/snmp/mibs/UDP-MIB.txt Warning: No known translation for type (HrStorageEntry): At line 303 in /usr/share/snmp/mibs/HOST-RESOURCES-MIB.txt Warning: No known translation for type (HrDeviceEntry): At line 425 in /usr/share/snmp/mibs/HOST-RESOURCES-MIB.txt Warning: No known translation for type (HrProcessorEntry): At line 558 in /usr/share/snmp/mibs/HOST-RESOURCES-MIB.txt Warning: No known translation for type (HrNetworkEntry): At line 613 in /usr/share/snmp/mibs/HOST-RESOURCES-MIB.txt Warning: No known translation for type (HrPrinterEntry): At line 656 in /usr/share/snmp/mibs/HOST-RESOURCES-MIB.txt Warning: No known translation for type (HrDiskStorageEntry): At line 749 in /usr/share/snmp/mibs/HOST-RESOURCES-MIB.txt Warning: No known translation for type (HrPartitionEntry): At line 834 in /usr/share/snmp/mibs/HOST-RESOURCES-MIB.txt Warning: No known translation for type (HrFSEntry): At line 929 in /usr/share/snmp/mibs/HOST-RESOURCES-MIB.txt Warning: No known translation for type (HrSWRunEntry): At line 1096 in /usr/share/snmp/mibs/HOST-RESOURCES-MIB.txt Warning: No known translation for type (HrSWRunPerfEntry): At line 1220 in /usr/share/snmp/mibs/HOST-RESOURCES-MIB.txt Warning: No known translation for type (HrSWInstalledEntry): At line 1315 in /usr/share/snmp/mibs/HOST-RESOURCES-MIB.txt Warning: string too long (The Running Software Group. Implementation ): At line 1441 in /usr/share/snmp/mibs/HOST-RESOURCES-MIB.txt Warning: string too long (The Running Software Performance Group. ): At line 1452 in /usr/share/snmp/mibs/HOST-RESOURCES-MIB.txt Warning: string too long (An SNMP engine's administratively-unique identifie): At line 186 in /usr/share/snmp/mibs/SNMP-FRAMEWORK-MIB.txt Warning: No known translation for type (NlmConfigLogEntry): At line 105 in /usr/share/snmp/mibs/NOTIFICATION-LOG-MIB.txt Warning: No known translation for type (NlmStatsLogEntry): At line 270 in /usr/share/snmp/mibs/NOTIFICATION-LOG-MIB.txt Warning: No known translation for type (NlmLogEntry): At line 334 in /usr/share/snmp/mibs/NOTIFICATION-LOG-MIB.txt Warning: No known translation for type (NlmLogVariableEntry): At line 493 in /usr/share/snmp/mibs/NOTIFICATION-LOG-MIB.txt Warning: string too long (Implementations may choose a limit and not allow i): At line 663 in /usr/share/snmp/mibs/NOTIFICATION-LOG-MIB.txt Warning: string too long (Implementations may choose a limit and not allow i): At line 671 in /usr/share/snmp/mibs/NOTIFICATION-LOG-MIB.txt Warning: string too long (This group is mandatory on systems that keep wall ): At line 682 in /usr/share/snmp/mibs/NOTIFICATION-LOG-MIB.txt Warning: No known translation for type (SnmpTargetAddrEntry): At line 284 in /usr/share/snmp/mibs/SNMP-TARGET-MIB.txt Warning: No known translation for type (SnmpTargetParamsEntry): At line 450 in /usr/share/snmp/mibs/SNMP-TARGET-MIB.txt Warning: No known translation for type (MteTriggerEntry): At line 219 in /usr/share/snmp/mibs/DISMAN-EVENT-MIB.txt Warning: No known translation for type (MteTriggerDeltaEntry): At line 532 in /usr/share/snmp/mibs/DISMAN-EVENT-MIB.txt Warning: No known translation for type (MteTriggerExistenceEntry): At line 621 in /usr/share/snmp/mibs/DISMAN-EVENT-MIB.txt Warning: No known translation for type (MteTriggerBooleanEntry): At line 738 in /usr/share/snmp/mibs/DISMAN-EVENT-MIB.txt Warning: No known translation for type (MteTriggerThresholdEntry): At line 860 in /usr/share/snmp/mibs/DISMAN-EVENT-MIB.txt Warning: No known translation for type (MteObjectsEntry): At line 1133 in /usr/share/snmp/mibs/DISMAN-EVENT-MIB.txt Warning: No known translation for type (MteEventEntry): At line 1260 in /usr/share/snmp/mibs/DISMAN-EVENT-MIB.txt Warning: No known translation for type (MteEventNotificationEntry): At line 1346 in /usr/share/snmp/mibs/DISMAN-EVENT-MIB.txt Warning: No known translation for type (MteEventSetEntry): At line 1412 in /usr/share/snmp/mibs/DISMAN-EVENT-MIB.txt Warning: string too long (Write access is not required, thus limiting ): At line 1720 in /usr/share/snmp/mibs/DISMAN-EVENT-MIB.txt Warning: string too long (Write access is not required, thus limiting ): At line 1727 in /usr/share/snmp/mibs/DISMAN-EVENT-MIB.txt Warning: No known translation for type (SchedEntry): At line 140 in /usr/share/snmp/mibs/DISMAN-SCHEDULE-MIB.txt Warning: string too long (The values calendar(2) or oneshot(3) are not valid): At line 623 in /usr/share/snmp/mibs/DISMAN-SCHEDULE-MIB.txt Warning: string too long (The values calendar(2) or oneshot(3) are not valid): At line 683 in /usr/share/snmp/mibs/DISMAN-SCHEDULE-MIB.txt Warning: No known translation for type (PrEntry): At line 230 in /usr/share/snmp/mibs/UCD-SNMP-MIB.txt Warning: No known translation for type (ExtEntry): At line 345 in /usr/share/snmp/mibs/UCD-SNMP-MIB.txt Warning: No known translation for type (DskEntry): At line 801 in /usr/share/snmp/mibs/UCD-SNMP-MIB.txt Warning: No known translation for type (LaEntry): At line 1001 in /usr/share/snmp/mibs/UCD-SNMP-MIB.txt Warning: No known translation for type (MrEntry): At line 1233 in /usr/share/snmp/mibs/UCD-SNMP-MIB.txt Warning: No known translation for type (FileEntry): At line 1692 in /usr/share/snmp/mibs/UCD-SNMP-MIB.txt Warning: No known translation for type (LogMatchEntry): At line 1779 in /usr/share/snmp/mibs/UCD-SNMP-MIB.txt Warning: No known translation for type (DiskIOEntry): At line 65 in /usr/share/snmp/mibs/UCD-DISKIO-MIB.txt Warning: No known translation for type (LMTempSensorsEntry): At line 45 in /usr/share/snmp/mibs/LM-SENSORS-MIB.txt Warning: No known translation for type (LMFanSensorsEntry): At line 93 in /usr/share/snmp/mibs/LM-SENSORS-MIB.txt Warning: No known translation for type (LMVoltSensorsEntry): At line 142 in /usr/share/snmp/mibs/LM-SENSORS-MIB.txt Warning: No known translation for type (LMMiscSensorsEntry): At line 191 in /usr/share/snmp/mibs/LM-SENSORS-MIB.txt Warning: No known translation for type (NsCacheEntry): At line 100 in /usr/share/snmp/mibs/NET-SNMP-AGENT-MIB.txt Warning: No known translation for type (NsDebugTokenEntry): At line 193 in /usr/share/snmp/mibs/NET-SNMP-AGENT-MIB.txt Warning: No known translation for type (NsLoggingEntry): At line 246 in /usr/share/snmp/mibs/NET-SNMP-AGENT-MIB.txt Warning: No known translation for type (NsTransactionEntry): At line 350 in /usr/share/snmp/mibs/NET-SNMP-AGENT-MIB.txt Warning: No known translation for type (NsModuleEntry): At line 396 in /usr/share/snmp/mibs/NET-SNMP-AGENT-MIB.txt Warning: string too long (Every definition of an object with this syntax mus): At line 268 in /usr/share/snmp/mibs/SNMP-USER-BASED-SM-MIB.txt Warning: No known translation for type (UsmUserEntry): At line 422 in /usr/share/snmp/mibs/SNMP-USER-BASED-SM-MIB.txt Warning: No known translation for type (VacmContextEntry): At line 126 in /usr/share/snmp/mibs/SNMP-VIEW-BASED-ACM-MIB.txt Warning: No known translation for type (VacmSecurityToGroupEntry): At line 165 in /usr/share/snmp/mibs/SNMP-VIEW-BASED-ACM-MIB.txt Warning: No known translation for type (VacmAccessEntry): At line 313 in /usr/share/snmp/mibs/SNMP-VIEW-BASED-ACM-MIB.txt Warning: No known translation for type (VacmViewTreeFamilyEntry): At line 592 in /usr/share/snmp/mibs/SNMP-VIEW-BASED-ACM-MIB.txt Warning: string too long (Support for configuration via SNMP of subtree ): At line 785 in /usr/share/snmp/mibs/SNMP-VIEW-BASED-ACM-MIB.txt Warning: No known translation for type (SnmpCommunityEntry): At line 99 in /usr/share/snmp/mibs/SNMP-COMMUNITY-MIB.txt Warning: No known translation for type (SnmpTargetAddrExtEntry): At line 247 in /usr/share/snmp/mibs/SNMP-COMMUNITY-MIB.txt Warning: No known translation for type (Ipv6IfEntry): At line 155 in /usr/share/snmp/mibs/IPV6-MIB.txt Warning: No known translation for type (Ipv6IfStatsEntry): At line 394 in /usr/share/snmp/mibs/IPV6-MIB.txt Warning: No known translation for type (Ipv6AddrPrefixEntry): At line 751 in /usr/share/snmp/mibs/IPV6-MIB.txt Warning: No known translation for type (Ipv6AddrEntry): At line 880 in /usr/share/snmp/mibs/IPV6-MIB.txt Warning: No known translation for type (Ipv6RouteEntry): At line 1039 in /usr/share/snmp/mibs/IPV6-MIB.txt Warning: No known translation for type (Ipv6NetToMediaEntry): At line 1353 in /usr/share/snmp/mibs/IPV6-MIB.txt Warning: No known translation for type (Ipv6IfIcmpEntry): At line 76 in /usr/share/snmp/mibs/IPV6-ICMP-MIB.txt Warning: No known translation for type (Ipv6TcpConnEntry): At line 68 in /usr/share/snmp/mibs/IPV6-TCP-MIB.txt Warning: No known translation for type (Ipv6UdpEntry): At line 67 in /usr/share/snmp/mibs/IPV6-UDP-MIB.txt Warning: No known translation for type (InetCidrRouteEntry): At line 111 in /usr/share/snmp/mibs/IP-FORWARD-MIB.txt Warning: No known translation for type (IpCidrRouteEntry): At line 580 in /usr/share/snmp/mibs/IP-FORWARD-MIB.txt Warning: No known translation for type (IpForwardEntry): At line 945 in /usr/share/snmp/mibs/IP-FORWARD-MIB.txt Warning: No known translation for type (NetSnmpIETFWGEntry): At line 124 in /usr/share/snmp/mibs/NET-SNMP-EXAMPLES-MIB.txt Warning: No known translation for type (NetSnmpHostsEntry): At line 178 in /usr/share/snmp/mibs/NET-SNMP-EXAMPLES-MIB.txt Warning: No known translation for type (NetSnmpPassEntry): At line 101 in /usr/share/snmp/mibs/NET-SNMP-PASS-MIB.txt Warning: No known translation for type (NsExtendConfigEntry): At line 58 in /usr/share/snmp/mibs/NET-SNMP-EXTEND-MIB.txt Warning: No known translation for type (NsExtendOutput1Entry): At line 206 in /usr/share/snmp/mibs/NET-SNMP-EXTEND-MIB.txt Warning: No known translation for type (NsExtendOutput2Entry): At line 269 in /usr/share/snmp/mibs/NET-SNMP-EXTEND-MIB.txt Warning: No known translation for type (DlmodEntry): At line 60 in /usr/share/snmp/mibs/UCD-DLMOD-MIB.txt Warning: No known translation for type (SnmpNotifyEntry): At line 107 in /usr/share/snmp/mibs/SNMP-NOTIFICATION-MIB.txt Warning: No known translation for type (SnmpNotifyFilterProfileEntry): At line 217 in /usr/share/snmp/mibs/SNMP-NOTIFICATION-MIB.txt Warning: No known translation for type (SnmpNotifyFilterEntry): At line 299 in /usr/share/snmp/mibs/SNMP-NOTIFICATION-MIB.txt Warning: string too long (Create/delete/modify access is not required. ): At line 475 in /usr/share/snmp/mibs/SNMP-NOTIFICATION-MIB.txt Warning: string too long (Create/delete/modify access to the sn): At line 487 in /usr/share/snmp/mibs/SNMP-NOTIFICATION-MIB.txt Warning: string too long (Create/delete/modify access is not required. ): At line 514 in /usr/share/snmp/mibs/SNMP-NOTIFICATION-MIB.txt Warning: string too long (Create/delete/modify access to the sn): At line 526 in /usr/share/snmp/mibs/SNMP-NOTIFICATION-MIB.txt Warning: No known translation for type (NsVacmAccessEntry): At line 53 in /usr/share/snmp/mibs/NET-SNMP-VACM-MIB.txt The key question that I have is that none of the output above refers to the most relevant MIB file: UI-Unifi-MIB For some reason this MIB file is not being used by snmpwalk. So I tried this: snmpwalk -v 1 -c public -m /usr/share/snmp/mibs/UI-Unifi-MIB 192.168.100.60 Again none of the results referred to UI-Unifi-MIB. here is an extract of the response iso.3.6.1.2.1.17.4.3.1.1.0.4.75.206.88.250 = Hex-STRING: 00 04 4B CE 58 FA iso.3.6.1.2.1.17.4.3.1.1.0.5.205.166.85.50 = Hex-STRING: 00 05 CD A6 55 32 iso.3.6.1.2.1.17.4.3.1.1.0.23.136.105.216.10 = Hex-STRING: 00 17 88 69 D8 0A iso.3.6.1.2.1.17.4.3.1.1.0.24.221.36.27.213 = Hex-STRING: 00 18 DD 24 1B D5 iso.3.6.1.2.1.17.4.3.1.1.8.58.242.19.215.104 = Hex-STRING: 08 3A F2 13 D7 68 iso.3.6.1.2.1.17.4.3.1.1.8.58.242.20.159.120 = Hex-STRING: 08 3A F2 14 9F 78 iso.3.6.1.2.1.17.4.3.1.1.8.132.157.6.156.71 = Hex-STRING: 08 84 9D 06 9C 47 iso.3.6.1.2.1.17.4.3.1.1.16.213.97.62.9.89 = Hex-STRING: 10 D5 61 3E 09 59 iso.3.6.1.2.1.17.4.3.1.1.18.68.29.130.170.102 = Hex-STRING: 12 44 1D 82 AA 66 iso.3.6.1.2.1.17.4.3.1.1.20.10.197.242.148.168 = Hex-STRING: 14 0A C5 F2 94 A8 iso.3.6.1.2.1.17.4.3.1.1.24.98.228.54.87.46 = Hex-STRING: 18 62 E4 36 57 2E iso.3.6.1.2.1.17.4.3.1.1.24.232.41.22.180.202 = Hex-STRING: 18 E8 29 16 B4 CA iso.3.6.1.2.1.17.4.3.1.1.28.254.43.102.96.13 = Hex-STRING: 1C FE 2B 66 60 0D iso.3.6.1.2.1.17.4.3.1.1.36.90.76.22.233.159 = Hex-STRING: 24 5A 4C 16 E9 9F iso.3.6.1.2.1.17.4.3.1.1.44.244.50.10.230.135 = Hex-STRING: 2C F4 32 0A E6 87 iso.3.6.1.2.1.17.4.3.1.1.56.247.61.19.216.35 = Hex-STRING: 38 F7 3D 13 D8 23 iso.3.6.1.2.1.17.4.3.1.1.72.176.45.1.136.237 = Hex-STRING: 48 B0 2D 01 88 ED Timeout: No Response from 192.168.100.60 On Tue, Nov 19, 2024 at 12:40 AM Lee <ler...@gmail.com> wrote: > On Sun, Nov 17, 2024 at 9:28 PM gday vw wrote: > > > > Hello, > > I'm trying to use snmpwalk to query a Ubiquiti device. > > I'm using this page of the wiki as a guide: > > https://net-snmp.sourceforge.io/wiki/index.php/TUT:snmpwalk > > > > The mibs folder includes all the mib files from my recent question. > > > > Here are the queries and the output: > > > > Test query (worked) > > root@DavoUnraid:/# snmptranslate -m +CISCO-RHINO-MIB -IR -On > ciscoLS1010ChassisFanLed > > .1.3.6.1.4.1.9.5.11.1.1.12 > > just curious: do you actually have an LS1010 in your network? > The last time I worked with them was around the turn of the century > along with LANE blades in cat5000s > > > Query Unifi switch (worked - although I was hoping for more information) > > The mibs used to provide results, don't appear to include the Unifi mibs. > > > > root@DavoUnraid:/# snmpwalk -v 1 -c public 192.168.100.60 system > > SNMPv2-MIB::sysDescr.0 = STRING: USW GigaBit Ethernet Switch, firmware > 7.1.26.15869 > > SNMPv2-MIB::sysObjectID.0 = OID: SNMPv2-SMI::enterprises.41112.1 > > DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (293664047) 33 days, > 23:44:00.47 > > SNMPv2-MIB::sysContact.0 = STRING: > > SNMPv2-MIB::sysName.0 = STRING: > > SNMPv2-MIB::sysLocation.0 = STRING: Office > > SNMPv2-MIB::sysServices.0 = INTEGER: 3 > > > > Query Unifi switch using item / object from the Unifi mib (doesn't work) > > root@DavoUnraid:/# snmpwalk -v 1 -c public 192.168.100.60 unifiIfIndex > > unifiIfIndex: Unknown Object Identifier (Sub-id not found: (top) -> > unifiIfIndex) > > > > Query Unifi switch using item / object from the Unifi mib (doesn't work) > > root@DavoUnraid:/usr/share/snmp/mibs# snmpwalk -v 1 -c public > 192.168.100.60 unifiApSystem > > unifiApSystem: Unknown Object Identifier (Sub-id not found: (top) -> > unifiApSystem) > > > > Confirming that Unifi mibs are in the mibs directory > > root@DavoUnraid:/# pwd > > / > > root@DavoUnraid:/# cd usr > > root@DavoUnraid:/usr# cd share > > root@DavoUnraid:/usr/share# cd snmp > > root@DavoUnraid:/usr/share/snmp# cd mibs > > root@DavoUnraid:/usr/share/snmp/mibs# ls UI* > > UI-MIB* UI-UniFi-MIB* > > > > Appreciate troubleshooting suggestions > > The obvious check to see if the things you're looking for are actually > there: > > cd > On Sun, Nov 17, 2024 at 9:28 PM gday vw wrote: > > > > Hello, > > I'm trying to use snmpwalk to query a Ubiquiti device. > > I'm using this page of the wiki as a guide: > > https://net-snmp.sourceforge.io/wiki/index.php/TUT:snmpwalk > > > > The mibs folder includes all the mib files from my recent question. > > > > Here are the queries and the output: > > > > Test query (worked) > > root@DavoUnraid:/# snmptranslate -m +CISCO-RHINO-MIB -IR -On > ciscoLS1010ChassisFanLed > > .1.3.6.1.4.1.9.5.11.1.1.12 > > just curious: do you actually have an LS1010 in your network? > The last time I worked with them was around the turn of the century > along with LANE blades in the cat5000s > > > Query Unifi switch (worked - although I was hoping for more information) > > The mibs used to provide results, don't appear to include the Unifi mibs. > > You could always do > snmpwalk -v 1 -c public 192.168.100.60 .1 > and see what results you get. Along with an idea of what MIBs you're > missing. > > > root@DavoUnraid:/# snmpwalk -v 1 -c public 192.168.100.60 system > > SNMPv2-MIB::sysDescr.0 = STRING: USW GigaBit Ethernet Switch, firmware > 7.1.26.15869 > > SNMPv2-MIB::sysObjectID.0 = OID: SNMPv2-SMI::enterprises.41112.1 > > DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (293664047) 33 days, > 23:44:00.47 > > SNMPv2-MIB::sysContact.0 = STRING: > > SNMPv2-MIB::sysName.0 = STRING: > > SNMPv2-MIB::sysLocation.0 = STRING: Office > > SNMPv2-MIB::sysServices.0 = INTEGER: 3 > > > > Query Unifi switch using item / object from the Unifi mib (doesn't work) > > root@DavoUnraid:/# snmpwalk -v 1 -c public 192.168.100.60 unifiIfIndex > > unifiIfIndex: Unknown Object Identifier (Sub-id not found: (top) -> > unifiIfIndex) > > > > Query Unifi switch using item / object from the Unifi mib (doesn't work) > > root@DavoUnraid:/usr/share/snmp/mibs# snmpwalk -v 1 -c public > 192.168.100.60 unifiApSystem > > unifiApSystem: Unknown Object Identifier (Sub-id not found: (top) -> > unifiApSystem) > > > > Confirming that Unifi mibs are in the mibs directory > > root@DavoUnraid:/# pwd > > / > > root@DavoUnraid:/# cd usr > > root@DavoUnraid:/usr# cd share > > root@DavoUnraid:/usr/share# cd snmp > > root@DavoUnraid:/usr/share/snmp# cd mibs > > root@DavoUnraid:/usr/share/snmp/mibs# ls UI* > > UI-MIB* UI-UniFi-MIB* > > > > Appreciate troubleshooting suggestions > > The easy & obvious check to see if the things you're looking for are > actually there: > > cd /usr/share/snmp/mibs > grep unifiIfIndex * > grep unifiApSystem * > > After that.. I'm not all that good with debugging snmp problems so I > kind of take a brute force approach > Add this to your ~/.snmp/snmp.conf file > > showMibErrors yes > # whether to display MIB parsing errors. > > #mibWarningLevel 1 > mibWarningLevel 9 > # whether to show warning messages when parsing MIB files > > Or you can do the "-Pe -PW" options on the command line. > Fix all the errors & warnings you get and then hopefully it works :) > > Regards, > Lee >
_______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users