Skip to content

aranyia/ItsDown

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

It's Down

Application for performing recurring health checks of specific web services. Integrated with Slack via a web hook, to send status messages.

Configuration

Environment variables

The application can be configured using environment variables set.

Key Value purpose Value example
interval Period to fire status check, in seconds 300
services The path of the services configuration JSON file services.json
slack-webhook-url Webhook URL to use for posting Slack messages https://hooks.slack.com/services

Service endpoints

Services to be checked should be defined in a JSON file as an array of objects. The service has to have a name to be displayed and a statusCheck definition, which is an object that requires the url and httpMethod fields to be defined.

Example configuration:

[
  {
    "name": "integration SIT",
    "statusCheck": {
      "url": "https://127.0.0.1:8081/integration/health",
      "httpMethod": "GET"
     }
  },
  {
    "name": "integration PreProd",
    "statusCheck": {
      "url": "https://127.0.0.1:9080/integration/testpost",
      "httpMethod": "POST"
     }
  }
]

About

Health checking web services with Slack integration for status messages

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages