mlavin / cloudping Goto Github PK
View Code? Open in Web Editor NEWAWS Hosted Uptime Monitoring
License: BSD 2-Clause "Simplified" License
AWS Hosted Uptime Monitoring
License: BSD 2-Clause "Simplified" License
We can probably automate the bundling as a Github Release and save people the trouble of generating their own zip.
Code is pretty simple but it still needs to be tested.
Hi there,
I am getting the following error for any URL:
{
"stackTrace": [
[
"/var/task/cloudping.py",
21,
"ping",
"timeout=options['timeout'])"
],
[
"/var/task/requests/api.py",
53,
"request",
"return session.request(method=method, url=url, **kwargs)"
],
[
"/var/task/requests/sessions.py",
468,
"request",
"resp = self.send(prep, **send_kwargs)"
],
[
"/var/task/requests/sessions.py",
576,
"send",
"r = adapter.send(request, **kwargs)"
],
[
"/var/task/requests/adapters.py",
437,
"send",
"raise ConnectionError(e, request=request)"
]
],
"errorType": "ConnectionError",
"errorMessage": "HTTPConnectionPool(host='https', port=80): Max retries exceeded with url: //www.janz.co/ (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f62791ed6d0>: Failed to establish a new connection: [Errno -2] Name or service not known',))"
}
I am not sure what it is.
Regards,
RJ
It should be possible to automate the setup of the Lambda, Event Rule, and Alarm using boto3
or the aws-cli
tools. This would need to take some parameters such as the domain to monitor. Setting up the notifications might not have an easy default.
Right now if you setup multiple checks then they all fall under the same metric for the Lambda failure. It doesn't distinguish between domains. Instead the script should generate metrics for each domain being tracked. Custom metrics aren't free ($0.50/month) but 10 are available in the free tier.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.