-
-
Notifications
You must be signed in to change notification settings - Fork 44
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
Trap receiver support #72
Comments
I don't have an opinion on this. This doesn't seem an easy fit for Snimpy API style, but if you manage to find a way to integrate into the existing style, why not. |
I looked a bit into it and I think the way it would fit is:
With this the notification receiver could be completely separate and would not pollute the API. |
I like this plan. 👍 But I cannot help right now. |
In case somebody would be interested, I found an easier alternative: I use the Net-Snmp smpd server with the snmptrapd receiver as a subagent, and connect to the SNMP server with snimpy. I had to use this trick to make it work (or I guess you could configure SNMPv3): |
Didn't know about that. Nice workaround. |
I would like to receive SNMP traps and parse them with Snimpy's MIB manager.
Do you have an idea how it could be added?
I would guess something like a trap_receiver(port) on the manager, which would listen on the port and give you a manager-like way to navigate the traps, to see if they are active, to suppress them, to count how many were received. Some filtering would also be useful to support larger amounts of traps.
I can have a try at it if you would be interested in such a feature.
The text was updated successfully, but these errors were encountered: