Alerts
11 minute read
Alert Types
The management platform monitors board health and PoE port states, generating alerts when conditions need attention. The trigger values are built into the software and cannot be changed.
| Alert | Severity | Raised when | Alert text |
|---|---|---|---|
| CPU temperature | Critical | The CPU is above 80°C. Re-arms at 75°C or below | “Running hot (85 °C). Check airflow or fan.” |
| Memory usage | Warning | Memory use is above 90%. Re-arms at 85% or below | “Memory usage high: 92%” |
| Root disk, warning | Warning | The root disk is above 85% used or has less than 512 MB available | “Storage almost full (88%, 410 MB free)” |
| Root disk, critical | Critical | The root disk is above 95% used or has less than 256 MB available | “Storage almost full (96%, 200 MB free)” |
| PoE fault | Warning | A port enters the fault state | “PoE fault on Lobby Camera” |
| PoE device lost | Warning | A port that was delivering power stays enabled for about 10 seconds with no power drawn | “PoE device lost on port 0-3 (Lobby Camera): port is still enabled but no power is being drawn…” |
| Service failed | Warning | A monitored system service enters the failed state | “Service failed: |
| Uplink change undone | Warning | A network change was reverted because you did not confirm it in time | “Uplink eth1 auto-reverted - the change was undone because connectivity was not confirmed in time.” |
| Uplink revert failed | Critical | The automatic revert itself failed | “Uplink eth1 auto-revert FAILED (…) - the board may be on a bad config; manual recovery may be required.” |
| Fleet settings differ | Warning | A paired board has a different value for a compared setting | “Fleet settings don’t match: 1 difference with 2 other boards” |
| Auto-restart device stuck | Warning | Auto-restart device power-cycled a port and the device still did not return | “Auto-restart device stuck on port 0-3 (target 192.168.1.20)” |
A disk alert has a Free up space drop-down on its row with the steps to take: look for
superseded kernel packages and orphaned linux-raspi-headers-* packages, which are the usual
cause. The health tiles on the dashboard use the same values, so a tile turns yellow or red at the
point where the matching alert is raised. See System Health.
Viewing Alerts
Active alerts appear in two places:
- Dashboard - The Active Alerts panel lists every unresolved alert with its severity, time, and message. A health tile with an open alert shows a View alert link that jumps to it.
- Fleet view - Fleet-wide alerts appear in the fleet status bar (e.g., “3 PoE faults across 2 boards”)
Each alert row shows:
- Severity - Warning or critical
- Time - When the condition was first detected
- Message - Plain-English description, including port labels where applicable
- Delivery badge - Whether the alert was sent by email or webhook (see Alert Delivery)
Resolving Alerts
Once you have addressed the underlying issue:
- Find the alert in the Active Alerts panel
- Click Resolve to mark it as addressed, or Resolve all to clear every open alert
Most alerts also resolve themselves when the cause ends. See Alerts That Clear Themselves. Stuck port alerts, alerts that a port could not be turned off, and uplink alerts end only when you resolve them.
Resolved alerts are removed from the active view but remain in the audit log for historical reference.
Alerts That Clear Themselves
When the cause of an alert ends, the board resolves the alert on its own. It writes an Alert cleared entry in Recent Activity and sends one cleared message to every email address and webhook you set up. A cleared message repeats the original alert’s id, severity, source, and text, so a receiver can match it to the alert it closes.
| Alert | Clears when |
|---|---|
| CPU temperature | The CPU is at 75°C or below |
| Memory usage | Memory use is at 85% or below |
| Root disk | Usage and available space are both back inside the clear lines. Warning clears at 80% used or less with 768 MB or more available. Critical clears at 90% used or less with 512 MB or more available |
| PoE fault | The port leaves the fault state |
| PoE device lost | The port is delivering power again. Turning the port off yourself does not clear it; resolve it then |
| Service failed | The service is no longer failed. The Zigbee service also waits for its restarts to stop |
| Drive | A new reading shows the problem has ended. A missing reading does not clear it. Of the drive alerts raised before version 1.0.4, only a failed health check clears itself; the others need Resolve |
| Fleet settings differ | The compared settings match again and every paired board answers |
| Paired board offline | The board answers again, or you remove it from the fleet or turn fleet off |
| HTTPS certificate failure | A certificate order succeeds, or ACME is turned off |
A condition that comes back raises a new alert with a new id. For one condition, the older alert finishes its fired and cleared messages before the newer fired message goes out, so a receiver normally sees fired, cleared, fired in that order. A newer fired message can wait up to 6 minutes behind a cleared message that keeps failing.
Resolving an alert yourself (Resolve, Resolve all, Re-arm, or the Cycle port now link) sends no cleared message.
Storage keeps one open alert per severity. If a second cause crosses its line while the alert is open, no second alert is raised, and the alert clears once both usage and available space are back inside their clear lines. Earlier versions raised a repeat alert while free space stayed critical; that no longer happens. After a restart, a condition that is still present does not raise a second alert.
A cleared message is skipped if the matching fired message did not reach every email address and webhook (one failing destination counts as a failed fired message), or if no email server or webhook is set up when the alert clears. A failed cleared message retries after 1 minute and then 5 minutes. If the third attempt fails it is marked failed. The activity log records Alert clear sent or Alert clear failed.
Auto-Restart Device (Automatic Recovery)
Auto-restart device turns the 11pm “a camera locked up again” phone call into something that fixes itself. It continuously probes a device on a PoE port and, if the device stops responding, power-cycles the port to recover it - unattended. The operator sees what happened the next morning in the activity log, instead of getting paged overnight.
How It Works
Auto-restart device pings (or TCP-connects to) a target you configure on a 10-second cadence. After a number of consecutive failures (default 3), it automatically cycles the port’s PoE to reboot the attached device. If the device still does not come back after the cycle, the port is marked stuck, cycling stops, and an alert is raised for a human to look at.
Setting It Up
- Find the Auto-restart device row on any PoE port card (the same row is at the top of the port’s History window) and click Set up. Once it is set up, the button says Edit.
- Set the target IP or hostname - usually the camera, access point, or NVR on that port.
- Optionally set TCP fallback ports - it connects over TCP if the device’s firewall blocks ICMP ping.
- Adjust the timing if needed. Defaults are tuned per board type (Cruiser uses a 5-second post-cycle dwell; Interceptor uses 15 seconds for its slower switch driver).
- Click Save. The next 10-second tick picks up the change - no restart needed.
Check Monitor only (no auto-cycle) to have Auto-restart device alert when a device stops responding but not power-cycle the port automatically. Use this for devices that need a human to look before any power action.
State Badges
The Auto-restart device row on each port card shows one status:
- Off - not set up, or set up but turned off.
- On - actively checking the device.
- Restarting - the port was just power-cycled and it is waiting for the device to come back.
- Paused - the port was turned off by an operator; auto-restart waits until it is turned back on.
- Stuck - cycled once, device still down, manual intervention required. It also shows as a red pulsing Stuck badge at the top of the card.
The Auto-restart devices section of the dashboard lists every port on the board that has it set up, with the same statuses.
The Stuck Alert and Re-Arm
When Auto-restart device declares a port stuck, a warning alert lands in the Active Alerts panel with an inline Re-arm button. Clicking it re-arms Auto-restart device and resolves the alert in one action. A manual power-cycle (the port card’s Reset button) does not re-arm it - only the explicit Re-arm action does. In a fleet, stuck ports also bubble up to the fleet-wide alerts banner so a single row summarizes stuck ports across all boards.
The dashboard and alert emails say “Auto-restart device stuck on port …”. The webhook message field keeps its original wording, so Home Assistant automations that match on it keep working.
Storm Protection
A cooldown floor (default 300 seconds, minimum 30) sets the minimum time between cycles on a port, counted across every source - operator clicks, group resets, and Auto-restart device cycles all count toward it. This prevents thrashing on a flaky device.
Forensics
Every Auto-restart device action is recorded: cycles, stuck transitions, recoveries, and operator re-arms each write an audit-log entry, and the per-port cycle history shows the full timeline.
Alert Delivery (Email and Webhook)
By default, alerts live in the dashboard. Alert delivery pushes them out to your phone or chat tool. Auto-restart device stuck alerts carry a one-tap Cycle port now link. The integrator’s overnight workflow becomes: alert arrives on the phone, tap the link, the dashboard opens with the right port already focused, tap Reset. Two taps, end to end.
Configuring Delivery
- Open Alerts from the ⋮ more menu in the header.
- Set the deep-link base URL - the public URL operators use to reach this board’s dashboard.
- Fill in the SMTP tab (email) and/or the Webhook tab (the board POSTs a JSON alert to a URL you provide; Home Assistant webhooks and n8n can take it directly, while Slack and PagerDuty need a small relay that reshapes the JSON), then click Save to apply that tab’s settings.
- Use Send Test to do a dry run - it dials your SMTP server or POSTs to your webhook with the on-screen draft, without touching the stored config or the running watcher. You do not need to enable delivery first to test it.
Saving a real change reconfigures the running alert watcher atomically - no restart required.
The SMTP password is never returned by the dashboard (it shows “stored - leave blank to keep”). Webhook URLs are shown masked. Audit-log entries for delivery-config changes record only which fields changed, never the values. Use Clear stored password in the Email tab to remove a saved SMTP password.
Deep Links and Retries
The “Cycle port now” link is captured before login runs, so a login redirect cannot lose it; the dashboard then scrolls the matching port card into view and focuses its Reset button. On a successful cycle, the open stuck alert for that port is resolved automatically.
Pending deliveries are retried on a 1-minute, 5-minute, then 15-minute backoff before being marked failed (the alert itself stays active until resolved). Each alert row shows a small delivery badge: delivered, queued, delivering, delivery failed, skipped, or not sent (raised before delivery was set up; alerts raised earlier are not re-sent once you configure delivery).
Webhook Payload (schema version 3)
The board POSTs one JSON object per message. schema_version is 3.
{
"schema_version": 3,
"event": "alert.cleared",
"sent_at": "2026-10-22T18:41:07Z",
"board": {"name": "Lobby", "serial": "CRU-0001", "type": "cruiser"},
"alert": {
"id": 42,
"timestamp": "2026-10-22 18:12:30",
"severity": "warning",
"source": "system",
"board_serial": "CRU-0001",
"message": "Storage almost full (88%, 410 MB free)",
"kind": "system.disk_warning",
"cleared_at": "2026-10-22 18:41:02"
}
}
The values above are an example. The fields are:
| Field | Meaning |
|---|---|
schema_version | Integer, 3 |
event | alert.fired when the alert is raised (and for Send Test), alert.cleared once when the cause ends. Required from version 3 |
sent_at | UTC time of this delivery attempt |
board | name, serial, and type (cruiser, interceptor, or unknown) |
alert | id, timestamp (when it was raised), severity, source, board_serial, and message |
alert.kind | A stable key such as system.disk_warning, system.disk_critical, system.cpu_temp, system.memory, fleet.config_drift, or tls.acme_failed. Left out when the alert has none |
alert.detail | Technical text kept out of the message, such as the steps to free disk space. Left out when empty |
alert.cleared_at | When the cause ended. Present on alert.cleared only |
deep_link | The Cycle port now URL. Present on alert.fired for stuck port alerts when a deep-link base URL is set, never on alert.cleared |
alert.timestamp and alert.cleared_at are UTC with no zone marker.
Version 2 added alert.kind and alert.detail. Version 3 added event and alert.cleared_at.
- Add a condition on
event. A receiver that matches on the message alone also triggers on the cleared message. In a Home Assistant webhook automation, add a condition such astrigger.json.event == 'alert.fired'. - Match on
kindwhere an alert has one. The message can be reworded between releases. - Dedupe on
board.serial,alert.id, andevent. Delivery is at least once, so a message can arrive twice. - A receiver that validates against an older schema file must take the new one.
Email sends a message with a subject starting Resolved: for a cleared event.
Alert Storage
Alerts are stored persistently in the board’s SQLite database. They survive reboots and are included in backup exports. Alert history is available via the audit log.
API Access
Active alerts are available via the REST API:
# List active alerts
curl -k -H "Authorization: Bearer <token>" \
https://<board-ip>/api/v1/system/alerts/active
# Resolve an alert
curl -k -X POST -H "Authorization: Bearer <token>" \
https://<board-ip>/api/v1/system/alerts/1/resolve
Last modified October 27, 2026