Skip to content

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

License

Notifications You must be signed in to change notification settings

devcode-it/uptimerobot2ntfy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages