log_debug_info(DEBUGL_CHECKS,2,"Found another service check event for this service @ %s",ctime(&temp_event->run_time));
log_debug_info(DEBUGL_CHECKS,2,"Found another service check event for service '%s' on host '%s' @ %s",svc->description,svc->host_name,ctime(&temp_event->run_time));
/* use the originally scheduled check unless we decide otherwise */
logit(NSLOG_RUNTIME_WARNING,TRUE,"Warning: Could not reschedule check of service '%s' on host '%s'!\n",svc->description,svc->host_name);
return;
}
/* else we're using the new event, so remove the old one */
else{
/* make sure we kill off the old event */
if(temp_event){
log_debug_info(DEBUGL_CHECKS,2,"Removing service check event for service '%s' on host '%s' @ %s",svc->description,svc->host_name,ctime(&temp_event->run_time));