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)
- 02reconDocker Engine + compose plugin present and daemon active?
- 03reconstack already written in /opt/monitoring? do not overwrite
- 04reconports 3000/9090/9100 free? otherwise who holds them
- 05reconat least 1 GB of RAM; reverse proxy present (if domain)
- 06actInstall Docker Engine (only if missing)verify
- 07actWrite the Prometheus config and the Grafana datasourceverify
- 08actGenerate the Grafana admin passwordverify
- 09actWrite the stackverify
- 10actStartverify
- 11actGrafana and Prometheus respondverify
- 12actTLS reverse proxy (only if a domain is provided)verify
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.
- 01verifyInstall Docker Engine (only if missing)Verified by
docker compose version && systemctl is-active docker - 02verifyWrite the Prometheus config and the Grafana datasourceVerified by
ls /opt/monitoring/prometheus.yml /opt/monitoring/grafana/provisioning/datasources/prometheus.yaml - 03verifyGenerate the Grafana admin passwordVerified by
stat -c '%a' /opt/monitoring/.env && grep -c GF_SECURITY_ADMIN_PASSWORD /opt/monitoring/.env - 04verifyWrite the stackVerified by
docker compose -f /opt/monitoring/compose.yaml config -q && echo ok - 05verifyStartVerified by
docker compose -f /opt/monitoring/compose.yaml ps --status running -q | wc -l - 06verifyGrafana and Prometheus respondVerified by
curl -s -o /dev/null -w '%{http_code}' http://127.0.0.1:3000/api/health - 07verifyTLS reverse proxy (only if a domain is provided)Verified by
curl -s -o /dev/null -w '%{http_code}' https://${domain}/api/health
SEC.03
Guardrails
Non-negotiable instructions the run must respect, whatever it finds on the server.
Never overwrite an existing file in /opt/monitoring and never delete the prometheus-data and grafana-data volumes. Everything listens on 127.0.0.1: expose nothing publicly without a TLS reverse proxy. The Grafana admin password is in /opt/monitoring/.env.
SEC.04
Variables
What you choose before launching — the recipe fills in the rest.
| Name | Meaning |
|---|---|
| ${domain} | Grafana domain (optional) |
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 + Prometheus stack 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.