thegazelle-ad / gazelle-server

Server for front-end and editor tools of The Gazelle
MIT License
19 stars 8 forks source link

Uptime robot #116

Open emilgoldsmith opened 7 years ago

emilgoldsmith commented 7 years ago

Should probably use an up time robot https://uptimerobot.com Uptime Robot Free Website Uptime Monitoring uptimerobot.com It would be really cool if the uptime robot auto restarted the service.

lingz commented 7 years ago

Up time robot looks like it has web hooks. So you can run a tiny Python server there in charge of monitoring the services.

It could be the one that initially kicks everything up. And does regular health checks of its own. And if it detects a problem, just bring everything down and back up. Also expose a port outside to receive web hook for uptime robot. Having both is useful if there's a problem outside the server like cloudflare or if the monitor process itself fails.

Could be a cool intern project.

On Sun, Mar 5, 2017, 7:54 PM Emil Goldsmith Olesen notifications@github.com wrote:

Should probably use an up time robot https://uptimerobot.com Uptime Robot Free Website Uptime Monitoring uptimerobot.com It would be really cool if the uptime robot auto restarted the service.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/thegazelle-ad/gazelle-server/issues/116, or mute the thread https://github.com/notifications/unsubscribe-auth/ADAFzZiv7OF-jl0SmwPATEgRLDDZ43Isks5rilwygaJpZM4MTVZH .

lingz commented 7 years ago

Could also be a cool open source project if it doesn't already exist.

On Sun, Mar 5, 2017, 7:57 PM Ling Zhang lingliangz@gmail.com wrote:

Up time robot looks like it has web hooks. So you can run a tiny Python server there in charge of monitoring the services.

It could be the one that initially kicks everything up. And does regular health checks of its own. And if it detects a problem, just bring everything down and back up. Also expose a port outside to receive web hook for uptime robot. Having both is useful if there's a problem outside the server like cloudflare or if the monitor process itself fails.

Could be a cool intern project.

On Sun, Mar 5, 2017, 7:54 PM Emil Goldsmith Olesen < notifications@github.com> wrote:

Should probably use an up time robot https://uptimerobot.com Uptime Robot Free Website Uptime Monitoring uptimerobot.com It would be really cool if the uptime robot auto restarted the service.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/thegazelle-ad/gazelle-server/issues/116, or mute the thread https://github.com/notifications/unsubscribe-auth/ADAFzZiv7OF-jl0SmwPATEgRLDDZ43Isks5rilwygaJpZM4MTVZH .

emilgoldsmith commented 7 years ago

@lingz how would you make it a general purpose open source project? As in... wouldn't it be a very specific script to The Gazelle?

lingz commented 7 years ago

Yeah. Where you just specify in a config what the uptime commands are and what the checking URL is. It's much more work to make it open source but would be cool.

On Mon, Mar 6, 2017, 1:14 AM Emil Goldsmith Olesen notifications@github.com wrote:

@lingz https://github.com/lingz how would you make it a general purpose open source project? As in... wouldn't it be a very specific script to The Gazelle?

— You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub https://github.com/thegazelle-ad/gazelle-server/issues/116#issuecomment-284223863, or mute the thread https://github.com/notifications/unsubscribe-auth/ADAFzfRxUntBd-jC5dIkeVe3PUcTWEy1ks5riqcMgaJpZM4MTVZH .

lingz commented 7 years ago

One option already made is here

https://github.com/kostya/eye

emilgoldsmith commented 6 years ago

We currently have a simple cron job set up, but it could be better possibly like described above