Skip to content

Azure function app for monitoring a website using requests and beautiful soup

License

Notifications You must be signed in to change notification settings

rivoric/websitemon

Repository files navigation

Website Monitor

Azure function app written in Python for monitoring a website is functionally working (rather than just up). It does this by having the following timer functions

  • logon - logs on to the website

There are also the following support functions

  • ping - does a simple get on a page (usually the homepage)
  • alert_webhook - responsible for sending any alert failures to any app that supports webhooks, like Slack or Microsoft Teams

Getting started

Deploy the ARM template to Azure to create the infrastructure

Deploy To Azure Visualize

Run the scripts to complete configuration.

The code can be deployed using VS Code.

Configuration

Each function gets its configuration from a storage table where the rowkey is the same as the function name. The readme for each function contains the configuration details. There is also a configuration.json sample file in which can be used configuration.py script

About

Azure function app for monitoring a website using requests and beautiful soup

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published