Skip to content

Checks website availability and gives slack or microsoft teams notifcation via webhook when status code changes.

Notifications You must be signed in to change notification settings

Miindaugas/notify

Repository files navigation

Notify

tests coverage

Send notifications to Slack, Microsoft Teams when your website goes down.

Configuration

# ./config.js
services: [ "https://example.com" ],
slackWebhook: "https://hooks.slack.com/services/<TOKEN>",
microsoftTeamsWebhook: "https://outlook.office.com/webhook/<TOKEN>",
serviceUpMessage: "Service available",
serviceDownMessage: "Service unavailable",
checkHealthIntervalSeconds: 60,

Using node.js

NodeJS

node src/start.js

Using docker

Docker

docker build -t notify .
docker run notify

About

Checks website availability and gives slack or microsoft teams notifcation via webhook when status code changes.

Resources

Stars

Watchers

Forks