Checks / Agent

The server has not reported for 48 hours

Check
agent.stale
Severity
medium
Runs
on our side, with the data of the report
Looks at
Time of the last report
Updated 26 Nov 2026

What the check looks at

The time of the last report the service received from this server. The agent runs once a day; the check fails when the last report is more than 48 hours old. It is computed on our side, so it also fires when the server is off.

Why it matters

The service matches the last package list of the server against new vulnerability data every day, so CVEs published after the last report are still checked against the old list. But updates you installed, new packages and new containers are not seen, and the configuration checks are not run. Two days without a report usually means something changed on the server: it is down, the timer stopped, the network blocks the upload, or the API key was revoked.

How to fix it

Check the timer and the last run. With systemd:

systemctl list-timers patchbrief-agent.timer
sudo systemctl status patchbrief-agent.service
sudo journalctl -u patchbrief-agent.service -n 50

On systems without systemd the installer adds a cron entry instead (/etc/cron.d/patchbrief-agent or a line in /etc/crontabs/root on Alpine).

Look at the answer to the last upload:

sudo cat /var/lib/patchbrief/last-response.json

Then run a report by hand and read the output:

sudo /usr/local/lib/patchbrief/run.sh send

Common causes:

  • The timer is disabled or was removed, for example by a configuration management run. Enable it again: sudo systemctl enable --now patchbrief-agent.timer.
  • The key was revoked or the server limit of the plan was reached. The response says so; create a new key in the dashboard and replace the KEY= line in /etc/patchbrief/agent.conf (mode 600) with it.
  • Outbound HTTPS is blocked by a new firewall rule or proxy. The agent needs one HTTPS connection to the service.
  • Docker mode and Docker is not running. The wrapper starts the agent image with Docker; sudo systemctl status docker.
  • The server was replaced by a new one with the same name. Install the agent on the new server and delete the old server in the dashboard. In a terminal the installer asks for the server name and suggests the host name; type the old name to keep it. Without a terminal it names the server server- and six hex digits, and you can rename it on the dashboard.
  • The server was shut down on purpose. Delete it in the dashboard to stop the warning.

How to check the fix

After run.sh send finishes, the dashboard shows the new report time and this check passes. systemctl list-timers patchbrief-agent.timer should show the next run within the next 24 hours.

When a warning is fine

  • The server is switched off for a known period, such as a seasonal system. The warning returns to normal with the first report after it starts.
  • The server is gone. Delete it in the dashboard; its data is removed with it.

Sources

  • Agent documentation: files written by the installer (/etc/patchbrief/agent.conf, /usr/local/lib/patchbrief/run.sh, /var/lib/patchbrief/, patchbrief-agent.service and .timer, cron fallback)
  • systemd.timer (Persistent=, list-timers)