DEV Community

Sunbeom Kweon (Ben)
Sunbeom Kweon (Ben)

Posted on • Updated on

[Sorin Lab] Alerting System (1)

Problems of the current alerting system

  • The system does not alert lab researchers. We have to check the websites' monitoring page manually, otherwise, it is impossible to notice the errors in server and the HDDs.

Solutions

  • I created an emailing alerting system with AWS Lambda, SNS, and API Gateway. In this way the system can be completely serverless, and user accessibility can be controlled my AWS IAM.

  • The alert will be sent to only the users who subscribed to AWS SNS, when ever the lab server invokes an HTTP request to the AWS API Gateway, with the designated APIKEY.

Things to improve

  • I need to modify crontab to send the notification in a regular basis. For this, need to talk to Dr. Sorin for the super user authority.

  • It may not be the proper solution since it just checks repeatedly if the server has error or not and if there is an error, and send the notification.

Top comments (1)

Collapse
 
maxmichal410 profile image
maxmichal410 • Edited

Can I use this Alert System for my website? If yes then please let me know how is it possible?