fixed nagios check to work with new logging output