A lightweight website monitor that runs on Serverless/AWS.
- Supports multiple website endpoints
- Interprets non 200/201 status codes as errors
- Detects network/domain issues
- Reports errors to slack through a webhook
- Reports errors to sms using 46elks
- Node 12
- Serverless >= 1.60.0
- A slack app and webhook
- A 46elks api user
npm install -g serverless
make setup
cp example.env .env
docker-compose up -d
cd src
cp offline.example.env offline.env
env $(cat offline.env | xargs) npm run start
open http://localhost:3000/create-local-db
open http://localhost:3000
Secrets are stored in a encrypted external file, where $KEY is your encryption key.
- Encrypt
openssl aes-256-cbc -e -in .circlerc -out .circlerc-crypt -k $KEY
- Decrypt
openssl aes-256-cbc -d -in .circlerc-crypt -out .circlerc -k $KEY
This boilerplate uses semantic versioning.
Want to contribute? Awesome. Just send a pull request.
Cynomys is released under the MIT License.