Comments (5)
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
from node-net-snmp.
Hi. I'm sorry I couldn't answer before.
I couldn't provide the packet Trace of the query or the response. If you can tell me how to do it I will.
Could it be dice on some other way?
Thanks
from node-net-snmp.
So it looks like you are on a Lunix host, in which case do something like (untested):
tcpdump -w capture.cap -i any port 161
Recreate the issue, then attach the resulting capture.cap file.
from node-net-snmp.
Hi.
Sorry for the late response...
According to this, I do get an answer from the device but I still get an error on the command line.
This is the capture:
19:06:53.676674 IP generador-NUC7i3BNH.46454 > 153.0.0.140.snmp: GetRequest(37) E:28634.6.3607365907.2.8198.0
19:06:53.685290 IP 153.0.0.140.snmp > generador-NUC7i3BNH.46454: GetResponse(38) E:28634.6.3607365907.2.8198.0=11
This is the response on command line:
{ ResponseInvalidError: OID '1.3.6.1.4.1.28634.6.3607365907.2.8198.0' in request at positiion '0' does not match OID '1.3.6.1.4.1.28634.6.-687601389.2.8198.0' in response at position '0'
at Object.feedCb (/home/generador/server/node_modules/net-snmp/index.js:626:22)
at Object.Session.onSimpleGetResponse [as onResponse] (/home/generador/server/node_modules/net-snmp/index.js:951:7)
at Session.onMsg (/home/generador/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.3607365907.2.8198.0' in request at positiion '0' does not match OID '1.3.6.1.4.1.28634.6.-687601389.2.8198.0' in response at position '0'' }
IP 153.0.0.140-- no response mon -- OID: 1.3.6.1.4.1.28634.6.3607365907.2.8198.0
Hope you understand where the problem is.
Thanks!
from node-net-snmp.
This topic was never solved.
from node-net-snmp.
Related Issues (20)
- Create SNMP Server and client with NodeJS HOT 2
- Calling session.close() HOT 4
- ParseInt in column number fails on 2+ whitespace characters between Object name and ID HOT 2
- Support for SMIv1 type definitions HOT 9
- `readUInt32` issues HOT 4
- Update MIB tree from existing MIB file HOT 1
- agent v3 - discovery not completed HOT 1
- Is there a way to get metric information using MIB instead of OID to external snmp agent that already exists? HOT 10
- Types and possible bug HOT 1
- session.subtree: feedCallback return value not checked (version 3.9.7) HOT 3
- Question: guidance on building a callback-driven agent HOT 3
- RequestInvalidError: Unknown type '[object Object]' in request HOT 2
- RequestFailedError: EndOfMibView: for session.table() against Agent with MIB with a single table HOT 4
- How can I assign a handler to provider loaded from MIB via registerProviders method? HOT 1
- MIBs with middle entries that do not include object name annotations fail to compile correctly HOT 3
- Incorrect OID construction for MIBs with standard object name conflicts HOT 7
- SNMP-JS
- Agentx command handler function async and error HOT 2
- Poor documentation \ overall tool state HOT 12
- registerProviders crashes at 851 providers HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-net-snmp.