How to Install and Uninstall check-pgactivity Package on Ubuntu 20.10 (Groovy Gorilla)

Last updated: November 07,2024

1. Install "check-pgactivity" package

This is a short guide on how to install check-pgactivity on Ubuntu 20.10 (Groovy Gorilla)

$ sudo apt update $ sudo apt install check-pgactivity

2. Uninstall "check-pgactivity" package

This guide covers the steps necessary to uninstall check-pgactivity on Ubuntu 20.10 (Groovy Gorilla):

$ sudo apt remove check-pgactivity $ sudo apt autoclean && sudo apt autoremove

3. Information about the check-pgactivity package on Ubuntu 20.10 (Groovy Gorilla)

Package: check-pgactivity
Architecture: all
Version: 2.4-1
Priority: optional
Section: universe/database
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PostgreSQL Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 306
Depends: perl:any, postgresql-client
Suggests: wget | curl | lynx | links | links2
Filename: pool/universe/c/check-pgactivity/check-pgactivity_2.4-1_all.deb
Size: 64708
MD5sum: d3bf2ecb921791fcaaa69f0c8f38f265
SHA1: f1bc02e14aaaad84d58cae3aeb8b71bdf06eb6d5
SHA256: c0f2eb604ccc2e7fdf8592fa2adfc5bccc75efb9b717c65c7307a448d7e59295
SHA512: 3266a90a1537e164aa99082c422bc4f96adaf94cf70a83b353c17e3c8a19531cf7be08c50457e02b6ac018d96a1d8ec4ca0915312b44541a0ee28fbe708f6e3a
Homepage: https://github.com/OPMDG/check_pgactivity
Description-en: PostgreSQL plugin for Nagios
check_pgactivity is a Nagios probe dedicated to PostgreSQL. It offers many
options to measure and monitor useful performance metrics.
.
Services include (among others) monitoring of autovacuum, bgwriter, locks,
long queries, idle in transaction queries, number of temporary files and WAL
files, bloat of tables and btree indexes, commit and hit ratios,
WAL archives exhaustivity, age of logical backups, backends number and states,
backup label file age, connectivity, replication delay between primary and
secondary instances, database sizes, vacuum and analyze times,
sequence exhaustion, snapshots age, presence of unlogged tables or invalid
indexes, incoming freeze, settings changes, PostgreSQL minor version,
PGDATA rights, custom queries.
.
Most services only need normal user rights.
.
All versions of PostgreSQL are supported from 7.4 to 10 (and partially 11).
Description-md5: 258b0a1cb6dece43ce441ecde2a4dfda