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

snmpsim-record-commands loops but does not finish #142

Open
Phhere opened this issue Nov 4, 2024 · 2 comments
Open

snmpsim-record-commands loops but does not finish #142

Phhere opened this issue Nov 4, 2024 · 2 comments
Labels
area:snmpsim SNMP Simulator more info needed We need more information about this issue priority:low Low priority items.

Comments

@Phhere
Copy link

Phhere commented Nov 4, 2024

Expected behavior

I try to use snmpsim-record-commands --agent-udpv4-endpoint=127.0.0.1 --output-file=/tmp/file.snmprec to dump the snmp data of an local agent

Actual behavior

But this command runs forever and continues to output more and more like this without doing anything:

OIDs dumped: 0/13000 
OIDs dumped: 0/13100 
OIDs dumped: 0/13200 
OIDs dumped: 0/13300 
OIDs dumped: 0/13400 
OIDs dumped: 0/13500 
OIDs dumped: 0/13600 
OIDs dumped: 0/13700 
OIDs dumped: 0/13800 
OIDs dumped: 0/13900 
OIDs dumped: 0/14000 
OIDs dumped: 0/14100 
OIDs dumped: 0/14200 

When killed it outputs something like this

OIDs dumped: 28698, elapsed: 7.86 sec, rate: 1824.00 OIDs/sec, errors: 0

But nothing is written to the target file

Detailed steps

pip install snmpsim
snmpsim-record-commands --agent-udpv4-endpoint=127.0.0.1 --output-file=/tmp/file.snmprec

Python package information

SNMP Simulator version 1.1.7

Operating system information

Linux Debian 11

Python information

3.9.2

(Optional) Contents of your test script

No response

Relevant log output

No response

@Phhere Phhere added bug Something isn't working triage New issues that need to be sorted out. labels Nov 4, 2024
@lextudio-support lextudio-support added the area:snmpsim SNMP Simulator label Nov 4, 2024
@lextudio-support
Copy link

New issues are marked as low priority by default. Becoming our commercial customers, and then your reports are handled with higher priority after triage.

@lextudio-support lextudio-support added priority:low Low priority items. and removed triage New issues that need to be sorted out. labels Nov 4, 2024
@Phhere
Copy link
Author

Phhere commented Nov 5, 2024

I think it is related to pyasn1 because downgrading (<0.6) this dependency fixes the issue

@lextm lextm added more info needed We need more information about this issue and removed bug Something isn't working labels Nov 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 more info needed We need more information about this issue priority:low Low priority items.
Projects
None yet
Development

No branches or pull requests

3 participants