Automic VaultAutomic Vault

brew

Install check_postgres with Homebrew, apk, apt, dnf, zypper

Monitor Postgres databases. Version 2.26.0 via Homebrew; verified 2026-06-22.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install check_postgres

local Homebrew formula metadata

Linux

Alpine Linux apkverified · 92%
sudo apk add check_postgres

Alpine Linux edge package indexes · check_postgres · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install check-postgres

Debian stable package indexes · check-postgres · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install check_postgres

Fedora Rawhide package metadata · check_postgres · source: dl.fedoraproject.org

openSUSE zypperverified · 92%
sudo zypper install check_postgres

openSUSE Tumbleweed package metadata · check_postgres · source: download.opensuse.org

overview

Package summary

Monitor Postgres databases

Commands and aliases

  • check_postgres

history

Project history and usage

check_postgres is a Perl monitoring plugin for PostgreSQL, designed primarily for Nagios but also documenting MRTG, Cacti, and simple output modes.

Project history

The script copyright begins in 2007 under Greg Sabino Mullane. Its GitHub repository was created in May 2009, and the embedded documentation describes many PostgreSQL actions, output modes, rc-file support, and mailing lists for announcements and general development.

Adoption history

The README gives both a quick Nagios-script installation path and a standard Perl Makefile.PL build path. The batch input records packaging across Homebrew, Alpine, Debian, Ubuntu, Fedora, and openSUSE families.

How it is used

Administrators use check_postgres actions to monitor connections, locks, bloat, replication, database size, transaction age, settings checksums, pgbouncer state, and many other PostgreSQL operational signals.

Why package nerds care

check_postgres is a classic ops package: a single Perl monitoring tool with many symlink-friendly subcommands, Nagios exit codes, packageable docs, and long-running compatibility concerns around PostgreSQL client binaries and credentials.

Timeline

  • 2007: Copyright period for check_postgres begins.
  • 2009: GitHub repository created.
  • 2009: Version 2.11.0 added .check_postgresrc support.
  • 2017: 2.23.0 release published.
  • 2023: 2.26.0 release published.
  • 2025: README copyright range extends through 2025.

Related projects

  • PostgreSQL and psql are core runtime dependencies for many checks.
  • Nagios, MRTG, and Cacti are documented output or integration targets.
  • Bucardo hosts the official documentation and project pages.

security posture

Risk level: blue

broad file, network, media, or database tool signal.

Risk classifier

blue risk · medium confidence · tool

Why

  • broad file, network, media, or database tool signal

Signals

  • text:database

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 12 platform targets.
  • Installs with 1 runtime dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
.check_postgresrc~/.check_postgresrc/etc/check_postgresrc

Credential files

Credential-bearing paths to review before unattended agent runs.

Unix
~/.pgpass
Windows
%APPDATA%\postgresql\pgpass.conf

executables

Installed executables

CommandKindExposureNote
check_postgrescliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version2.26.0
manager updated2026-06-22
local dataok
upstreamnot checked
latest detectednot detected

https://bucardo.org/wiki/Check_postgres

install metadata

Package metadata

Package keybrew:check_postgres
Version2.26.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/check_postgres
Homepagehttps://bucardo.org/wiki/Check_postgres
Repositoryhttps://github.com/bucardo/check_postgres
Upstream docshttps://bucardo.org/check_postgres
LicenseBSD-2-Clause
Source archivehttps://bucardo.org/downloads/check_postgres-2.26.0.tar.gz
Last updated2026-06-22T14:03:01-07:00
Pulseupdated
Dependencieslibpq
Uses from macOSperl
Bottleavailable (on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, monterey, sonoma, ventura, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namecheck_postgres
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

check-postgres 2.26.0-2

script for monitoring PostgreSQL databases

https://bucardo.org/check_postgres/

sudo apt install check-postgres
  • Section: database
  • Architecture: all
  • 2 dependencies
  • normalized package name match
  • Matched by: Check Postgres
Debian stable package indexes · deb.debian.org · Debian stable package indexes: check-postgres from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Ubuntu apt95%

check-postgres 2.26.0-1

script for monitoring PostgreSQL databases

https://bucardo.org/check_postgres/

sudo apt install check-postgres
  • Section: universe/database
  • Architecture: all
  • 2 dependencies
  • normalized package name match
  • Matched by: Check Postgres
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: check-postgres from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

check_postgres 2.26.0-r0

PostgreSQL monitoring script

https://bucardo.org/check_postgres/

sudo apk add check_postgres
  • License: BSD-2-Clause
  • Architecture: x86_64
  • Source Package: check_postgres
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Check Postgres
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: check_postgres from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

check_postgres-doc 2.26.0-r0

PostgreSQL monitoring script (documentation)

https://bucardo.org/check_postgres/

sudo apk add check_postgres-doc
  • License: BSD-2-Clause
  • Architecture: x86_64
  • Source Package: check_postgres
  • normalized package name match
  • Matched by: Check Postgres
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: check_postgres-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

check_postgres 2.25.0-16.fc44

PostgreSQL monitoring script

https://bucardo.org/check_postgres/

sudo dnf install check_postgres
  • License: LicenseRef-Callaway-BSD
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: check_postgres
  • 2 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Check Postgres
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: check_postgres from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
zypper95%

check_postgres 2.26.0-1.15

Postgres monitoring script

http://bucardo.org/wiki/Check_postgres

sudo zypper install check_postgres
  • License: GPL-2.0-or-later
  • Category: System/Monitoring
  • Architecture: noarch
  • Source Package: check_postgres
  • 3 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Check Postgres
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: check_postgres from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

monitoring-plugins-postgres 2.26.0-1.15

Postgres monitoring script using check_postgres.pl

http://bucardo.org/wiki/Check_postgres

sudo zypper install monitoring-plugins-postgres
  • License: GPL-2.0-or-later
  • Category: System/Monitoring
  • Architecture: noarch
  • Source Package: check_postgres
  • 1 dependencies
  • 3 provides
  • normalized package name match
  • Matched by: Check Postgres
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: monitoring-plugins-postgres from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment