Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dlink Switch Unable to MACSuck or Arpnip and the Neighbours are not Detected #510

Open
rohanrajnv opened this issue Dec 17, 2023 · 14 comments

Comments

@rohanrajnv
Copy link

Issue:
I have close to 100 D-Link Switches and all the Switch the MACSuck, ARPnIP and Neighbors are not working.

Expected Behavior

MACSuck & ARPnIP should run and Neighbors should be displayed

Current Behavior

The D-Link Device is a switch and Netdisco can detect the port but the Device is not able run MACSuck, ARPnIP and Neighbors
The Sample Output of the LLDP MIB
.1.0.8802.1.1.2.1.3.1.0 = INTEGER: 4
.1.0.8802.1.1.2.1.3.2.0 = Hex-STRING: 78 98 E8 1E 07 18
.1.0.8802.1.1.2.1.3.3.0 = STRING: "DGS-F3008P-4S_V1 H3008P2104059"
.1.0.8802.1.1.2.1.3.4.0 = STRING: "L2 Ethernet PoE Switch"
.1.0.8802.1.1.2.1.3.5.0 = Hex-STRING: 04
.1.0.8802.1.1.2.1.3.6.0 = Hex-STRING: 04
.1.0.8802.1.1.2.1.3.7.1.2.3 = INTEGER: 1
.1.0.8802.1.1.2.1.3.7.1.2.9 = INTEGER: 1
.1.0.8802.1.1.2.1.3.7.1.2.12 = INTEGER: 1
.1.0.8802.1.1.2.1.3.7.1.3.3 = STRING: "3"
.1.0.8802.1.1.2.1.3.7.1.3.9 = STRING: "9"
.1.0.8802.1.1.2.1.3.7.1.3.12 = STRING: "12"
.1.0.8802.1.1.2.1.3.7.1.4.3 = STRING: "G3"
.1.0.8802.1.1.2.1.3.7.1.4.9 = STRING: "G9"
.1.0.8802.1.1.2.1.3.7.1.4.12 = STRING: "G12"
.1.0.8802.1.1.2.1.3.8.1.3.1.10.9.100.11 = INTEGER: 4
.1.0.8802.1.1.2.1.3.8.1.4.1.10.9.100.11 = INTEGER: 2
.1.0.8802.1.1.2.1.3.8.1.5.1.10.9.100.11 = INTEGER: 3
.1.0.8802.1.1.2.1.3.8.1.6.1.10.9.100.11 = OID: .0.0
.1.0.8802.1.1.2.1.4.1.1.4.0.3.1 = INTEGER: 4
.1.0.8802.1.1.2.1.4.1.1.4.0.9.1 = INTEGER: 4
.1.0.8802.1.1.2.1.4.1.1.4.0.12.1 = INTEGER: 4
.1.0.8802.1.1.2.1.4.1.1.5.0.3.1 = ""
.1.0.8802.1.1.2.1.4.1.1.5.0.9.1 = Hex-STRING: BC 0F 9A E7 F5
.1.0.8802.1.1.2.1.4.1.1.5.0.12.1 = Hex-STRING: C4 E9 0A 6F B9 51
.1.0.8802.1.1.2.1.4.1.1.6.0.3.1 = INTEGER: 3
.1.0.8802.1.1.2.1.4.1.1.6.0.9.1 = INTEGER: 7
.1.0.8802.1.1.2.1.4.1.1.6.0.12.1 = INTEGER: 1
.1.0.8802.1.1.2.1.4.1.1.7.0.3.1 = ""
.1.0.8802.1.1.2.1.4.1.1.7.0.9.1 = STRING: "eth1/0/2"
.1.0.8802.1.1.2.1.4.1.1.7.0.12.1 = STRING: "12"
.1.0.8802.1.1.2.1.4.1.1.8.0.3.1 = STRING: "eth0"
.1.0.8802.1.1.2.1.4.1.1.8.0.9.1 = ""
.1.0.8802.1.1.2.1.4.1.1.8.0.12.1 = STRING: "G12"
.1.0.8802.1.1.2.1.4.1.1.9.0.3.1 = STRING: "P1"
.1.0.8802.1.1.2.1.4.1.1.9.0.9.1 = ""
.1.0.8802.1.1.2.1.4.1.1.9.0.12.1 = STRING: "DGS-F3008P-4S_V1 H3008P1912014"
.1.0.8802.1.1.2.1.4.1.1.10.0.3.1 = STRING: "Sarix Pro 2"
.1.0.8802.1.1.2.1.4.1.1.10.0.9.1 = ""
.1.0.8802.1.1.2.1.4.1.1.10.0.12.1 = STRING: "L2 Ethernet PoE Switch"
.1.0.8802.1.1.2.1.4.1.1.11.0.3.1 = Hex-STRING: 9C
.1.0.8802.1.1.2.1.4.1.1.11.0.9.1 = Hex-STRING: 00
.1.0.8802.1.1.2.1.4.1.1.11.0.12.1 = Hex-STRING: 04
.1.0.8802.1.1.2.1.4.1.1.12.0.3.1 = Hex-STRING: 80
.1.0.8802.1.1.2.1.4.1.1.12.0.9.1 = Hex-STRING: 00
.1.0.8802.1.1.2.1.4.1.1.12.0.12.1 = Hex-STRING: 04

