Comments (3)
It seems to me like GetMulti should detect when the packet would be too big and return a error or perhaps divide up the request and issue multiple requests but as the maximum packet size would vary depending on the environment I'm not sure how you'd figure out what size is too big.
from gosnmp.
I'm working around this by splitting GetMulti requests into batches of 5 OIDs per request and combining the results: jda/gosnmp@6e53242
from gosnmp.
Hi,
Yes currently I do not do any checks to make sure that the packet resulting fits into a single-udp packet. I will add this in my todo-list.
from gosnmp.
Related Issues (17)
- Any plans to support version 2? HOT 4
- Results are being truncated HOT 2
- Unexpected results HOT 1
- Counter32 return nil value
- Allow ports other than 161 HOT 1
- Can't decode OctetString HOT 2
- gosnmp_test.go:55: Running walk test panic: runtime error: invalid memory address or nil pointer dereference
- Unable to get get-response with gosnmp.Version1
- trap support
- invalid memory address or nil pointer dereference
- No response for requests >= 128 bytes
- No method of closing the port๏ผ HOT 1
- h3c many response at once request
- bug about Walk, which leads to endless loop
- Unable to decode packet: Unable to decode value: No such instance
- MAC(hex-string type) decode
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 gosnmp.