From e9adb8adde28b8a60feb44dd4c5067cdc3221eb0 Mon Sep 17 00:00:00 2001 From: emorino Date: Wed, 28 Oct 2020 15:42:55 +0100 Subject: [PATCH] Ajout infos pgactivity --- HowtoPostgreSQL.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/HowtoPostgreSQL.md b/HowtoPostgreSQL.md index 431d787d..de5290fc 100644 --- a/HowtoPostgreSQL.md +++ b/HowtoPostgreSQL.md @@ -746,7 +746,7 @@ postgres_checkpoints postgres_users ### Nagios -Vérification via : +Vérification via le check *historique*: ~~~ $ /usr/lib/nagios/plugins/check_pgsql -H localhost -l nagios -p PASSWORD @@ -754,6 +754,11 @@ $ /usr/lib/nagios/plugins/check_pgsql -H localhost -l nagios -p PASSWORD OK - database template1 (0.011915 sec.)|time=0.011915s;2.000000;8.000000;0.000000 ~~~ +On préfererra utilise le check pgactivity : +En Debian 10, on installe le paquet *check-pgactivity* + +Ce check permet de monitorer différents point, comme les process *idle in transaction*, la réplication logique et streaming, etc... + ## Plomberie