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