Comments (2)
❦ 17 mai 2015 14:11 -0700, Andreas Bontozoglou [email protected] :
I try to call walk directly on a Session instance. The data returned
do start at the correct point/OID, however there are extra OIDs at the
end. I suspect I am doing something wrong when calling it. Minimal
example:
No, that's expected. We receive more OID that we need when walking and
they should be discarded. This is done at the higher level within the
manager.
Shouldn't it stop at 1.3.6.1.2.1.2.2.1.22.3? Why am I getting the
extra ones? I also tried the walk using a string instead of a tuple...
same output. Any help would be appreciated.
Walk requests are translated to GETBULK. We ask for the 10 next
OID. SNMP doesn't restrict this operation to a subtree (because it
wouldn't know which subtree it is). The client has to filter itself.
Write clearly - don't be too clever.
- The Elements of Programming Style (Kernighan & Plauger)
from snimpy.
Hmm... I will write a wrapper function for this then. The problem is that I have to query without MIBs.
Thanks for the fast response,
Andreas
from snimpy.
Related Issues (20)
- Add how to add an new MIB path into the documentation HOT 1
- Migrate from unsupported pysnmp to pysnmp-lexstudio
- Publish a new release HOT 1
- Trap receiver support HOT 5
- SNMP socket is leaked HOT 5
- Question: How do I lookup values across two tables HOT 9
- How do I get by OID HOT 2
- PMPP support? HOT 4
- snimpy/manager.py broken in Python 3.7
- how do I get an OID from a MIB node ? HOT 5
- How to get KEEPALIVED-MIB::vrrpSyncGroupState HOT 8
- print(mgr.fgVpnTunEntPhase1Name.items()) produces "snimpy.snmp.SNMPNoSuchInstance: No such instance exists" HOT 3
- BGP4-V2-MIB-JUNIPER, take 2
- Use the native Python ipaddress types HOT 4
- SNMP Community Strings greater than 32 characters crash HOT 2
- Confusing example in documentation HOT 1
- Return the pretty name from a referenced OID HOT 5
- Deprecation warning: snimpy not compatible with upcoming Python 3.10 HOT 2
- use unittest.mock instead of mock HOT 1
- Installation snimpy error on AlmaLinux 8.6 HOT 11
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 snimpy.