Skip to content

Latest commit

 

History

History
15 lines (8 loc) · 773 Bytes

File metadata and controls

15 lines (8 loc) · 773 Bytes

Simon

Simon is a very simple monitoring tool. It regularly checks if URLs respond with an OK status code and optionally, if the last-modified timestamp is not older than a configurable timespan.

In case such a check fails, an alert is sent to the specified matrix room.

$ python simon/monitor.py --config monitoring-config.json --matrix_alert_room $MATRIX_ROOM --matrix_alert_accesstoken $MATRIX_ACCESSTOKEN

The command line parameters MATRIX_ACCESSTOKEN and MATRIX_ROOM may alternativly be supplied via a .env file an the current directory.

NOTE: this is a very limited tool. Usually, you might consider using e.g. Prometheus Blackbox Exporter and include this into you monitoring/alerting setup.