Possible Solution

I think the MIB File for the D-Link is not loaded.

Steps to Reproduce (for bugs)

You need a Dlink Switch with the same firmware and Model as DGS-F3008P-4S DGS-F3008P-4S HW V1 Firmware V5.2.10.1-g7578559a6 SerialNo H3008P1912014, L2 Ethernet PoE Switch

Context

The Network Map and Device Data is not Displayed.

Your Device

  • Vendor: Dlink
  • Device Model: DGS-F3008P-4S
  • Operating System Version: Linux
  • Snmpwalk output of .1.3.6.1.2.1.1:
    .1.3.6.1.2.1.1.1.0 = STRING: D-LINK DGS-F3008P-4S HW V1 Firmware V5.2.10.1-g7578559a6 SerialNo H3008P2104059, L2 Ethernet PoE Switch
    .1.3.6.1.2.1.1.2.0 = OID: .1.3.6.1.4.1.4294967295.3.2.16
    .1.3.6.1.2.1.1.3.0 = Timeticks: (2490263656) 288 days, 5:23:56.56
    .1.3.6.1.2.1.1.4.0 = STRING: Your Contact
    .1.3.6.1.2.1.1.5.0 = STRING: SW02
    .1.3.6.1.2.1.1.6.0 = STRING: Pole-02
    .1.3.6.1.2.1.1.8.0 = Timeticks: (313) 0:00:03.13
    .1.3.6.1.2.1.1.9.1.2.1 = OID: .1.3.6.1.6.3.11.3.1.1
    .1.3.6.1.2.1.1.9.1.2.2 = OID: .1.3.6.1.6.3.15.2.1.1
    .1.3.6.1.2.1.1.9.1.2.3 = OID: .1.3.6.1.6.3.10.3.1.1
    .1.3.6.1.2.1.1.9.1.2.4 = OID: .1.3.6.1.6.3.1
    .1.3.6.1.2.1.1.9.1.2.5 = OID: .1.3.6.1.6.3.16.2.2.1
    .1.3.6.1.2.1.1.9.1.2.6 = OID: .1.3.6.1.2.1.49
    .1.3.6.1.2.1.1.9.1.2.7 = OID: .1.3.6.1.2.1.4
    .1.3.6.1.2.1.1.9.1.2.8 = OID: .1.3.6.1.2.1.50
    .1.3.6.1.2.1.1.9.1.2.9 = OID: .1.3.6.1.6.3.13.3.1.3
    .1.3.6.1.2.1.1.9.1.2.10 = OID: .1.3.6.1.2.1.92
    .1.3.6.1.2.1.1.9.1.3.1 = STRING: The MIB for Message Processing and Dispatching.
    .1.3.6.1.2.1.1.9.1.3.2 = STRING: The management information definitions for the SNMP User-based Security Model.
    .1.3.6.1.2.1.1.9.1.3.3 = STRING: The SNMP Management Architecture MIB.
    .1.3.6.1.2.1.1.9.1.3.4 = STRING: The MIB module for SNMPv2 entities
    .1.3.6.1.2.1.1.9.1.3.5 = STRING: View-based Access Control Model for SNMP.
    .1.3.6.1.2.1.1.9.1.3.6 = STRING: The MIB module for managing TCP implementations
    .1.3.6.1.2.1.1.9.1.3.7 = STRING: The MIB module for managing IP and ICMP implementations
    .1.3.6.1.2.1.1.9.1.3.8 = STRING: The MIB module for managing UDP implementations
    .1.3.6.1.2.1.1.9.1.3.9 = STRING: The MIB modules for managing SNMP Notification, plus filtering.
    .1.3.6.1.2.1.1.9.1.3.10 = STRING: The MIB module for logging SNMP Notifications.
    .1.3.6.1.2.1.1.9.1.4.1 = Timeticks: (240) 0:00:02.40
    .1.3.6.1.2.1.1.9.1.4.2 = Timeticks: (240) 0:00:02.40
    .1.3.6.1.2.1.1.9.1.4.3 = Timeticks: (240) 0:00:02.40
    .1.3.6.1.2.1.1.9.1.4.4 = Timeticks: (274) 0:00:02.74
    .1.3.6.1.2.1.1.9.1.4.5 = Timeticks: (275) 0:00:02.75
    .1.3.6.1.2.1.1.9.1.4.6 = Timeticks: (278) 0:00:02.78
    .1.3.6.1.2.1.1.9.1.4.7 = Timeticks: (278) 0:00:02.78
    .1.3.6.1.2.1.1.9.1.4.8 = Timeticks: (278) 0:00:02.78
    .1.3.6.1.2.1.1.9.1.4.9 = Timeticks: (312) 0:00:03.12
    .1.3.6.1.2.1.1.9.1.4.10 = Timeticks: (313) 0:00:03.13

Your Environment

  • SNMP::Info version used: 3.95
  • Netdisco version (if used): 2.70.3
@JeroenvIS
Copy link
Member

Can you share the output of netdisco-do discover -d <device_ip> -DI ? It helps to see debug output from the discover, eg to learn what SNMP::Info class is selected and what methods are already tried to pull data.

@rohanrajnv
Copy link
Author

