Monitoring WAL-E and backups on S3 Storage
We've got db1 sending nightly backup-push
data to the S3 gitlab-dbprod-backups
bucket, which is stored in the db1/basebackups_005/
folder.
Wal file streams are stored in db1/wal_005
. We need to ensure that we PagerDuty Alert on the following:
- the wal_05 directory needs to alert if we haven't had a write in over 00:00:90
- the basebackups_05 directory needs to alert if we haven't had a write in over 24:10:00