New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alert maintainers when fleet management feed goes down. #71

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

Comments

Projects
None yet
3 participants
@wbprice
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 code4hr-team@codeforamerica.org

--- 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).
@stanzheng

This comment has been minimized.

Show comment
Hide comment
@stanzheng

stanzheng May 9, 2016

Member

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 kchowdhary@hrtransit.org and cc code4hr-team@codeforamerica.org

Member

stanzheng 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 kchowdhary@hrtransit.org and cc code4hr-team@codeforamerica.org

@washt

This comment has been minimized.

Show comment
Hide comment
@washt

washt May 9, 2016

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

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?

@stanzheng

This comment has been minimized.

Show comment
Hide comment
@stanzheng

stanzheng May 9, 2016

Member

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

Member

stanzheng 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

@stanzheng

This comment has been minimized.

Show comment
Hide comment
@stanzheng

stanzheng Mar 2, 2017

Member

@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 :)

Member

stanzheng 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 :)

@washt

This comment has been minimized.

Show comment
Hide comment
@washt

washt Mar 8, 2017

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

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 join this conversation on GitHub. Already have an account? Sign in to comment