lbreeze
Software

Stasys

On-call, status pages, patching, security and audit evidence for every server you run, Linux or Windows. Installed on your own servers and wearing your brand, with AI staff doing the routine work inside the limits you set.

Metrics, logs and service health checks

Collect metrics and logs from your servers on a telemetry server of your own, build dashboards, and get alerted when a web, database or mail service stops or misbehaves.

Stasys collects metrics and logs from every server that runs the Stasys agent, and watches the services on them. This article covers where the data is kept, what you can do with it, and how service health checks work.

The telemetry server

Metrics and logs are kept on a telemetry server of your own, separate from the Stasys server. Until you add one, the Metrics, Logs, Capacity and Log rules pages stay empty, and alert rules based on metrics have no data.

To add one:

  1. Prepare a fresh Ubuntu 22.04, 24.04 or 26.04 server. Stasys recommends 16 GB of memory and a 1 TB SSD for about 1,000 hosts.
  2. Point a DNS A record at it.
  3. Open Observability → Telemetry, enter the hostname and an email for the certificate, and click Mint install command.
  4. Run the command as root on the new server. The command is good for one run, so mint a new one each time.
  5. Install the Stasys agent on the same server with the normal agent install command. Stasys recognises it as the telemetry server.

You do not roll anything out by hand. Stasys sets up every enrolled host to send its metrics and logs to the new server. The Pipeline health card on the Telemetry page shows which hosts are sending and which are not.

Use Test connection to confirm the server accepts data. The Sink health card shows the newest metric sample and log line, free disk space and the log retention in force. These checks also run in the background every few minutes and open an incident if the telemetry server stops taking data.

By default, logs are kept for 30 days and metrics for 12 months. Change log retention under Settings & admin → Log retention.

What each operating system sends

Linux servers Windows
Metrics CPU, memory, load, disk, file systems, network, uptime, temperature where the hardware reports it CPU, memory, load, disk, file systems, network
Logs System and authentication logs, warnings and errors from every system service, and the logs of the services Stasys detects The Application and System event logs
Service health Yes (see below) Not yet

The agent runs on Linux (x86_64 and ARM64, with systemd or OpenRC) and on Windows (x86_64).

Metrics, logs and dashboards

  • Observability → Metrics shows fleet-wide metrics.
  • Observability → Logs searches logs from all hosts. Filter by host, source, website domain and time range. Words in the search match any of them. Use +word to require a word, -word to exclude it, and quotes for an exact phrase. Tail streams new lines live, and Save query keeps a search for you or your whole team.
  • Observability → Dashboards builds your own metric dashboards. Start from a template (Host overview, PostgreSQL, Nginx, Fleet overview or Blank), drag panels into place, and see deploys and incidents drawn on the charts. Playlists rotate dashboards on a wall screen.
  • Observability → Log rules turns recurring log errors into an incident on a spike, a problem record for a known recurring error, or nothing for harmless noise. Rules are checked every 5 minutes.

Service health checks

Fleet & endpoints → Service health shows the health of web, database, mail, cache and antivirus services on your Linux servers.

Service-down alerting. When a critical service is reported stopped or crashed, Stasys waits a short delay so a routine restart does not wake anyone, then pages on-call. When the service is running again, the incident closes by itself. You can turn this off and change the severity and the delay (180 seconds by default) at the top of the page. It covers nginx, Apache, LiteSpeed, PHP-FPM, PostgreSQL, MySQL, MariaDB, Redis, Postfix, Dovecot and ClamAV.

Built-in checks. When Stasys first finds one of these services, it adds checks for it. You can change the threshold, switch a check off, or delete it:

Service Built-in check
PostgreSQL Cache hit ratio below 90% for 10 minutes
MySQL / MariaDB More than 1 slow query per second for 10 minutes
PHP-FPM Requests waiting for a free worker for 5 minutes
Postfix More than 500 messages in the mail queue for 5 minutes
Redis Cache hit rate below 80% for 15 minutes
ClamAV Virus signatures older than 48 hours

Pick a host under Inspect host to see each service, its checks and their current values. Add custom check adds your own threshold.

Custom app checks. For your own applications, Add a custom app check on a host tests an HTTP endpoint (status code and, optionally, text in the answer), a TCP port, a system service or a running process. These checks run on the host itself, so they can reach addresses such as localhost. A failing check opens an incident with the severity you chose, and closes it when the check passes again.

Settings advice for web servers and databases

Fleet & endpoints → Service tuning lists tuning recommendations across all your hosts, grouped by finding, so you can see for example how many servers need the same change.

Observability → Service consoles shows live figures, settings and alerts for one service on one host. The Config & tuning tab lists each recommendation with the current value, the suggested value and the reason. Where Stasys can apply a change, Apply tests the new setting, reloads or restarts the service, checks it is healthy, and puts the old setting back if anything fails. Where your hosting panel manages a service's configuration, recommendations are shown as advice only.

For nginx, live connection figures need nginx's status page. If the console says it is not configured, click Enable stub_status. Stasys adds a status page that answers only on the server itself.

Last updated 2 December 2026