Skip to content
This repository has been archived by the owner on Jul 16, 2020. It is now read-only.

Alert maintainers when fleet management feed goes down. #71

Open
wbprice opened this issue Jun 1, 2015 · 5 comments
Open

Alert maintainers when fleet management feed goes down. #71

wbprice opened this issue Jun 1, 2015 · 5 comments
Assignees

Comments

@wbprice
Copy link
Member

wbprice commented Jun 1, 2015

Companion issue to Code4HR/hrt-bus-finder#145

When the feed is stale (let's say 30+ minutes), it would be helpful if the API could email the maintainers of the project at [email protected]

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/19558156-alert-maintainers-when-fleet-management-feed-goes-down?utm_campaign=plugin&utm_content=tracker%2F88329&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F88329&utm_medium=issues&utm_source=github).
@qwo
Copy link
Member

qwo commented May 9, 2016

need to revisit this and automate it so that users aren't the one that are reporting when the feed goes down.

[Request] A service that monitors uptime on a specific endpoint. Can be hosted on any box that we use, needs to fit the below criterion.

[Requirements]

  • Can be run on a Linux box
  • Code can be of any flavor
  • Doesn't require maintenance

actionable tasks

  1. Should load (ftp://216.54.15.3/Anrd/hrtrtf.txt)
  2. If data is (stale) hasn't reported changes within 5 minutes notify maintainers
  3. If data is absent (just the headers) notify maintainers
  4. If times out, notify maintainers.

This can be accomplished some sort of cron but simple uptime notifications aren't useful.

this task can also fire an email off [email protected] and cc [email protected]

@qwo qwo added the help wanted label May 9, 2016
@washt
Copy link

washt commented May 9, 2016

After notification of failure, how long should we wait before we check again / send another notification if its still down?

@qwo
Copy link
Member

qwo commented May 9, 2016

notifications probably a hour or two, checking could probably be however as responsive we want to make it, the feed refreshes every ~5 minutes so even 5 is cool but we could do minute wise.

I figure we could just stick this easily in a cron

@qwo
Copy link
Member

qwo commented Mar 2, 2017

@washt wrote something for this, i don't rememberwhere this is commited, do you have a copy. I want to mark and close this done :)

@qwo qwo assigned washt Mar 2, 2017
@washt
Copy link

washt commented Mar 8, 2017

Hey sorry I completely forgot to reply to this last week, here it is: https://github.com/washt/hrtStatus

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants