| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
lambda-watchtower is a script for monitoring one or several HTTP(S) endpoints with AWS Lambda. Logs are stored as AWS CloudWatch metrics.
lambda-watchtower supports the following event parameters:
{
"targets": [
{
"url": "https://example.org",
"name": "example.org", //Optional, defaults to url; Display name of the target
},
{
"name": "Mailserver SMTP port check",
"type": "port",
"hostname": "mailserver.example.org",
"port": 25
}
],
"namespace": "Watchtower", //Optional, defaults to "Watchtower"; CloudWatch namespace
"logTimings": ["readable", "total"], Optional, defaults to ["readable", "total"]; Determine which timings are logged.
"timeout": 2000 //Optional, defaults to 2000: Time in ms before requests are aborted
}
The following timings are supported and can be logged by lambda-watchtower:
There is a detailed step-by-step guide explaining how to set up lambda-watchtower. Read the step-by-step instructions.
If you’re already familiar with AWS IAM and Lambda, here is the short version for you:
Pull requests and issues for additional features are welcome.
lambda-watchtower is licensed under the terms of the MIT license. For further information, please refer to the LICENSE file.
| Back | FazBrowse Home | New Git URL |