Custom check for barman
Posted: Fri Mar 15, 2024 7:45 am
Hello all,
I am trying to create a custom command for a barman process. Here is what I need to run, which works on the command line.
$sudo -u barman /usr/bin/barman check all --nagios
BARMAN CRITICAL - 1 server out of 29 have issues * server1-db1-sessreg FAILED: archiver errors..
What do I have to do to create a custom command for that?
I am trying to create a custom command for a barman process. Here is what I need to run, which works on the command line.
$sudo -u barman /usr/bin/barman check all --nagios
BARMAN CRITICAL - 1 server out of 29 have issues * server1-db1-sessreg FAILED: archiver errors..
What do I have to do to create a custom command for that?