Coder Social home page Coder Social logo

websitemonitoring's Introduction

WebsiteMonitoring

  1. Reads a list of web pages (HTTP URLs) and corresponding page content requirements from a configuration file.
  2. Periodically makes an HTTP request to each page.
  3. Verifies that the page content received from the server matches the content requirements.
  4. Measures the time it took for the web server to complete the whole request.
  5. Writes a log file that shows the progress of the periodic checks.
  6. Implement a single-page HTTP server interface in the same process that shows (HTML) each monitored web site and their current (last check) status.

Details: • The “content requirement” can for example be just a simple string that must be included in the response received from the server, e.g. one rule might be that the page at the URL “http://www.foobar.com/login” must contain the text “Please login:”. • The checking period configurable by a setting in the configuration file.(config.config.py) • The log file must contain the checked URLs, their status and the response times. (logs folder) • The program must distinguish between connection level problems (e.g. the web site is down) and content problems (e.g. the content requirements were not fulfilled). (log file or report file show difference)

websitemonitoring's People

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.