-
Notifications
You must be signed in to change notification settings - Fork 492
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
Kapacitor changed host name but failed to create subscription #258
Comments
I've had a similar problem and delete all subscriptions before starting Kapacitor again. |
@earthnut Yep, you will need to delete the subscriptions manually if you change the hostname. There is no safe way to know that the old subscriptions do not belong to another Kapacitor instance on localhost so they are not automatically deleted. Should be a rare bit of manual work. Maybe we should use the cluster id in the name in the future but for now there is a simple work around. |
@nathanielc We don't have UDP load balancer. Is there any work around for this situation ? |
@earthnut Great question, there are two approaches:
Currently Kapacitor does not have good HA support. This is on the roadmap. |
@nathanielc I like the 1st approach. we will try the the 2nd approach first. |
After the test on the same server with influxDB, Kapacitor was moved to another server.
Every time Kapacitor was restarted, the create subscription message showed up in influxDB log.
However after run "show subscriptions", the localhost one was still there.
name: telegraf
retention_policy name mode destinations
default kapacitor ANY [udp://localhost:49771]
And influxDB always send UDP packet to:
[subscriber] 2016/02/24 16:36:40 write udp 127.0.0.1:61098->127.0.0.1:49771: write: connection refused
So do I supposed to drop subscription, before I changed the Kapacitor host name ?
Thanks
The text was updated successfully, but these errors were encountered: