- Install Docker in the host
- Modify the file: files/add-slack.sh with information: slack url, slack channel, slack bot name.
- Change the checking scripts an interval in the files/alert.json
- Install and run the consul agent:
4.1 Install directly to the host with the commands in https://www.consul.io/intro/getting-started/install.html
4.2 Install with docker commands: docker run -d -p 8400:8400 -p 8500:8500 -p 53:53/udp -h consul-server-node --name consul progrium/consul -server -bootstrap - Get the IP address of the consul and replace the addr to localhost:8500 in tasks/main.yml
- Install ansible
- Run ansible commands to install consul-alert: ansible-playbook -i hosts service-discovery-alert.yml
-
Notifications
You must be signed in to change notification settings - Fork 2
nhat2008/docker-consul-alerts
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description or website provided.
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published