-
-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Different responses from command line than from library #45
Comments
Hi @maufc, So it looks like the large integer in the OID is not being parsed correctly. Are you able to provide a packet trace of the query and response so I can troubleshoot it further? Thanks Steve |
Hi. I'm sorry I couldn't answer before. |
So it looks like you are on a Lunix host, in which case do something like (untested):
Recreate the issue, then attach the resulting capture.cap file. |
Hi. Hope you understand where the problem is. Thanks! |
This topic was never solved. |
Hi.
I have some troubles trying to comunitate with some ComAp Controllers using this library.
We got 16 units, 6 AMF-25 and 10 PWR models. All same model units got the same firmware.
I always got an answer if I use snmpget from the command line but it fails randomly (independently of the model)
The response I got is the following:
{ ResponseInvalidError: OID '1.3.6.1.4.1.28634.6.3780509972.2.8198.0' in request at positiion '0' does not match OID '1.3.6.1.4.1.28634.6.-514457324.2.8198.0' in response at position '0'
at Object.feedCb (/home/mauricio/server/node_modules/net-snmp/index.js:626:22)
at Object.Session.onSimpleGetResponse [as onResponse] (/home/mauricio/server/node_modules/net-snmp/index.js:951:7)
at Session.onMsg (/home/mauricio/server/node_modules/net-snmp/index.js:920:9)
at emitTwo (events.js:126:13)
at Socket.emit (events.js:214:7)
at UDP.onMessage [as onmessage] (dgram.js:659:8)
name: 'ResponseInvalidError',
message: 'OID '1.3.6.1.4.1.28634.6.3780509972.2.8198.0' in request at positiion '0' does not match OID '1.3.6.1.4.1.28634.6.-514457324.2.8198.0' in response at position '0'' }
What would be the problem that fails using the library but it doesn't when using snmp from the command line.
Thanks!
The text was updated successfully, but these errors were encountered: