calmh/node-snmp-native

Error while getting ip address data.

neias opened this issue · 0 comments

neias commented

When I use the "snmpget" command from the shell it's okay, but when I use the library, I encounter such a problem.

$ snmpget -v2c -c administrator 192.168.2.60 1.3.6.1.4.1.21317.1.3.2.2.3.4.2.0

output

SNMPv2-SMI::enterprises.21317.1.3.2.2.3.4.2.0 = IpAddress: 192.168.2.60

but when i use the library
I'm getting an output like...

'0,4,192,168,2,60,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,' }

I also add the wireshark output.
simple.pcapng.zip