[130304] 2023-12-20 22:18:45 info App::Netdisco version 2.070003 loaded.
[130304] 2023-12-20 22:18:45 info discover: [10.9.100.12] started at Wed Dec 20 22:18:45 2023
[130304] 2023-12-20 22:18:45 debug discover: running with timeout 600s
[130304] 2023-12-20 22:18:45 debug => running workers for phase: check
[130304] 2023-12-20 22:18:45 debug -> run worker check/1000000 "internal::backendfqdn"
[130304] 2023-12-20 22:18:45 debug -> run worker check/1000000 "internal::snmpfastdiscover"
[130304] 2023-12-20 22:18:45 debug running with configured SNMP timeouts
[130304] 2023-12-20 22:18:45 debug -> run worker check/0 "discover"
[130304] 2023-12-20 22:18:45 debug Discover is able to run.
[130304] 2023-12-20 22:18:45 debug => running workers for phase: early
[130304] 2023-12-20 22:18:45 debug -> run worker early/100 "discover::properties"
[130304] 2023-12-20 22:18:45 debug snmp reader cache warm: [10.9.100.12]
[130304] 2023-12-20 22:18:45 debug [10.9.100.12:161] try_connect with v: 3, t: 0.2, r: 0, class: SNMP::Info, comm:
SNMP::Info::_global uptime : DISMAN-EVENT-MIB::sysUpTimeInstance : .1.3.6.1.2.1.1.3.0
SNMP::Info::_global(uptime) Unknown user name at /home/netdisco/perl5/lib/perl5/App/Netdisco/Transport/SNMP.pm line 305.
SNMP::Info::_global hrSystemUptime : HOST-RESOURCES-MIB::hrSystemUptime.0 : .1.3.6.1.2.1.25.1.1.0
SNMP::Info::_global(hrSystemUptime) Unknown user name at /home/netdisco/perl5/lib/perl5/App/Netdisco/Transport/SNMP.pm line 305.
SNMP::Info::_global sysUpTime : DISMAN-EVENT-MIB::sysUpTimeInstance : .1.3.6.1.2.1.1.3.0
SNMP::Info::_global(sysUpTime) Unknown user name at /home/netdisco/perl5/lib/perl5/App/Netdisco/Transport/SNMP.pm line 305.
[130304] 2023-12-20 22:18:45 debug [10.9.100.12:161] try_connect with v: 3, t: 0.2, r: 0, class: SNMP::Info, comm:
SNMP::Info::_global uptime : DISMAN-EVENT-MIB::sysUpTimeInstance : .1.3.6.1.2.1.1.3.0
SNMP::Info::_global(uptime) Unknown user name at /home/netdisco/perl5/lib/perl5/App/Netdisco/Transport/SNMP.pm line 305.
SNMP::Info::_global hrSystemUptime : HOST-RESOURCES-MIB::hrSystemUptime.0 : .1.3.6.1.2.1.25.1.1.0
SNMP::Info::_global(hrSystemUptime) Unknown user name at /home/netdisco/perl5/lib/perl5/App/Netdisco/Transport/SNMP.pm line 305.
SNMP::Info::_global sysUpTime : DISMAN-EVENT-MIB::sysUpTimeInstance : .1.3.6.1.2.1.1.3.0
SNMP::Info::_global(sysUpTime) Unknown user name at /home/netdisco/perl5/lib/perl5/App/Netdisco/Transport/SNMP.pm line 305.
[130304] 2023-12-20 22:18:45 debug [10.9.100.12:161] try_connect with v: 3, t: 0.2, r: 0, class: SNMP::Info, comm:
SNMP::Info::_global uptime : DISMAN-EVENT-MIB::sysUpTimeInstance : .1.3.6.1.2.1.1.3.0
SNMP::Info::_global(uptime) Unknown user name at /home/netdisco/perl5/lib/perl5/App/Netdisco/Transport/SNMP.pm line 305.
SNMP::Info::_global hrSystemUptime : HOST-RESOURCES-MIB::hrSystemUptime.0 : .1.3.6.1.2.1.25.1.1.0
SNMP::Info::_global(hrSystemUptime) Unknown user name at /home/netdisco/perl5/lib/perl5/App/Netdisco/Transport/SNMP.pm line 305.
SNMP::Info::_global sysUpTime : DISMAN-EVENT-MIB::sysUpTimeInstance : .1.3.6.1.2.1.1.3.0
SNMP::Info::_global(sysUpTime) Unknown user name at /home/netdisco/perl5/lib/perl5/App/Netdisco/Transport/SNMP.pm line 305.
[130304] 2023-12-20 22:18:45 debug [10.9.100.12:161] try_connect with v: 2, t: 0.2, r: 0, class: SNMP::Info, comm:
SNMP::Info::_global uptime : DISMAN-EVENT-MIB::sysUpTimeInstance : .1.3.6.1.2.1.1.3.0
SNMP::Info::_global layers : SNMPv2-MIB::sysServices.0 : .1.3.6.1.2.1.1.7.0
SNMP::Info::_global(layers) NOSUCHINSTANCE at /home/netdisco/perl5/lib/perl5/App/Netdisco/Transport/SNMP.pm line 305.
SNMP::Info::_global description : SNMPv2-MIB::sysDescr.0 : .1.3.6.1.2.1.1.1.0
Device doesn't implement sysServices but did return sysDescr. Might give unexpected results.
at /home/netdisco/perl5/lib/perl5/App/Netdisco/Transport/SNMP.pm line 282.
SNMP::Info::_global id : SNMPv2-MIB::sysObjectID.0 : .1.3.6.1.2.1.1.2.0
SNMP::Info 3.95
SNMP::Info::device_type() layers:00000000 id:4294967295 sysDescr:"D-LINK DGS-F3008P-4S HW V1 Firmware V5.2.10.1-g7578559a6 SerialNo H3008P200400127, L2 Ethernet PoE Switch"
Device doesn't implement sysServices but did return sysDescr. Might give unexpected results.
at /home/netdisco/perl5/lib/perl5/App/Netdisco/Transport/SNMP.pm line 218.
SNMP::Info 3.95
SNMP::Info::device_type() layers:00000000 id:4294967295 sysDescr:"D-LINK DGS-F3008P-4S HW V1 Firmware V5.2.10.1-g7578559a6 SerialNo H3008P200400127, L2 Ethernet PoE Switch"
SNMP::Info::_validate_autoload_method(vtp_d_name) Unable to resolve method.
SNMP::Info::_global description : SNMPv2-MIB::sysDescr.0 : .1.3.6.1.2.1.1.1.0
SNMP::Info::_global uptime : DISMAN-EVENT-MIB::sysUpTimeInstance : .1.3.6.1.2.1.1.3.0
SNMP::Info::_global name : SNMPv2-MIB::sysName.0 : .1.3.6.1.2.1.1.5.0
SNMP::Info::_global layers : SNMPv2-MIB::sysServices.0 : .1.3.6.1.2.1.1.7.0
SNMP::Info::_global(layers) NOSUCHINSTANCE at /home/netdisco/perl5/lib/perl5/App/Netdisco/Worker/Plugin/Discover/Properties.pm line 49.
SNMP::Info::_validate_autoload_method(mac) Unable to resolve method.
SNMP::Info::_validate_autoload_method(ps1_type) Unable to resolve method.
SNMP::Info::_validate_autoload_method(ps2_type) Unable to resolve method.
SNMP::Info::_validate_autoload_method(ps1_status) Unable to resolve method.
SNMP::Info::_validate_autoload_method(ps2_status) Unable to resolve method.
SNMP::Info::_validate_autoload_method(fan) Unable to resolve method.
SNMP::Info::_validate_autoload_method(slots) Unable to resolve method.
SNMP::Info::_validate_autoload_method(vendor) Unable to resolve method.
SNMP::Info::_validate_autoload_method(os) Unable to resolve method.
SNMP::Info::_validate_autoload_method(os_ver) Unable to resolve method.
SNMP::Info::_validate_autoload_method(model) Unable to resolve method.
SNMP::Info::_validate_autoload_method(serial) Unable to resolve method.
SNMP::Info::_validate_autoload_method(serial1) Unable to resolve method.
SNMP::Info::_global contact : SNMPv2-MIB::sysContact.0 : .1.3.6.1.2.1.1.4.0
SNMP::Info::_global location : SNMPv2-MIB::sysLocation.0 : .1.3.6.1.2.1.1.6.0
SNMP::Info::_global ports : IF-MIB::ifNumber.0 : .1.3.6.1.2.1.2.1.0
SNMP::Info::_global snmpEngineID : SNMP-FRAMEWORK-MIB::snmpEngineID.0 : .1.3.6.1.6.3.10.2.1.1.0
[130304] 2023-12-20 22:18:45 debug -> run worker early/100 "discover::properties"
[130304] 2023-12-20 22:18:45 debug [10.9.100.12] device - OK to continue discover (not a duplicate)
[130304] 2023-12-20 22:18:45 debug -> run worker early/100 "discover::properties"
SNMP::Info::_load_attr interfaces : IF-MIB::ifIndex : .1.3.6.1.2.1.2.2.1.1
[130304] 2023-12-20 22:18:45 debug [10.9.100.12] device - OK to continue discover (valid interfaces)
[130304] 2023-12-20 22:18:45 debug -> run worker early/100 "discover::properties"
SNMP::Info::_load_attr old_ip_index : IP-MIB::ipAdEntIfIndex : .1.3.6.1.2.1.4.20.1.2
SNMP::Info::_load_attr old_ip_table : IP-MIB::ipAdEntAddr : .1.3.6.1.2.1.4.20.1.1
SNMP::Info::_load_attr old_ip_netmask : IP-MIB::ipAdEntNetMask : .1.3.6.1.2.1.4.20.1.3
[130304] 2023-12-20 22:18:46 debug [10.9.100.12] device - aliased as 10.9.100.12
SNMP::Info::_validate_autoload_method(ipv6_index) Unable to resolve method.
SNMP::Info::_validate_autoload_method(ipv6_addr) Unable to resolve method.
SNMP::Info::_validate_autoload_method(ipv6_type) Unable to resolve method.
SNMP::Info::_validate_autoload_method(ipv6_addr_prefixlength) Unable to resolve method.
[130304] 2023-12-20 22:18:46 debug resolving 1 aliases with max 50 outstanding requests
[130304] 2023-12-20 22:18:46 debug [10.9.100.12] device - removed 1 aliases
[130304] 2023-12-20 22:18:46 debug [10.9.100.12] aliases - added 1 new aliases
[130304] 2023-12-20 22:18:46 debug -> run worker early/100 "discover::properties"
SNMP::Info::_load_attr i_type : IF-MIB::ifType : .1.3.6.1.2.1.2.2.1.3
SNMP::Info::_validate_autoload_method(i_ignore) Unable to resolve method.
SNMP::Info::_load_attr i_description : IF-MIB::ifDescr : .1.3.6.1.2.1.2.2.1.2
SNMP::Info::_load_attr i_mtu : IF-MIB::ifMtu : .1.3.6.1.2.1.2.2.1.4
SNMP::Info::_load_attr orig_i_speed : IF-MIB::ifSpeed : .1.3.6.1.2.1.2.2.1.5
SNMP::Info::_validate_autoload_method(i_speed_admin) Unable to resolve method.
SNMP::Info::_load_attr i_mac : IF-MIB::ifPhysAddress : .1.3.6.1.2.1.2.2.1.6
SNMP::Info::_load_attr i_up : IF-MIB::ifOperStatus : .1.3.6.1.2.1.2.2.1.8
SNMP::Info::_load_attr i_up_admin : IF-MIB::ifAdminStatus : .1.3.6.1.2.1.2.2.1.7
SNMP::Info::_load_attr i_name : IF-MIB::ifName : .1.3.6.1.2.1.31.1.1.1.1
SNMP::Info::_validate_autoload_method(i_duplex) Unable to resolve method.
SNMP::Info::_validate_autoload_method(i_duplex_admin) Unable to resolve method.
SNMP::Info::_validate_autoload_method(i_stp_state) Unable to resolve method.
SNMP::Info::_validate_autoload_method(i_vlan) Unable to resolve method.
SNMP::Info::_load_attr i_lastchange : IF-MIB::ifLastChange : .1.3.6.1.2.1.2.2.1.9
SNMP::Info::_validate_autoload_method(agg_ports) Unable to resolve method.
SNMP::Info::_validate_autoload_method(i_subinterfaces) Unable to resolve method.
SNMP::Info::_global load_uptime : DISMAN-EVENT-MIB::sysUpTimeInstance : .1.3.6.1.2.1.1.3.0
SNMP::Info::_global snmpEngineTime : SNMP-FRAMEWORK-MIB::snmpEngineTime.0 : .1.3.6.1.6.3.10.2.1.3.0
[130304] 2023-12-20 22:18:47 debug [10.9.100.12] db/ports - removed 0 port entries from DevicePortPower
[130304] 2023-12-20 22:18:47 debug [10.9.100.12] db/ports - removed 16 port entries from DevicePortProperties
[130304] 2023-12-20 22:18:47 debug [10.9.100.12] db/ports - removed 0 port entries from DevicePortSsid
[130304] 2023-12-20 22:18:47 debug [10.9.100.12] db/ports - removed 0 port entries from DevicePortVlan
[130304] 2023-12-20 22:18:47 debug [10.9.100.12] db/ports - removed 0 port entries from DevicePortWireless
[130304] 2023-12-20 22:18:47 debug [10.9.100.12] interfaces - removed 16 interfaces
[130304] 2023-12-20 22:18:47 debug [10.9.100.12] interfaces - added 16 new interfaces
[130304] 2023-12-20 22:18:47 debug => running workers for phase: main
[130304] 2023-12-20 22:18:47 debug -> run worker main/100 "discover::canonicalip"
[130304] 2023-12-20 22:18:47 debug -> run worker main/100 "discover::entities"
SNMP::Info::_validate_autoload_method(e_index) Unable to resolve method.
[130304] 2023-12-20 22:18:47 debug [10.9.100.12] modules - removed 1 chassis modules
[130304] 2023-12-20 22:18:47 debug [10.9.100.12] modules - 0 chassis components (added one pseudo for chassis)
[130304] 2023-12-20 22:18:47 debug -> run worker main/100 "discover::neighbors"
[130304] 2023-12-20 22:18:47 debug [10.9.100.12] neigh - removed 0 outdated manual topology links
[130304] 2023-12-20 22:18:47 debug [10.9.100.12] neigh - setting manual topology links
SNMP::Info::_validate_autoload_method(hasLLDP) Unable to resolve method.
SNMP::Info::_validate_autoload_method(hasCDP) Unable to resolve method.
SNMP::Info::_validate_autoload_method(hasSONMP) Unable to resolve method.
SNMP::Info::_validate_autoload_method(hasFDP) Unable to resolve method.
SNMP::Info::_validate_autoload_method(hasEDP) Unable to resolve method.
SNMP::Info::_validate_autoload_method(hasAMAP) Unable to resolve method.
[130304] 2023-12-20 22:18:47 debug [10.9.100.12] neigh - neighbor protocols are not enabled
[130304] 2023-12-20 22:18:47 debug [10.9.100.12] neigh - processed 0 neighbors
[130304] 2023-12-20 22:18:47 debug -> run worker main/100 "discover::neighbors::docsis"
SNMP::Info::_validate_autoload_method(docs_if_cmts_cm_status_inet_address) Unable to resolve method.
[130304] 2023-12-20 22:18:47 debug [10.9.100.12] neigh - no modems (probably not a DOCSIS device)
[130304] 2023-12-20 22:18:47 debug -> run worker main/100 "discover::neighbors::routed"
[130304] 2023-12-20 22:18:47 debug -> run worker main/100 "discover::portpower"
SNMP::Info::_validate_autoload_method(peth_power_watts) Unable to resolve method.
SNMP::Info::_validate_autoload_method(peth_power_status) Unable to resolve method.
[130304] 2023-12-20 22:18:47 debug [10.9.100.12] power - 0 power modules
[130304] 2023-12-20 22:18:47 debug -> run worker main/100 "discover::portproperties"
[130304] 2023-12-20 22:18:47 debug [10.9.100.12] resolving 0 remote_ips with max 50 outstanding requests
SNMP::Info::_validate_autoload_method(i_err_disable_cause) Unable to resolve method.
SNMP::Info::_validate_autoload_method(i_faststart_enabled) Unable to resolve method.
SNMP::Info::_validate_autoload_method(hasLLDP) Unable to resolve method.
SNMP::Info::_validate_autoload_method(hasCDP) Unable to resolve method.
SNMP::Info::_validate_autoload_method(hasSONMP) Unable to resolve method.
SNMP::Info::_validate_autoload_method(hasFDP) Unable to resolve method.
SNMP::Info::_validate_autoload_method(hasEDP) Unable to resolve method.
SNMP::Info::_validate_autoload_method(hasAMAP) Unable to resolve method.
SNMP::Info::_validate_autoload_method(hasLLDP) Unable to resolve method.
SNMP::Info::_validate_autoload_method(hasCDP) Unable to resolve method.
SNMP::Info::_validate_autoload_method(hasSONMP) Unable to resolve method.
SNMP::Info::_validate_autoload_method(hasFDP) Unable to resolve method.
SNMP::Info::_validate_autoload_method(hasEDP) Unable to resolve method.
SNMP::Info::_validate_autoload_method(hasAMAP) Unable to resolve method.
SNMP::Info::_validate_autoload_method(hasLLDP) Unable to resolve method.
SNMP::Info::_validate_autoload_method(hasCDP) Unable to resolve method.
SNMP::Info::_validate_autoload_method(hasSONMP) Unable to resolve method.
SNMP::Info::_validate_autoload_method(hasFDP) Unable to resolve method.
SNMP::Info::_validate_autoload_method(hasEDP) Unable to resolve method.
SNMP::Info::_validate_autoload_method(hasAMAP) Unable to resolve method.
SNMP::Info::_validate_autoload_method(lldp_media_cap) Unable to resolve method.
SNMP::Info::_validate_autoload_method(lldp_rem_vendor) Unable to resolve method.
SNMP::Info::_validate_autoload_method(lldp_rem_model) Unable to resolve method.
SNMP::Info::_validate_autoload_method(lldp_rem_sw_rev) Unable to resolve method.
SNMP::Info::_validate_autoload_method(lldp_rem_serial) Unable to resolve method.
[130304] 2023-12-20 22:18:47 debug [10.9.100.12] properties - removed 0 port properties
[130304] 2023-12-20 22:18:47 debug [10.9.100.12] properties - added 16 new port properties
[130304] 2023-12-20 22:18:47 debug -> run worker main/100 "discover::portproperties::portaccessentity"
[130304] 2023-12-20 22:18:47 debug [10.9.100.12] pae - updating PortAccessEntity details
SNMP::Info::_validate_autoload_method(pae_control) Unable to resolve method.
[130304] 2023-12-20 22:18:47 debug [10.9.100.12] pae - no PortAccessEntity support, leaving worker
[130304] 2023-12-20 22:18:47 debug Skipped pae for 10.9.100.12
[130304] 2023-12-20 22:18:47 debug -> run worker main/0 "discover::properties::tags"
[130304] 2023-12-20 22:18:47 debug -> run worker main/0 "discover::properties::tags"
[130304] 2023-12-20 22:18:47 debug -> run worker main/100 "discover::vlans"
SNMP::Info::_validate_autoload_method(v_name) Unable to resolve method.
SNMP::Info::_validate_autoload_method(v_index) Unable to resolve method.
SNMP::Info::_validate_autoload_method(i_vlan) Unable to resolve method.
SNMP::Info::_validate_autoload_method(i_vlan_type) Unable to resolve method.
SNMP::Info::_validate_autoload_method(i_vlan_membership) Unable to resolve method.
SNMP::Info::_validate_autoload_method(i_vlan_membership_untagged) Unable to resolve method.
[130304] 2023-12-20 22:18:47 debug [10.9.100.12] vlans - removed 0 port VLANs
[130304] 2023-12-20 22:18:47 debug [10.9.100.12] vlans - added 0 new port VLANs
[130304] 2023-12-20 22:18:47 debug [10.9.100.12] vlans - removed 0 device VLANs
[130304] 2023-12-20 22:18:47 debug [10.9.100.12] vlans - added 0 new device VLANs
[130304] 2023-12-20 22:18:47 debug [10.9.100.12] vlans - discovered for ports and device
[130304] 2023-12-20 22:18:47 debug -> run worker main/100 "discover::wireless"
SNMP::Info::_validate_autoload_method(i_ssidlist) Unable to resolve method.
[130304] 2023-12-20 22:18:47 debug -> run worker main/0 "discover::withnodes"
[130304] 2023-12-20 22:18:47 debug => running workers for phase: late
[130304] 2023-12-20 22:18:47 debug -> run worker late/0 "discover::hooks"
[130304] 2023-12-20 22:18:47 debug [10.9.100.12] hooks - 0 queued
[130304] 2023-12-20 22:18:47 debug -> run worker late/0 "discover::snapshot"
[130304] 2023-12-20 22:18:47 info discover: finished at Wed Dec 20 22:18:47 2023
[130304] 2023-12-20 22:18:47 info discover: status done: Ended discover for 10.9.100.12

