Nagios perl script to check on barman.
Lists the issues if there is any and gives the total number of error. The exit code is also defined to display the correct alert for Nagios.
Mind that for clarity purposes the only actual levels are 0 = OK and 2 = error (FAILED for BARMAN).