Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 532 Bytes

README.md

File metadata and controls

19 lines (12 loc) · 532 Bytes

UptimeRobot2ntfy

Very simple script that read all monitors of UptimeRobot and send a notification to ntfy.sh when a monitor goes down.

Configuration

Copy the config.example.php to config.inc.php and put your UptimeRobot API KEY (read-only key) and your ntfy.sh topic (authentication not yet supported).

Run

php run.php

Try the script and if it works you can run in cron every 5 minutes:

*/5 * * * *	www-data    cd /path/to/script && php run.php