def METHOD_NAME(self):
    suri_running = 'danger'
    if settings.SURICATA_UNIX_SOCKET:
        sc = suricatasc.SuricataSC(settings.SURICATA_UNIX_SOCKET)
        try:
            sc.connect()
        except:
            return {'probe': 'danger'}
        res = sc.send_command('uptime', None)
        if res['return'] == 'OK':
            suri_running = 'success'
        sc.close()
    else:
        for proc in psutil.process_iter():
            try:
                pinfo = proc.as_dict(attrs=['name'])
            except psutil.NoSuchProcess:
                pass
            else:
                if pinfo['name'] == 'Suricata-Main':
                    suri_running = 'success'
                    break
    return {'probe': suri_running}