Skip to content
Simple Node app to do health checks and send notifications to a slack channel
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

health-check-slack 🤖

Simple Node app to do health checks on 1 or more urls and send notifications to a slack channel

Install 🌟📦

git clone
cd health-check-slack
npm install

Usage 🚀

Simply edit config.json and add the urls to check along with the desired interval (in milliseconds) for each loop like the example below:

    "urls": {
        "rest service": {
            "url": "",
            "interval": "20000"
        "Website": {
            "url": "",
            "interval": "3000"

Then set up an Incoming Webhook to one of your slack channels and you're good to go! 😉

Error Handling

When a 404 status code incurs it sends "LinkName is not reachable!" and when the error with the specified link is resolved (and a 200 status code is returned) it automatically responds with "LinkName is reachable again!". Every "fail" notification requires at least two failed attempts in a row to reach the desired URL. This minimizes the possibility of some temporary connection problem on the health-check server masqueraded as a URL problem.

You can’t perform that action at this time.