def METHOD_NAME(self, results, config):
    data = self.new_data()
    logg = log.error
    if send_to_debug(results):
        logg = log.debug
    logg('WinRMPing collection: {} on {}'.format(results.value.message, config.id))
    if not errorMsgCheck(config, data['events'], results.value.message):
        data['events'].append({
            'eventClass': '/Status/Winrm/Ping',
            'severity': ZenEventClasses.Critical,
            'summary': 'Device is DOWN:  {}'.format(results.value.message),
            'ipAddress': config.manageIp,
            'device': config.id})
    return data