Monitoring script
Go to file
bain 2a924f8266
add better logs; one push per run
2022-08-20 16:28:35 +02:00
README Initial Commit 2021-11-27 23:30:16 +01:00
monitor.py add better logs; one push per run 2022-08-20 16:28:35 +02:00
requirements.txt add better logs; one push per run 2022-08-20 16:28:35 +02:00

README

A simple monitoring script for online services. Includes self-checks to be more resistant
to unstable networks as it is meant to be run on a home device (nothing keeps you from
running it on a server tho).

Currently it publishes all downtime to a repository but the fail function can be easily
modified to suit one's needs (nothing depends on it). Information about all services is
in the monitors dictionary.

The requirements are modular, so adding new ways of checking for status is as easy as
writing a function that returns a bool if it passed.