Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/samalba/hipache-hchecker
Scalable HTTP health-checker for Hipache: https://github.com/dotcloud/hipache
https://github.com/samalba/hipache-hchecker
Last synced: 3 months ago
JSON representation
Scalable HTTP health-checker for Hipache: https://github.com/dotcloud/hipache
- Host: GitHub
- URL: https://github.com/samalba/hipache-hchecker
- Owner: samalba
- License: other
- Created: 2012-11-11T23:33:53.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2014-09-11T15:14:21.000Z (about 10 years ago)
- Last Synced: 2024-07-17T21:03:24.428Z (4 months ago)
- Language: Go
- Homepage:
- Size: 410 KB
- Stars: 85
- Watchers: 7
- Forks: 17
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- starred-awesome - hipache-hchecker - Scalable HTTP health-checker for Hipache: https://github.com/dotcloud/hipache (Go)
README
Hipache Health-Checker
======================This is an active health-checker for the Hipache proxy solution. The checker
will check the backends at a regular interval and it will update Hipache's
Redis to mark them as dead (or alive) almost instantly.1. Compile
----------go build
2. Run it
---------./hchecker
It connects on the local redis (localhost:6379), so it's supposed to be run
on the same machine than Hipache.3. Modify the behavior
----------------------./hchecker -h
Usage of ./hchecker:
-connect=3: TCP connection timeout (seconds)
-cpuprofile=false: Write CPU profile to "hchecker.prof" (current directory)
-dryrun=false: Enable dry run (or simulation mode). Do not update the Redis.
-host="ping": HTTP host header
-interval=3: Check interval (seconds)
-io=3: Socket read/write timeout (seconds)
-method="HEAD": HTTP method
-redis="localhost:6379": Network address of Redis
-redis_password="": Password of Redis
-uri="/CloudHealthCheck": HTTP URI4. Run the tests
----------------$ cd test ; python -m unittest discover