protected function handleStatusAlerts($db)
    {
        if ($db['status']) {
            if ($this->eye->status()->isSick('database_status_'.$db['connection'])) {
                $this->eye->notifier()->alert(new Online($db));
            }

            $this->eye->status()->setHealthy('database_status_'.$db['connection']);
        } else {
            if ($this->eye->status()->isHealthy('database_status_'.$db['connection'])) {
                $this->eye->notifier()->alert(new Offline($db));
            }

            $this->eye->status()->setSick('database_status_'.$db['connection']);
        }

    }