Ajout documentation pour check nagios barman

This commit is contained in:
mtrossevin 2022-04-08 11:54:09 +02:00
parent 47f5035e92
commit 7b6cbb15f5

View file

@ -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