netdisco / snmp-info

Other
39 stars 32 forks source link

Dlink Industrial Switch is Discovered But Not in Invertory #478

Open rohanrajnv opened 1 year ago

rohanrajnv commented 1 year ago

I have a Dlink Industrial Switch and it is getting discovered but it is not displayed as switch:

netdisco@NETDS01:~$ ~/bin/netdisco-do discover -d 10.4.3.233 -D [177070] 2023-01-21 23:41:34 info App::Netdisco version 2.060004 loaded. [177070] 2023-01-21 23:41:35 info discover: [10.4.3.233] started at Sat Jan 21 23:41:35 2023 [177070] 2023-01-21 23:41:35 debug discover: running with timeout 600s [177070] 2023-01-21 23:41:35 debug => running workers for phase: check [177070] 2023-01-21 23:41:35 debug -> run worker check/0 "discover" [177070] 2023-01-21 23:41:35 debug Discover is able to run. [177070] 2023-01-21 23:41:35 debug => running workers for phase: early [177070] 2023-01-21 23:41:35 debug -> run worker early/100 "discover::properties" [177070] 2023-01-21 23:41:35 debug snmp reader cache warm: [10.4.3.233] [177070] 2023-01-21 23:41:35 debug [10.4.3.233:161] try_connect with ver: 2, class: SNMP::Info, comm: [177070] 2023-01-21 23:41:37 debug -> run worker early/100 "discover::properties" [177070] 2023-01-21 23:41:37 debug [10.4.3.233] device - OK to continue discover (not a duplicate) [177070] 2023-01-21 23:41:37 debug -> run worker early/100 "discover::properties" [177070] 2023-01-21 23:41:37 debug [10.4.3.233] device - OK to continue discover (valid interfaces) [177070] 2023-01-21 23:41:37 debug -> run worker early/100 "discover::properties" [177070] 2023-01-21 23:41:37 debug [10.4.3.233] device - aliased as 10.4.3.233 [177070] 2023-01-21 23:41:37 debug resolving 1 aliases with max 50 outstanding requests [177070] 2023-01-21 23:41:37 debug [10.4.3.233] device - removed 1 aliases [177070] 2023-01-21 23:41:37 debug [10.4.3.233] aliases - added 1 new aliases [177070] 2023-01-21 23:41:37 debug -> run worker early/100 "discover::properties" [177070] 2023-01-21 23:41:39 debug [10.4.3.233] db/ports - removed 0 port entries from DevicePortPower [177070] 2023-01-21 23:41:39 debug [10.4.3.233] db/ports - removed 16 port entries from DevicePortProperties [177070] 2023-01-21 23:41:39 debug [10.4.3.233] db/ports - removed 0 port entries from DevicePortSsid [177070] 2023-01-21 23:41:39 debug [10.4.3.233] db/ports - removed 0 port entries from DevicePortVlan [177070] 2023-01-21 23:41:39 debug [10.4.3.233] db/ports - removed 0 port entries from DevicePortWireless [177070] 2023-01-21 23:41:39 debug [10.4.3.233] interfaces - removed 16 interfaces [177070] 2023-01-21 23:41:39 debug [10.4.3.233] interfaces - added 16 new interfaces [177070] 2023-01-21 23:41:39 debug => running workers for phase: main [177070] 2023-01-21 23:41:39 debug -> run worker main/100 "discover::canonicalip" [177070] 2023-01-21 23:41:39 debug -> run worker main/100 "discover::entities" [177070] 2023-01-21 23:41:39 debug [10.4.3.233] modules - removed 1 chassis modules [177070] 2023-01-21 23:41:39 debug [10.4.3.233] modules - 0 chassis components (added one pseudo for chassis) [177070] 2023-01-21 23:41:39 debug -> run worker main/100 "discover::neighbors" [177070] 2023-01-21 23:41:39 debug [10.4.3.233] neigh - removed 0 outdated manual topology links [177070] 2023-01-21 23:41:39 debug [10.4.3.233] neigh - setting manual topology links [177070] 2023-01-21 23:41:39 debug [10.4.3.233] neigh - neighbor protocols are not enabled [177070] 2023-01-21 23:41:39 debug [10.4.3.233] neigh - processed 0 neighbors [177070] 2023-01-21 23:41:39 debug -> run worker main/100 "discover::neighbors::docsis" [177070] 2023-01-21 23:41:39 debug [10.4.3.233] neigh - no modems (probably not a DOCSIS device) [177070] 2023-01-21 23:41:39 debug -> run worker main/100 "discover::neighbors::routed" [177070] 2023-01-21 23:41:39 debug -> run worker main/100 "discover::portpower" [177070] 2023-01-21 23:41:39 debug [10.4.3.233] power - 0 power modules [177070] 2023-01-21 23:41:39 debug -> run worker main/100 "discover::portproperties" [177070] 2023-01-21 23:41:39 debug [10.4.3.233] resolving 0 remote_ips with max 50 outstanding requests [177070] 2023-01-21 23:41:39 debug [10.4.3.233] properties - removed 0 ports with properties [177070] 2023-01-21 23:41:39 debug [10.4.3.233] properties - added 16 new port properties [177070] 2023-01-21 23:41:39 debug -> run worker main/100 "discover::portproperties::portaccessentity" [177070] 2023-01-21 23:41:39 debug [10.4.3.233] pae - updating PortAccessEntity details [177070] 2023-01-21 23:41:39 debug [10.4.3.233] pae - no PortAccessEntity support, leaving worker [177070] 2023-01-21 23:41:39 debug Skipped pae for 10.4.3.233 [177070] 2023-01-21 23:41:39 debug -> run worker main/100 "discover::vlans" [177070] 2023-01-21 23:41:39 debug [10.4.3.233] vlans - removed 0 port VLANs [177070] 2023-01-21 23:41:39 debug [10.4.3.233] vlans - added 0 new port VLANs [177070] 2023-01-21 23:41:39 debug [10.4.3.233] vlans - removed 0 device VLANs [177070] 2023-01-21 23:41:39 debug [10.4.3.233] vlans - added 0 new device VLANs [177070] 2023-01-21 23:41:39 debug [10.4.3.233] vlans - discovered for ports and device [177070] 2023-01-21 23:41:39 debug -> run worker main/100 "discover::wireless" [177070] 2023-01-21 23:41:39 debug -> run worker main/0 "discover::withnodes" [177070] 2023-01-21 23:41:39 debug Queued macsuck and arpnip for 10.4.3.233. [177070] 2023-01-21 23:41:39 debug => running workers for phase: late [177070] 2023-01-21 23:41:39 debug -> run worker late/0 "discover::hooks" [177070] 2023-01-21 23:41:39 debug [10.4.3.233] hooks - 0 queued [177070] 2023-01-21 23:41:39 info discover: finished at Sat Jan 21 23:41:39 2023 [177070] 2023-01-21 23:41:39 info discover: status done: Ended discover for 10.4.3.233 netdisco@NETDS01:~$ the Following is the Screen shot of the Netdisco Page image

Model and Version Details: image

Expected Behavior

the Switch should have the Port Details, Neighbours and Vlans

Current Behavior

The Details of Neighbours and VLAN is not displayed

Possible Solution

Steps to Reproduce (for bugs)

Context

Mainly to get it reflected in the Topology Maps.

Your Device

Your Environment

App::Netdisco 2.60.4 SNMP::Info 3.89 DB Schema 77 PostgreSQL 12.00.13 Perl 5.30.0

rohanrajnv commented 1 year ago

Sorry missed to Attach the SNMP Walk vsrsadmin@NETDS01:~$ snmpwalk -Cc -v 1 -c public 10.4.3.233 .1.3.6.1.2.1.1 iso.3.6.1.2.1.1.1.0 = STRING: "D-LINK DGS-F3008P-4S HW V1 Firmware V5.2.10.1-ged9dba8ff SerialNo H3008P200400085, L2 Ethernet PoE Switch" iso.3.6.1.2.1.1.2.0 = OID: iso.3.6.1.4.1.4294967295.3.2.16 iso.3.6.1.2.1.1.3.0 = Timeticks: (373383626) 43 days, 5:10:36.26 iso.3.6.1.2.1.1.4.0 = STRING: "Your Contact" iso.3.6.1.2.1.1.5.0 = STRING: "Switch" iso.3.6.1.2.1.1.6.0 = STRING: "Your Location" iso.3.6.1.2.1.1.8.0 = Timeticks: (510) 0:00:05.10 iso.3.6.1.2.1.1.9.1.2.1 = OID: iso.3.6.1.6.3.11.3.1.1 iso.3.6.1.2.1.1.9.1.2.2 = OID: iso.3.6.1.6.3.15.2.1.1 iso.3.6.1.2.1.1.9.1.2.3 = OID: iso.3.6.1.6.3.10.3.1.1 iso.3.6.1.2.1.1.9.1.2.4 = OID: iso.3.6.1.6.3.1 iso.3.6.1.2.1.1.9.1.2.5 = OID: iso.3.6.1.6.3.16.2.2.1 iso.3.6.1.2.1.1.9.1.2.6 = OID: iso.3.6.1.2.1.49 iso.3.6.1.2.1.1.9.1.2.7 = OID: iso.3.6.1.2.1.4 iso.3.6.1.2.1.1.9.1.2.8 = OID: iso.3.6.1.2.1.50 iso.3.6.1.2.1.1.9.1.2.9 = OID: iso.3.6.1.6.3.13.3.1.3 iso.3.6.1.2.1.1.9.1.2.10 = OID: iso.3.6.1.2.1.92 iso.3.6.1.2.1.1.9.1.3.1 = STRING: "The MIB for Message Processing and Dispatching." iso.3.6.1.2.1.1.9.1.3.2 = STRING: "The management information definitions for the SNMP User-based Security Model." iso.3.6.1.2.1.1.9.1.3.3 = STRING: "The SNMP Management Architecture MIB." iso.3.6.1.2.1.1.9.1.3.4 = STRING: "The MIB module for SNMPv2 entities" iso.3.6.1.2.1.1.9.1.3.5 = STRING: "View-based Access Control Model for SNMP." iso.3.6.1.2.1.1.9.1.3.6 = STRING: "The MIB module for managing TCP implementations" iso.3.6.1.2.1.1.9.1.3.7 = STRING: "The MIB module for managing IP and ICMP implementations" iso.3.6.1.2.1.1.9.1.3.8 = STRING: "The MIB module for managing UDP implementations" iso.3.6.1.2.1.1.9.1.3.9 = STRING: "The MIB modules for managing SNMP Notification, plus filtering." iso.3.6.1.2.1.1.9.1.3.10 = STRING: "The MIB module for logging SNMP Notifications." iso.3.6.1.2.1.1.9.1.4.1 = Timeticks: (448) 0:00:04.48 iso.3.6.1.2.1.1.9.1.4.2 = Timeticks: (448) 0:00:04.48 iso.3.6.1.2.1.1.9.1.4.3 = Timeticks: (448) 0:00:04.48 iso.3.6.1.2.1.1.9.1.4.4 = Timeticks: (476) 0:00:04.76 iso.3.6.1.2.1.1.9.1.4.5 = Timeticks: (477) 0:00:04.77 iso.3.6.1.2.1.1.9.1.4.6 = Timeticks: (482) 0:00:04.82 iso.3.6.1.2.1.1.9.1.4.7 = Timeticks: (483) 0:00:04.83 iso.3.6.1.2.1.1.9.1.4.8 = Timeticks: (483) 0:00:04.83 iso.3.6.1.2.1.1.9.1.4.9 = Timeticks: (509) 0:00:05.09 iso.3.6.1.2.1.1.9.1.4.10 = Timeticks: (510) 0:00:05.10 vsrsadmin@NETDS01:~$