Skip to content

Latest commit

 

History

History
39 lines (26 loc) · 823 Bytes

README.md

File metadata and controls

39 lines (26 loc) · 823 Bytes

uptime-monitoring

Actions Status

Monitoring target endpoint health every 5 minutes.

Send notification via slack webhook, only if target state changed.

NOTE: DO NOT make too much access to any endpoint.

requirements

  • Node.js 20.x
  • yarn
  • aws profile

setup

Install dependencies using yarn.

$ yarn install

Create config.yml.

aws_profile:       # aws profile name
target_endpoint:   # target endpoint
slack_webhook_url: # see https://api.slack.com/incoming-webhooks
dynamo_db_table:   # DynamoDB table name

Deploy Lambda function using serverless.

$ yarn deploy
# aws resouces will be created or updated