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.
- NodeJS and NPM
- Create an api key for your telegram bot to receive alerts with BotFather.
- Create a new file
.env
while referencing.env.example
file provided in the repo. - Installing all required dependencies with
npm install
.
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.