def create_service_check(check_name, status, tags=None, timestamp=None, hostname=None, check_run_id=None, message=None):
 if (check_run_id is None):
  check_run_id = get_next_id('service_check')
 return {'id': check_run_id, 'check': check_name, 'status': status, 'host_name': hostname, 'tags': tags, 'timestamp': float((timestamp or time.time())), 'message': message}

def create_service_check ( check_name , status , tags = None , timestamp = None , hostname = None , check_run_id = None , message = None ) : if ( check_run_id is None ) : check_run_id = get_next_id ( 'service_check' ) return { 'id' : check_run_id , 'check' : check_name , 'status' : status , 'host_name' : hostname , 'tags' : tags , 'timestamp' : float ( ( timestamp or time . time ( ) ) ) , 'message' : message }
create a service_check dict .