def check(self):
        time_now = unix_utc_now()

        alerts = alerts_model.get_alerts_not_sending_data()
        for alert in alerts:
            period = alert.get('period')
            for server in alert.get('server_data'):
                last_check = server.get('last_check')

                # Skip all the servers with no agent installed
                if last_check != None:
                    since_last_check = time_now - last_check  # 65 seconds, 60 seconds sleep, 5 seconds to collect
                    if since_last_check > (period + 10):  # Trigger alert, add 10 seconds buffer
                        alert['server'] = server
                        alerts_model.save_notsendingdata_occurence(alert=alert)