Getting ready
Though some Linux distributions package the check_postgres utility for easy installation, the versions that are included are usually quite antiquated. We recommend that you obtain a copy of the latest check_postgres source code. At the time of this book revision, the latest version is 2.24.0, released on November 5, 2018. Obtain the latest copy of the check_postgres source code from https://bucardo.org/check_postgres/.
As we want to use Nagios to execute the check_postgres, please follow the steps in the Configuring Nagios to monitor a database host recipe to produce a working installation with a basic database host configuration. We will be making further modifications to the db_conf.cfg file introduced there.
The check_postgres ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access