Skip to content
This repository has been archived by the owner on Dec 27, 2021. It is now read-only.

BingHuang-Chin/ESMOS-Layer7-HealthCheck

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ESMOS-Layer7-HealthCheck

Introduction

A health check application is written in NodeJS to poll CAT, Pulse and OsTicket endpoints for IS214 - Enterprise Solution Management to ensure that the service is alive. Telegram is used as a medium to receive notifications whenever the script determines your service is down so that you can prepare for disaster recovery.

Prerequisites

  1. NodeJS and NPM

Application Setup

  1. Create an api key for your telegram bot to receive alerts with BotFather.
  2. Create a new file .env while referencing .env.example file provided in the repo.
  3. Installing all required dependencies with npm install.

Running the script

Running, node index.js will do the necessary health check for your applications.
Running, node validateCatbody.js will verify if there are changes to your CAT system.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published