Skip to content

Latest commit

 

History

History
22 lines (20 loc) · 1.03 KB

README.md

File metadata and controls

22 lines (20 loc) · 1.03 KB

monitoring-App

About

  • This slack-app is made to supervise the server of poapper projects.
  • This app can detect errors of the server that is specified in the url.json in data directory.
  • When the error is detected by the app, it notices management team of poapper through sending slack message.
  • The message sends every 2 hours if the error is not resolved.

Usage

Previous set up

  • To use this app, you need to sign up at https://www.bugsnag.com/ first to generate bugsnag key.
  • Also, the app needs webhook url of the slack-channel that you want to send message.
  • fill .env file

start

  • npm run install
  • Add urls that you want to supervise, through updating the json files in data directroy following the example codes.
  • register monitor.js file in pm2

image

reference

https://www.bugsnag.com/

https://medteck15.medium.com/create-your-own-website-monitor-with-nodejs-and-bugsnag-the-ultimate-step-by-step-68829a77cc90