Skip to content
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

[Feature]: possibility to use multiple variation modules for the same OID in snmpsim #61

Open
gotgot1995 opened this issue Apr 3, 2024 · 0 comments
Labels
area:snmpsim SNMP Simulator idea Suggestions/advice on new things, but might not be mature enough to work on. priority:low Low priority items. up for grabs Pull requests are welcome

Comments

@gotgot1995
Copy link

gotgot1995 commented Apr 3, 2024

Is your feature request related to a problem? Please describe.

Hi everyone 👋

I'm looking for a way to use multiple variation modules for one specific OID inside my simulation data file.
For instance, I'd like to use the writecache and notification modules to allow writing an OID and trigger an SNMP trap.

Describe the solution you'd like

A possible solution would be to have multiple entries for the same OID in the simulation data file with each entry describing how to use each variation module, something like:

1.3.6.1.2.1.1.1.0|4:writecache|value=some message
1.3.6.1.2.1.1.1.0|4:notification|op=get,version=1,community=public,\
  proto=udp,host=127.0.0.1,port=162,ntftype=trap,\
  trapoid=1.3.6.1.4.1.20408.4.1.1.2.0.432,uptime=12345,agentaddress=127.0.0.1,\
  enterprise=1.3.6.1.4.1.20408.4.1.1.2,\
  varbinds=1.3.6.1.2.1.1.1.0:s:snmpsim agent:1.3.6.1.2.1.1.3.0:i:42,\
  value=some other value

Describe alternatives you've considered

As a workaround, I'm currently trying to merge the writecache and notification modules into one.

Additional context

No response

@gotgot1995 gotgot1995 added idea Suggestions/advice on new things, but might not be mature enough to work on. triage New issues that need to be sorted out. labels Apr 3, 2024
@gotgot1995 gotgot1995 changed the title [Feature]: possibility to use multiple variation modules for the same OID inside simulation data file [Feature]: possibility to use multiple variation modules for the same OID in SNMPSIM Apr 3, 2024
@gotgot1995 gotgot1995 changed the title [Feature]: possibility to use multiple variation modules for the same OID in SNMPSIM [Feature]: possibility to use multiple variation modules for the same OID in snmpsim Apr 3, 2024
@lextm lextm added up for grabs Pull requests are welcome area:snmpsim SNMP Simulator priority:low Low priority items. and removed triage New issues that need to be sorted out. labels Apr 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:snmpsim SNMP Simulator idea Suggestions/advice on new things, but might not be mature enough to work on. priority:low Low priority items. up for grabs Pull requests are welcome
Projects
None yet
Development

No branches or pull requests

2 participants