Skip to content
Snippets Groups Projects
Commit 69ad28a2 authored by nimrod's avatar nimrod
Browse files

Check Nextcloud.

parent 19d44862
No related branches found
No related tags found
No related merge requests found
from utils import check_urls
def handler(event, context): # pylint: disable=unused-argument
"""Lambda event handler."""
checks = [
{"url": "http://nextcloud.shore.co.il/", "codes": [301, 302]},
{"url": "https://nextcloud.shore.co.il/", "codes": [301, 302]},
{"url": "https://nextcloud.shore.co.il/login"},
]
check_urls(checks)
if __name__ == "__main__":
handler("event", "context")
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment