I am trying to get a full walk of my device. If I walk 1.3.6 it walks all the way up to a specific OID and fails every time. For some reason it only has an issue with that one OID. I can walk OIDs after that one just fine. How can I get the snmp tester to continue on error?
Here is partial output:
7/23/2020 3:08:05 PM (28453 ms) : 1.3.6.1.2.1.4.31.1.1.29.2 = "0" [ASN_COUNTER] 7/23/2020 3:08:05 PM (28509 ms) : 1.3.6.1.2.1.4.31.1.1.30.1 = "72813233" [ASN_COUNTER] 7/23/2020 3:08:05 PM (28554 ms) : 1.3.6.1.2.1.4.31.1.1.30.2 = "4294967288" [ASN_COUNTER] 7/23/2020 3:08:05 PM (28604 ms) : 1.3.6.1.2.1.4.31.1.1.31.1 = "72813233" [ASN_COUNTER64] 7/23/2020 3:08:05 PM (28739 ms) : Error: -2008
But if I advance the OID, it works.
----------------------- New Test ----------------------- Paessler SNMP Tester - 20.1.58 Computername: ********* 7/23/2020 3:11:46 PM (13 ms) : Device: ************ 7/23/2020 3:11:46 PM (18 ms) : SNMP v2c 7/23/2020 3:11:46 PM (24 ms) : Walk 1.3.6.1.2.1.4.31.1.1.32 7/23/2020 3:11:46 PM (66 ms) : 1.3.6.1.2.1.4.31.1.1.32.1 = "1965575388" [ASN_COUNTER] 7/23/2020 3:11:46 PM (122 ms) : 1.3.6.1.2.1.4.31.1.1.32.2 = "0" [ASN_COUNTER]
Article Comments
I tried increasing the timeout to 50 then 100. I also tried Slow Tweak. It still fails in the same spot. Is there any way to tell it to skip that one and go on? I tried Manage Engine's snmp tester and it made it past this OID, but your utility is a lot better for clarity of output. Their's leaves a lot to be desired. I would really like to get your's working.
Thank you.
Jul, 2020 - Permalink
Hi Toby,
You can also try to use the option "Scan Script" and use a SNMP walk script. In this script, you can list all OIDs which should be scanned. In this way, you can define where the tester should start again after the fail. The script could look like this:
walk=1.3.6.1.2.1.25.1
walk=1.3.6.1.2.1.1.3
walk=XXXXXX
Jul, 2020 - Permalink
Thanks for the reply. I did use the Scan Script but it doesn't continue after the first one fails. It just scans the OIDs I specify and stops. I know there are OIDs after these because I can scan them manually.
Scan Script:
walk=1.3.6
walk=1.3.6.1.2.1.4.31.1.1.31.2
walk=1.3.6.1.2.1.4.31.1.1.32
Output:
<lines deleted>
7/27/2020 3:15:42 PM (95851 ms) : 1.3.6.1.2.1.4.31.1.1.29.1 = "0" [ASN_COUNTER]
7/27/2020 3:15:42 PM (96012 ms) : 1.3.6.1.2.1.4.31.1.1.29.2 = "0" [ASN_COUNTER]
7/27/2020 3:15:42 PM (96162 ms) : 1.3.6.1.2.1.4.31.1.1.30.1 = "448635406" [ASN_COUNTER]
7/27/2020 3:15:43 PM (96310 ms) : 1.3.6.1.2.1.4.31.1.1.30.2 = "4294967288" [ASN_COUNTER]
7/27/2020 3:15:43 PM (96485 ms) : 1.3.6.1.2.1.4.31.1.1.31.1 = "448635406" [ASN_COUNTER64]
7/27/2020 3:15:43 PM (96928 ms) : Error: -2008
7/27/2020 3:15:43 PM (96936 ms) : walk 1.3.6.1.2.1.4.31.1.1.31.2
7/27/2020 3:15:43 PM (97088 ms) : walk 1.3.6.1.2.1.4.31.1.1.32
7/27/2020 3:15:44 PM (97238 ms) : 1.3.6.1.2.1.4.31.1.1.32.1 = "2453515885" [ASN_COUNTER]
7/27/2020 3:15:44 PM (97391 ms) : 1.3.6.1.2.1.4.31.1.1.32.2 = "0" [ASN_COUNTER]
Jul, 2020 - Permalink
Please note if you use this option, you can only entere OIDs without an index. Therefore, "1.3.6.1.2.1.4.31.1.1.31.2" does not work.
You can see the OID with result in the walk over "1.3.6.1.2.1.4.31.1.1.32" :
1.3.6.1.2.1.4.31.1.1.32.2 = "0" [ASN_COUNTER]
Please also note that a walk over 1.3.6 makes no sense since this is less than default:
Iso (1) .org (3) .dod (6) .internet (1) .private (4)
Please note that (.dod) means departments of defense and therefore every OID has also .internet (1) and 80% of OIDs also has .private (4).
Therefore, please let me know what you want to achieve. If you want to know the OIDs for your device, I recommend to contact the vendor for a MIB file or google after your device.
Jul, 2020 - Permalink
It seems like that the device does not answer to this OID and the request runs into a timeout, therefore, the walk stops. You can try to increase the timeout or to use the option "slow tweak" so the device will not be overloaded with SNMP requests.
Jul, 2020 - Permalink