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

Use StatusCake Heartbeat / Push Monitoring in backup scripts #955

Open
Firefishy opened this issue Sep 17, 2023 · 2 comments
Open

Use StatusCake Heartbeat / Push Monitoring in backup scripts #955

Firefishy opened this issue Sep 17, 2023 · 2 comments

Comments

@Firefishy
Copy link
Member

The OSM backup scripts should have better status monitoring.

An option is for the backup script on completion to call a StatusCake Push Monitoring endpoint with a "heartbeat". Each backup will have its own StatusCake Push Monitoring setup / endpoint.

The StatusCake Push Monitoring would alert if a heartbeat hasn't been called in a to-be-defined interval.

@tomhughes
Copy link
Member

tomhughes commented Sep 17, 2023

We can probably get the filestat exporter to monitor the backup directory and use prometheus to alert if things are too old.

@Firefishy
Copy link
Member Author

Added initial test heartbeat code in https://github.com/openstreetmap/opentofu-statuscake/blob/main/heartbeat.tf
Updates to backup script is pending, needs decision on what I do with the heartbeat ping URL, likely is a secret.

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

No branches or pull requests

2 participants