-
Notifications
You must be signed in to change notification settings - Fork 75
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
Healthcheck and stats for monitoring #181
Comments
I was interested in something similar, in my case to get monitored with Home Assistant. So I execute The question is how to expose these values. I use a http rest endpoint to post these two jsons. |
Hey @escoand the Regarding the transmission, I am inclined to say hat I would love to see both strategies (push and pub) implemented. This seems rather trivial after all. The real issue here is retrieving the data from restic. I believe we all agree that human-readable output on the docker logs is desired, hence we can't just switch the backup command to |
I am new to restic and resticker, right now i added a "dirty" restic ..... > filename_date.log 2>filename_error_date.log at the end of the restic backup stuff in the backup script. So i get a human readable logfile. Now i am able to send me the 2 log files via apprise/email as attachment, but when im trying to send me the logs via apprise/curl as "Body" in an email and i dont get it working .. so far. POST_COMMANDS_SUCCESS & POST_COMMANDS_FAILURE & POST_COMMANDS_INCOMPLETE Scripts help... |
Sorry for answering this late. @ThomDietrich Yeah, remembering :) Concerning your ideas, indeed Healthchecks.io solves all of those except the last one (performance stats) somehow for me. But I get that other people want to have different tools and more detailed insights. The points 1 to 2 could probably be implemented quite easily. About point 3, that would mean running an additional http service somehow, which I am not a fan of. That also should be totally optional. (I see that there is also a request for improving restic itself.) All that said, personally I am not really interested to use this additional functionality (not doing advanced performance monitoring for my stuff currently), so: I would be open for more detailed proposals or even PRs. |
Hey @djmaze and all,
not sure if you remember me. We did work on some good little improvements some years ago.
Since then, I've been a happy user of your image. One constant problem I had is lack of visibility. Backups could be paused because of an issue for months, until I eventually get a hold of that. This is of course partially my fault, but also the reason why the observability industry is thriving :)
I would like to discuss how this image could provide users with actionable and informative data on the activities of their backup jobs. Specifically,
How does that sound?
In #171 (comment) you mentioned your solution to some of these points: Healthchecks.io. The service looks good but does not (I believe) solve all of the above. Also, everyone kind of tends to use different tools (I'd like to link Grafana), gladly most of them cater to the same needs.
Long story short, I propose to
POST_COMMANDS_SUCCESS
etc. for e.g. healthchecks.io, telegraf, or prometheus (push principle)What do you think? Cheers!
The text was updated successfully, but these errors were encountered: