Comments (3)
A quick question on the writecache
problem: can you give me a simple reproducer to streamline the fix? Like the .snmprec and snmpset command that fails? Traceback would also be useful.
I will comment on the rest of your notes shortly.
from snmpsim.
Hello, thank you for your reply.
In order to reproduce the error place inside a snmprec file the following record:
1.2.3.4.4.2.1|4x:writecache|value=423423abc123fdd
Then start snmpsimd and send a SNMPGet request for this OID. This will cause a type error.
However, I found a workaround that enables me to modify hexademical value OIDs. I rewrite the above OID this way:
1.2.3.4.4.2.1|4:writecache|hexvalue=423423abc123fdd
This actually works and I can now edit this OID too so you might not want to look into it, maybe just place a note in the documentation of variation modules for anyone wanting to edit hexademical values to remove the 'x' when using writecache.
As for the rest of of my questions, basically it would be very helpful to us if there was for SNMPSim to insert new OIDs or delete old ones at runtime. For example, a Xirrus Device is sent a SNMPSet request that instructs it to create a new tunnel. This translates to the creation of a new OID for the Xirrus device that can now be retrieved via SNMPGet if needed.
Thank you for your time!
from snmpsim.
I beg your pardon for it has taken so long to resolve this issue!
I think commit cda100f should have resolved it in a way that optional .snmprec tag modifier ('x' or 'e') gets ignored by the variation modules.
from snmpsim.
Related Issues (20)
- SNMP communication HOT 8
- snmplabs.com HOT 6
- SnmpV3 HOT 6
- Option to disable uid=0 check HOT 9
- snmp simulator HOT 2
- IP and Port number in snmp simulator HOT 6
- Can the daemon return random values? HOT 1
- Not dumping to .snmprec and not populating SQL table HOT 1
- Unable to record from MIB HOT 6
- Permissions problems running snmpsim as root
- snmpbulkwalk times out
- Cannot Import UTILS from SNMPSIM
- Unable to import utils
- snmpsim-command-responder: command not found on installing with pip HOT 1
- Cannot retrieve data from snmpsim with SNMP V3 HOT 1
- decodeMessageVersion takes 3 positional arguments but 4 were given. Cannot connect to the agent using SNMP Walk HOT 18
- snmpsimd.py is crashing on startup HOT 1
- No context in SNMP V3? HOT 4
- Any way to make mib2rec.py automatic?
- Cannot retrieve any data from simulator using any version HOT 12
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 snmpsim.