implemented nagiosExit