@rohanrajnv
Copy link
Author

Can you share the output of netdisco-do discover -d <device_ip> -DI ? It helps to see debug output from the discover, eg to learn what SNMP::Info class is selected and what methods are already tried to pull data.

Thanks for your reply. I have pasted the requested output.

@JeroenvIS
Copy link
Member

Potential fix in 6864099, untested

@rohanrajnv
Copy link
Author

I have updated the App to latest Should i edit this file /home/netdisco/perl5/lib/perl5/SNMP/Info.pm?

@JeroenvIS
Copy link
Member

Yes, if you want to try locally, you can manually make the change in that file and in /home/netdisco/perl5/lib/perl5/SNMP/Info/Layer3/DLink.pm (or wherever the Info.pm and DLink.pm files are located in your install)

@inphobia
Copy link
Member

inphobia commented Jan 31, 2024

when you edit it with vi, it will most likely complain when trying to save your changes, you can force it with:
:w!
and then to exit
:q

not sure how snmp::info caching works, so best also restart netdisco-backend

@rohanrajnv
Copy link
Author

Hi,
To the Latest File I have made the changes that you have requested and noticed that the D-Link is still not Detecting the Layers

@inphobia
Copy link
Member

while i have not looked in detail this could be snmp field protection.

can you delete the device & discover again?

