/monitoring

Example project to monitor a list of websites and detect changes

Primary LanguagePythonBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Lookyloo Monitoring

A companion tool for Lookyloo that lets you schedule the monitoring of URLs, using the Lookyloo stack as a backend.

Install guide

System dependencies

You need poetry installed, see the install guide.

Prerequisites

You need to have redis cloned and installed in the same directory you clone this template in: this repoitory and and redis must be in the same directory, and not redis cloned in the this directory. See this guide.

Installation

From the directory you just cloned, run:

poetry install

Initialize the .env file:

echo WEBMONITORING_HOME="`pwd`" >> .env

Note: WEBMONITORING_HOME is the name you have in lacus/default/__init__.py

Configuration

Copy the config file:

cp config/generic.json.sample config/generic.json

And configure it accordingly to your needs.

Usage

Start the tool (as usual, from the directory):

poetry run start

You can stop it with

poetry run stop

With the default configuration, you can access the web interface on http://0.0.0.0:5200, where you will find the API and can start playing with it.