Use return code to determine Nagios checks status in Bernard