https://github.com/fusion/cfrkeepalive
An incredibly tiny set of three scripts to report remote hosts heartbeat to hashicorp's consul
https://github.com/fusion/cfrkeepalive
Last synced: about 1 year ago
JSON representation
An incredibly tiny set of three scripts to report remote hosts heartbeat to hashicorp's consul
- Host: GitHub
- URL: https://github.com/fusion/cfrkeepalive
- Owner: Fusion
- License: apache-2.0
- Created: 2015-03-15T00:54:46.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-03-15T01:03:24.000Z (about 11 years ago)
- Last Synced: 2025-03-17T15:25:14.245Z (about 1 year ago)
- Language: Python
- Size: 137 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cfrkeepalive
An incredibly tiny set of three scripts to report remote hosts heartbeat to hashicorp's consul
This is for hosts that cannot talk to consul's cluster directly to keep it informed that they are still alive.
We have:
- a python script, running as a daemon that will poke a remote php script
- said php script, which will then update a local file (you will have to change paths!)
- a consul plug in to reference in `/etc/consul.d/host.json`
Do not forget to synchronize your servers or you will have to add some time drift in there.