Skip to content

pdrlps/uptimepie

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

UptimePie

Pedro Lopes
hello@pedrolopes.net

Small utility to check website status from UptimeRobot (http://www.uptimerobot.com/). Runs custom system command when if monitor is down (i.e., website is down), logs actions to file.

Note

I use this to check if any of my websites is down (every 5 mins, with crontab) and if it is, the script simply restarts the Tomcat server.

Use

python up.py * monitors: monitor id list from UptimeRobot service, 0 for all monitors * mode: all (logs all checks) or (only logs when monitor is down) * log file: well... the log file location

UptimeRobot API

Further UptimeRobot monitoring information at http://www.uptimerobot.com/api.asp\

License

This work is licensed under the Creative Commons Attribution 3.0 Unported License. To view a copy of this license, visit http://creativecommons.org/licenses/by/3.0/.

Releases

No releases published

Packages

No packages published

Languages