@rohanrajnv
Copy link
Author

I have deleted the Device from the GUI, added the Device again and ran the discover. the following the desciver logs
[1984] 2024-01-31 20:07:53 debug is_macsuckable: 10.9.100.11 has no layer 2 capability
[1984] 2024-01-31 20:07:53 debug is_arpnipable: 10.9.100.11 has no layer 3 capability
[1984] 2024-01-31 20:07:53 debug getsome: cancelled 0E0 duplicate(s) of job 2522521
[1984] 2024-01-31 20:07:53 info mgr (2): job 2522521 booked out for this processing node
[1984] 2024-01-31 20:07:53 debug mgr (2): sleeping now...
[10627] 2024-01-31 20:07:53 info pol (18): starting discover job(2522521) at Wed Jan 31 20:07:53 2024
[10627] 2024-01-31 20:07:53 debug discover: running with timeout 600s
[10627] 2024-01-31 20:07:53 debug => running workers for phase: check
[10627] 2024-01-31 20:07:53 debug -> run worker check/1000000 "internal::backendfqdn"
[10627] 2024-01-31 20:07:53 debug -> run worker check/1000000 "internal::snmpfastdiscover"
[10627] 2024-01-31 20:07:53 debug running with configured SNMP timeouts
[10627] 2024-01-31 20:07:53 debug -> run worker check/0 "discover"
[10627] 2024-01-31 20:07:53 debug Discover is able to run.
[10627] 2024-01-31 20:07:53 debug => running workers for phase: early
[10627] 2024-01-31 20:07:53 debug -> run worker early/100 "discover::properties"
[10627] 2024-01-31 20:07:53 debug snmp reader cache warm: [10.9.100.11]
[10627] 2024-01-31 20:07:53 debug [10.9.100.11:161] try_connect with v: 3, t: 0.2, r: 0, class: SNMP::Info, comm:
[10627] 2024-01-31 20:07:53 debug [10.9.100.11:161] try_connect with v: 3, t: 0.2, r: 0, class: SNMP::Info, comm:
[10627] 2024-01-31 20:07:53 debug [10.9.100.11:161] try_connect with v: 3, t: 0.2, r: 0, class: SNMP::Info, comm:
[10627] 2024-01-31 20:07:53 debug [10.9.100.11:161] try_connect with v: 2, t: 0.2, r: 0, class: SNMP::Info, comm:
[10627] 2024-01-31 20:07:54 debug -> run worker early/100 "discover::properties"
[10627] 2024-01-31 20:07:54 debug -> run worker early/100 "discover::properties"
[10627] 2024-01-31 20:07:54 debug [10.9.100.11] device - OK to continue discover (valid interfaces)
[10627] 2024-01-31 20:07:54 debug -> run worker early/100 "discover::properties"
[1984] 2024-01-31 20:07:54 debug mgr (2): getting potential jobs for 160 workers
[1984] 2024-01-31 20:07:54 debug mgr (2): sleeping now...
[10627] 2024-01-31 20:07:54 debug [10.9.100.11] device - aliased as 10.9.100.11
[10627] 2024-01-31 20:07:54 debug resolving 1 aliases with max 50 outstanding requests
[10627] 2024-01-31 20:07:54 debug [10.9.100.11] device - removed 1 aliases
[10627] 2024-01-31 20:07:54 debug [10.9.100.11] aliases - added 1 new aliases
[10627] 2024-01-31 20:07:54 debug -> run worker early/100 "discover::properties"
[1984] 2024-01-31 20:07:55 debug mgr (2): getting potential jobs for 160 workers
[1984] 2024-01-31 20:07:55 debug mgr (2): sleeping now...
[10627] 2024-01-31 20:07:55 debug [10.9.100.11] db/ports - removed 0 port entries from DevicePortPower
[10627] 2024-01-31 20:07:55 debug [10.9.100.11] db/ports - removed 16 port entries from DevicePortProperties
[10627] 2024-01-31 20:07:55 debug [10.9.100.11] db/ports - removed 0 port entries from DevicePortSsid
[10627] 2024-01-31 20:07:55 debug [10.9.100.11] db/ports - removed 0 port entries from DevicePortVlan
[10627] 2024-01-31 20:07:55 debug [10.9.100.11] db/ports - removed 0 port entries from DevicePortWireless
[10627] 2024-01-31 20:07:55 debug [10.9.100.11] interfaces - removed 16 interfaces
[10627] 2024-01-31 20:07:55 debug [10.9.100.11] interfaces - added 16 new interfaces
[10627] 2024-01-31 20:07:55 debug => running workers for phase: main
[10627] 2024-01-31 20:07:55 debug -> run worker main/100 "discover::canonicalip"
[10627] 2024-01-31 20:07:55 debug -> run worker main/100 "discover::entities"
[10627] 2024-01-31 20:07:55 debug [10.9.100.11] modules - removed 1 chassis modules
[10627] 2024-01-31 20:07:55 debug [10.9.100.11] modules - 0 chassis components (added one pseudo for chassis)
[10627] 2024-01-31 20:07:55 debug -> run worker main/100 "discover::neighbors"
[10627] 2024-01-31 20:07:55 debug [10.9.100.11] neigh - removed 0 outdated manual topology links
[10627] 2024-01-31 20:07:55 debug [10.9.100.11] neigh - setting manual topology links
[10627] 2024-01-31 20:07:55 debug [10.9.100.11] neigh - neighbor protocols are not enabled
[10627] 2024-01-31 20:07:55 debug [10.9.100.11] neigh - processed 0 neighbors
[10627] 2024-01-31 20:07:55 debug -> run worker main/100 "discover::neighbors::docsis"
[10627] 2024-01-31 20:07:55 debug [10.9.100.11] neigh - no modems (probably not a DOCSIS device)
[10627] 2024-01-31 20:07:55 debug -> run worker main/100 "discover::neighbors::routed"
[10627] 2024-01-31 20:07:55 debug -> run worker main/100 "discover::portpower"
[10627] 2024-01-31 20:07:55 debug [10.9.100.11] power - 0 power modules
[10627] 2024-01-31 20:07:55 debug -> run worker main/100 "discover::portproperties"
[10627] 2024-01-31 20:07:55 debug [10.9.100.11] resolving 0 remote_ips with max 50 outstanding requests
[10627] 2024-01-31 20:07:55 debug [10.9.100.11] properties - removed 0 port properties
[10627] 2024-01-31 20:07:55 debug [10.9.100.11] properties - added 16 new port properties
[10627] 2024-01-31 20:07:55 debug -> run worker main/100 "discover::portproperties::portaccessentity"
[10627] 2024-01-31 20:07:55 debug [10.9.100.11] pae - updating PortAccessEntity details
[10627] 2024-01-31 20:07:55 debug [10.9.100.11] pae - no PortAccessEntity support, leaving worker
[10627] 2024-01-31 20:07:55 debug Skipped pae for 10.9.100.11
[10627] 2024-01-31 20:07:55 debug -> run worker main/0 "discover::properties::tags"
[10627] 2024-01-31 20:07:55 debug -> run worker main/0 "discover::properties::tags"
[10627] 2024-01-31 20:07:55 debug -> run worker main/100 "discover::vlans"
[10627] 2024-01-31 20:07:55 debug [10.9.100.11] vlans - removed 0 port VLANs
[10627] 2024-01-31 20:07:55 debug [10.9.100.11] vlans - added 0 new port VLANs
[10627] 2024-01-31 20:07:55 debug [10.9.100.11] vlans - removed 0 device VLANs
[10627] 2024-01-31 20:07:55 debug [10.9.100.11] vlans - added 0 new device VLANs
[10627] 2024-01-31 20:07:55 debug [10.9.100.11] vlans - discovered for ports and device
[10627] 2024-01-31 20:07:55 debug -> run worker main/100 "discover::wireless"
[10627] 2024-01-31 20:07:55 debug -> run worker main/0 "discover::withnodes"
[10627] 2024-01-31 20:07:55 debug => running workers for phase: late
[10627] 2024-01-31 20:07:55 debug -> run worker late/0 "discover::hooks"
[10627] 2024-01-31 20:07:55 debug [10.9.100.11] hooks - 0 queued
[10627] 2024-01-31 20:07:55 debug -> run worker late/0 "discover::snapshot"
[10627] 2024-01-31 20:07:55 info pol (18): wrapping up discover job(2522521) - status done at Wed Jan 31 20:07:55 2024

@JeroenvIS
Copy link
Member

Did you fully restart Netdisco after changing the two .pm files? From the debug output, it looks like your changes haven't been picked up.

@rohanrajnv
Copy link
Author

image
image

@rohanrajnv
Copy link
Author

Even I thought So i restarted the VM all the 4 Backend that is configured as Netdisco

@rohanrajnv
Copy link
Author

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

4 participants