Handle errors as expected by nagios