HTTP health checker.
interval = 600
[[servers]]
name = "staing api"
url = "https://api.staging.example.com/status"
timeout = 20
method = "GET"
status_code = 200
slack_webhook = "https://hooks.slack.com/services/***/***"
slack_channel_alert = "staging-alert"
slack_channel_log = "staging-log"
[[servers]]
name = "production api"
url = "https://api.example.com/status"
timeout = 20
method = "GET"
status_code = 200
slack_webhook = "https://hooks.slack.com/services/***/***"
slack_channel_alert = "production-alert"
slack_channel_log = "production-log"
$ vim Config.toml
$ docker-compose up --build -d
$ vim Config.toml
$ ./run.sh
- Supoort POST method
- Suppoert basic auth