Skip to main content

Container monitoring

A database container that does not come back after a reboot can take an application down for days without anyone noticing: the application keeps answering, with errors. The agent watches for this every 5 minutes.

Alerts​

AlertSeverityWhen
Database container NAME is down, needed by APPHighA stopped container is still configured as a dependency of running containers (in their environment or links).
Container NAME is downMedium (High for databases)A container that was running at an earlier check has stopped, after a reboot or a crash.
N running containers will stay stopped after a rebootLow (Medium if a database is among them)Running containers have no restart policy.

Short jobs that finished normally (exit code 0 in less than ten minutes) and containers removed on purpose are not reported. Environment values are only read on the server to find host names; they are never sent to SecUp.

Notifications​

When a container goes down, SecUp e-mails the server's owner, the workspace administrators and the addresses in Settings → E-mail reports. A second e-mail says when it is back.

Fix in one click​

Each alert has Start and keep running (and a dry run). SecUp starts the container with its own image, volumes and configuration (nothing is recreated or pulled), waits until it runs and is healthy, and gives it the unless-stopped restart policy so the next reboot does not stop it again. The fix runs as an automation (recorded in the history) when SecUp has SSH access, otherwise through the agent.