Skip to content
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

Healthchecks.io integration #122

Open
Kernald opened this issue Jun 14, 2020 · 0 comments
Open

Healthchecks.io integration #122

Kernald opened this issue Jun 14, 2020 · 0 comments

Comments

@Kernald
Copy link

Kernald commented Jun 14, 2020

I have this daemon running on a Pi Zero W which, sometimes, locks up entirely. Sometimes, I move plants around, and the sensors are out of BT range. All in all, I sometimes lose a sensor and I have no easy way to detect that - there's some data on the MQTT broker, but it might be stale, as there's no date information pushed, as far as I'm aware.

Healthchecks.io (and other similar services, it just happens to be the one I already use) could be a good way to monitor that kind of issues - it works by setting an expected delay between pings, and send notifications if one isn't received. The caller can also report an actual failure (e.g. if a sensor hasn't been reached in a x attempts). The API is really simple: https://healthchecks.io/docs/http_api/

What do you think about adding this kind of monitoring?

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

No branches or pull requests

1 participant