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

Add ability to enable SO_REUSEPORT #382

Open
loganmc10 opened this issue Nov 11, 2021 · 2 comments
Open

Add ability to enable SO_REUSEPORT #382

loganmc10 opened this issue Nov 11, 2021 · 2 comments

Comments

@loganmc10
Copy link

Would it be possible to enable the use of SO_REUSEPORT when listening for SNMP traps?

I run a single-node Kubernetes cluster. I'd like to run multiple copies of Telegraf, each listening for traps, but they all listen on port 162.

This will allow me to run multiple replicas on the same node so that I can do rolling updates.

@loganmc10
Copy link
Author

I did find this implementation, but I don't really know Go, so I can't say whether it's good or not:

sleepinggenius2@ae781f4

@TimRots
Copy link
Member

TimRots commented Nov 17, 2021

Hi @loganmc10 , seems like a nice feature. Will take a shot at implementing this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants