Skip to content

SNMP Trap only listen to one set of credentials. #121

@bensonwang186

Description

@bensonwang186

I can successfully receive the SNMP Trap using register_trap_callback faction (puresnmp\api\raw.py), but I can only listen to one set of credentials. There is no way to open two register_trap_callback factions at the same time because the ports will conflict.

During the test, I discovered that assuming I was listening to SNMP V1 Trap, I could still receive SNMP V3 Trap at this time,
but there would be an Execption showing credentials verification errors. It seems that as long as I listen to Port 162, all Traps can be received.
Just because the register_trap_callback faction can only verify one set of credentials,
is it possible to support SNMP Trap that listens multiple sets of credentials at the same time of register_trap_callback?
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions