From 7b6cbb15f5b81a949bb87741d5dc9536335f4cee Mon Sep 17 00:00:00 2001 From: mtrossevin Date: Fri, 8 Apr 2022 11:54:09 +0200 Subject: [PATCH] Ajout documentation pour check nagios barman --- HowtoPostgreSQL.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/HowtoPostgreSQL.md b/HowtoPostgreSQL.md index bae45341..c3c2964a 100644 --- a/HowtoPostgreSQL.md +++ b/HowtoPostgreSQL.md @@ -1101,6 +1101,17 @@ Server foo00: foo00 20180723T174316 - Mon Jul 23 21:47:34 2018 - Size: 413.2 GiB - WAL Size: 89.9 GiB ~~~ +Il est ensuite possible de surveiller l'état des backup avec nagios avec la commande nagios suivante: + +~~~ +command[check_barman]=sudo -u barman /usr/bin/barman check --nagios all +~~~ + +qui nécessite les droits sudo suivants: + +~~~ +nagios ALL = (barman) NOPASSWD: /usr/bin/barman check --nagios all +~~~ ## pgbadger