Browse Source

Ajout infos pgactivity

master
emorino 4 months ago
parent
commit
e9adb8adde
1 changed files with 6 additions and 1 deletions
  1. +6
    -1
      HowtoPostgreSQL.md

+ 6
- 1
HowtoPostgreSQL.md View File

@ -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 : <https://github.com/OPMDG/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


Loading…
Cancel
Save