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

Integrate with monitoring systems #2

Open
BjarniRunar opened this issue Dec 31, 2017 · 0 comments
Open

Integrate with monitoring systems #2

BjarniRunar opened this issue Dec 31, 2017 · 0 comments

Comments

@BjarniRunar
Copy link
Collaborator

BjarniRunar commented Dec 31, 2017

The backup scripts should do SOMETHING which makes it easy for monitoring systems to evaluate their state. I would propose generating a text file at the end of each run, the contents of which looks like this:

last_backup: <unixtimestamp>
backup_result: [success|failure]
backup_bytes_WHICH: <bytecount>

This should just be dumped into the filesystem somewhere; a monitoring system can look for it, e.g. by polling a static web server. The monitoring system should at the very least alert if backup_result isn't "success" (an easy regexp even w/o a parsing), while fancier implementations could parse the file and graph the bytes etc.

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