SEC.01
The playbook
The run starts read-only: the recon probes decide what happens next. The steps that follow are adapted to the distribution and state found — a real machine is rarely clean.
- 01recondistro (apt or dnf) and architecture (amd64/arm64)
- 02reconAlloy already present? service active?
- 03reconexisting config to preserve?
- 04reconLoki reachable from this server (200)?
- 05reconPromtail still active (duplicate shipping)?
- 06actAdd the Grafana repositoryverify
- 07actInstall Grafana Alloyverify
- 08actShip the systemd journal to Lokiverify
- 09actEnable and startverify
- 10actLogs reach Lokiverify
SEC.02
What it verifies
Each step ships its own check. The run only moves on when the check passes, so what the recipe reports as done is what is actually on the server.
- 01verifyAdd the Grafana repositoryVerified by
apt-cache policy alloy 2>/dev/null | grep -c Candidate || dnf info alloy -q | grep -c Version - 02verifyInstall Grafana AlloyVerified by
alloy --version 2>&1 | head -1 - 03verifyShip the systemd journal to LokiVerified by
alloy fmt /etc/alloy/config.alloy >/dev/null && echo ok - 04verifyEnable and startVerified by
curl -s -o /dev/null -w '%{http_code}' http://127.0.0.1:12345/-/ready - 05verifyLogs reach LokiVerified by
curl -s -G ${loki_url}/loki/api/v1/label/job/values | grep -c systemd-journal
SEC.03
Guardrails
Non-negotiable instructions the run must respect, whatever it finds on the server.
Promtail is EOL (March 2026) — we install Alloy, its official successor; report a still-running Promtail without removing it. Never overwrite a custom config.alloy. The Alloy UI stays on 127.0.0.1:12345.
SEC.04
Variables
What you choose before launching — the recipe fills in the rest.
| Name | Meaning |
|---|---|
| ${loki_url} | Loki URL |
SEC.05
How a recipe runs in Servor
Servor is zero-knowledge: the platform cannot execute anything on its own. When you launch this recipe, a run reads the reconnaissance, plans the steps and asks for your approval. Each approved command is signed by your browser — with a key the server never sees — then relayed verbatim to the agent, which verifies the signature locally before executing.
search by intent — type “firewall”, get ufw
- 01Read-only reconnaissance before any change
- 02Every command signed by your browser, approved by you
- 03Each step verified before the run moves on, every run kept in the history
SEC.06
Deploy on Servor button
Maintain Grafana Alloy or a project that needs it? Put this button in your README or on your site: one click and your users install it on their own server.
SEC.07
More observability recipes
- 01node_exporterPrometheus system metrics exporter, as a systemd service.
- 02NetdataNetdata real-time monitoring (stable channel), local dashboard on :19999.
- 03PrometheusPrometheus (metrics collection), as a local systemd service on :9090.
- 04GrafanaGrafana OSS (official repo), local on :3000, admin with a random password.
- 05Grafana LokiLoki 3.7 log aggregation via Docker, local on :3100.
Verified recipe
Run this recipe on your server
Connect a server, launch the recipe, and approve each step as Servor executes and verifies it. Free plan, no card required.