This is an app that monitor websites availability over the network with in time interval and sends a response of
- response code
- response message
- response time
- search content pattern (optional)
- Clone the repository
- Cretate/update a configuration file, see Configuration
- Install the contents of requirements
requirements.txt
into a Python 3.6+ environment - Run the app according to Usage
You can run the app using onr of 2 options
- add websites to
monitor.yml
filepython app.py
- create your own file and use
monitor.yml
as an example which you can pass it as a variable to the apppython app.py monitor.yml
docker build -t monitor .
docker run monitor
python -m unittest discover tests
Documentation here