September 26, 2024: PostgreSQL 17 Released!

check_pgbackrest 2.1 has been released

Posted on 2021-09-25 by Stefan Fercot
Related Open Source

Mons, Belgium, September 21, 2021

check_pgbackrest is designed to monitor pgBackRest backups from Nagios, relying on the status information given by the info command.

It allows to monitor the backups retention and the consistency of the archived WAL segments.

Changes in check_pgbackrest 2.1

  • Only support pgBackRest 2.33 and above in order to add support for the multi-repository feature. Introduce the --repo option to set the repository index to operate on. When multiple repositories will be found, if the --repo argument is not provided, the services will operate on all repositories defined, checking for inconsistencies across multiple repositories. It is however recommended to also define checks using the --repo argument to verify the sanity of each repository separately. (Reviewed by Adrien Nayrat)
  • Add a new max-archives-check-number option for the archives service. This is intended to use in case of timeline switch and when boundary WAL can't be detected properly, in order to prevent infinite WAL archives check.
  • Add prtg output format (Hans-Peter Zahno).

Links & Credits

This is an open project, licensed under the PostgreSQL license. Any contribution to improve it is welcome.

Links:

  • Download: https://github.com/pgstef/check_pgbackrest/releases
  • Support: https://github.com/pgstef/check_pgbackrest/issues