Closed Rikharms1972 closed 8 months ago
For any issue you open please include Netshot version, logs, etc. I cannot reproduce this issue, my version seems to properly try SNMPv3 credential set then SNMPv2 until one works.
Version: 0.18.2 What I see with a SNMPv2 device: [TRACE] Trying SNMPv2c discovery. [DEBUG] Got sysDesc = 3916 Service Delivery Switch [DEBUG] Got sysObjectID = 1.3.6.1.4.1.6141.1.84
[TRACE] Trying SNMPv3 discovery. [DEBUG] Got sysDesc = 5754 [DEBUG] Got sysObjectID = 5755
Log
2024-04-02 11:04:23,181 WARN [NetshotRunnerScheduler_Worker-7] TaskJob: Running the task 3291520 of type onl.netfishers.netshot.work.tasks.DiscoverDeviceTypeTask 2024-04-02 11:04:24,003 ERROR [NetshotRunnerScheduler_Worker-7] DeviceGroup: Parse error while updating the group 13. 2024-04-02 11:04:24,632 WARN [NetshotRunnerScheduler_Worker-7] TaskJob: End of task 3291520. tcpdump
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth1, link-type EN10MB (Ethernet), capture size 262144 bytes
11:02:11.966703 IP netshot.mnd.b2b.oss.local.53439 > htn-39
Snmpwalk snmpwalk -v3 -l authPriv -u ZiggoSecurity -a SHA -A ^gn#29RvRc46 -x AES -X ^gn#29RvRc47 192.168.144.79 snmpwalk: Unknown user name
It looks like the entry in the generic driver accepts this response:
function snmpAutoDiscover(sysObjectID, sysDesc) { // Accept any device which replied to SNMP polls. return true; }
I was able to fix by setting it to False, disabling basically generic_snmp. Now it finds the device on SNMPv2 or it just fails..
Please upgrade to the latest version before opening issue, it is likely your problem is already fixed.
I have an issue with auto discovery of certain Nokia routers. I have two sets of Device Credentials:
Issue happens on a router with snmpv2 only configured:
is it possible to move to the next snmp set when this error occurs?