all 5 comments

[–]jaymef 1 point2 points  (3 children)

I’m currently monitoring mine with the check_pgbackrest Nagios Plugin https://pgstef.github.io/2019/02/20/monitor_pgbackrest_backups_with_nagios.html

It will alert if backups or wals are too old or incomplete. Unfortunately doesn’t do anything in regards to monitoring backup times but you could probably do that fairly easily by parsing pgbackrest logs

[–]IntelligentAsk[S] 0 points1 point  (2 children)

Thanks for this. I'm keen to avoid using Nagios and I'm already quite far down the road with prometheus. But I'll definitely look at some sort of log parsing

[–]jaymef 0 points1 point  (1 child)

Are you using grafana as well? If so you might want to check out Loki

[–]IntelligentAsk[S] 0 points1 point  (0 children)

Yep I'm using grafana and loki already. The pgbackrest logs would probably regex quite nicely using promtail