Skip to content

Application to monitor a specific site and send an alarm to Slack when the server is down.

Notifications You must be signed in to change notification settings

kyjhtwt/monitoring-App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Application to monitor a specific site and send an alarm to Slack when the server is down.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published