How to Install and Uninstall check-pgactivity Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: May 11,2024

1. Install "check-pgactivity" package

Please follow the guidelines below to install check-pgactivity on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install check-pgactivity

2. Uninstall "check-pgactivity" package

In this section, we are going to explain the necessary steps to uninstall check-pgactivity on Ubuntu 21.04 (Hirsute Hippo):

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

3. Information about the check-pgactivity package on Ubuntu 21.04 (Hirsute Hippo)

Package: check-pgactivity
Architecture: all
Version: 2.5-1
Multi-Arch: foreign
Priority: optional
Section: universe/database
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PostgreSQL Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 350
Depends: perl:any, postgresql-client
Suggests: wget | curl | lynx | links | links2
Filename: pool/universe/c/check-pgactivity/check-pgactivity_2.5-1_all.deb
Size: 73224
MD5sum: f6727be22a9494b8cad42440588741e8
SHA1: 79e1712486971d25969216da5beaaa75d0f2996c
SHA256: e390ddbe3a173b2a8641cf8fa012aa2d2100faab45237d79c634aff025b29746
SHA512: 44c7b08817c84c7c06f2184420ff176eacaface4a39708d088fe8729d5339d8b023e41e321ba18151f462e6dc22fade3b94f19d15b053f23610d3bd6c1eae7e4
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.
Description-md5: c9a37a5e108290ffc62eb797232225d5