Comments (5)
You can run consul-alerts on a single node or for high availability, you can run it on several nodes. consul-alerts can run as a cluster and does leader-election, the leader will be the one that dispatches the alerts while the others on standby. If the node of the consul-alerts leader fails, another consul-alerts instance on different nodes will take the role.
You can run it on all 7 nodes. I suggest just running it with the 3 server nodes unless those nodes are already heavy loaded. If all server nodes are down, consul-alerts won't work too since it relies on a working consul cluster (currently it crashes... need to fix it).
from consul-alerts.
@darkcrux OK great, thanks for taking the time to tap that out.
I have it on all 7 nodes right now, but I think I'll scale down go with the 3 server nodes only.
If load becomes an issue I'll shuffle things around.
I'm very happy with Consul and Consul-alerts, I'll be following this project and will keep any eye out for bug fixes and upgrades.
I'm mostly a node.js and Ruby dev (currently), but using Consul has encouraged me to pick up my 1st Go book and learn the language.
If I'm ever able to actively contribute I will.
Thanks!
from consul-alerts.
@darkcrux Ah, one question:
If the node of the consul-alerts leader fails, another consul-alerts instance on different nodes will take the role.
In that case there needs to be more than 2 consul-alerts nodes running correct?
If a 3 node consul-alerts cluster drops to 2 a new leader cannot be elected (thus no alert sent) ?
from consul-alerts.
Nah. It should be alright. consul-alerts only requires at least 1 instance. If a 3 node drops to two, one of the two remaining nodes will become the leader.
from consul-alerts.
Ah that's nice. All good then.
Cheers.
from consul-alerts.
Related Issues (20)
- Support parametric notification profiles HOT 2
- Disable notifications with consul tags HOT 1
- email notifier: distinct email receivers based on consul service HOT 1
- Checks status "from [empty] to passing/critical"
- docker image does not send http-notification HOT 3
- 200 is not the only code that indicates success
- Config not updating
- Change the default URL where reads the config in consul "/consul-alerts/xxx" for another URL, for example "/consul-alerts-2/xxx"? HOT 1
- INFO[0003] Running for leader election... Error querying Consul agent: Unexpected response code: 403 (Permission denied) INFO[0003] Shutting down watcher --> Exit Code: 1 HOT 1
- Support JWT auth for HTTP notifier HOT 2
- Update docker image.
- (Stale) Reminder doesnt get deleted
- consul-alerts stops working after some time
- Can't connect to https consul endpoint
- Cant download consulalerts 0.6.0 HOT 1
- version display error
- Opsgenie notifier should allow to configure different target address
- http-endpoint-notifier : Possibility to add HTTP headers ?
- 'Running for leader election' repeating
- Incorrect policy given in README HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from consul-alerts.