monitor/README

11 lines
551 B
Text
Raw Normal View History

2021-11-27 23:30:16 +01:00
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.