Open rohanrajnv opened 5 months ago
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.
[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:
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.
Potential fix in https://github.com/netdisco/snmp-info/commit/6864099313c22b538706bf9cc7576fea94043f89, untested
I have updated the App to latest Should i edit this file /home/netdisco/perl5/lib/perl5/SNMP/Info.pm?
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)
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
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
while i have not looked in detail this could be snmp field protection.
can you delete the device & discover again?
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:
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.
Even I thought So i restarted the VM all the 4 Backend that is configured as Netdisco
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
Your Environment