-
Bug
-
Resolution: Fixed
-
Low
-
None
-
Discovery 3.1.0
-
None
-
2
-
Severity 3 - Minor
-
Issue Summary
Using Insight Discovery, when scanning SNMP network devices using our default patterns, SNMP_Deviceinfo_Default.pat, the “location” parameter is not being returned as HEX instead of ASCII
Steps to Reproduce
- Set up an SNMP Device on the network
- Ensure through a SNMP tester tool or by running an SNMP walk, with numeric OIDs 1.3.6.1.2.1.1.6.0 that "Location" value is correctly set on the device.
- On the Discovery Tool, "Credentials" tab, set up "SNMP_V3" type as well as user and password.
- Run the Discovery Scan
Expected Results
Location value from the device should return correctly if found.
In the following example, Location value should return: BE_304
Actual Results
SNMP_Deviceinfo_Default.pat returns the value in HEX (42455F333034) instead of ASCII (BE_304)
The below can be seen in the discovery-xxxxx.log file:
17.01.2022 14:14:55 : Using pattern: SNMP_Deviceinfo_Default.pat (v3.3.0) 17.01.2022 14:14:55 : Sending message request... 17.01.2022 14:14:55 : Processing 5 SNMP results. 17.01.2022 14:14:56 : Command: 1.3.6.1.2.1.1.3.0;1.3.6.1.2.1.1.4.0;1.3.6.1.2.1.1.5.0;1.3.6.1.2.1.1.6.0;1.3.6.1.4.1.2021.4.5.0 17.01.2022 14:14:56 : Result: 1.3.6.1.2.1.1.3.0: 76d 3h 48m 1.3.6.1.2.1.1.4.0: +111111111, username@email.com 1.3.6.1.2.1.1.5.0: hostname 1.3.6.1.2.1.1.6.0: 42455F333034
Workaround
Until the current pattern is adjusted to fix that, you can converting Hex value to Ascii