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.

  1. 01recondistro (apt or dnf) and architecture (amd64/arm64)
  2. 02reconDocker Engine + compose plugin present and daemon active?
  3. 03reconstack already written in /opt/monitoring? do not overwrite
  4. 04reconports 3000/9090/9100 free? otherwise who holds them
  5. 05reconat least 1 GB of RAM; reverse proxy present (if domain)
  6. 06actInstall Docker Engine (only if missing)verify
  7. 07actWrite the Prometheus config and the Grafana datasourceverify
  8. 08actGenerate the Grafana admin passwordverify
  9. 09actWrite the stackverify
  10. 10actStartverify
  11. 11actGrafana and Prometheus respondverify
  12. 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.

  1. 01Install Docker Engine (only if missing)Verified bydocker compose version && systemctl is-active docker
  2. 02Write the Prometheus config and the Grafana datasourceVerified byls /opt/monitoring/prometheus.yml /opt/monitoring/grafana/provisioning/datasources/prometheus.yaml
  3. 03Generate the Grafana admin passwordVerified bystat -c '%a' /opt/monitoring/.env && grep -c GF_SECURITY_ADMIN_PASSWORD /opt/monitoring/.env
  4. 04Write the stackVerified bydocker compose -f /opt/monitoring/compose.yaml config -q && echo ok
  5. 05StartVerified bydocker compose -f /opt/monitoring/compose.yaml ps --status running -q | wc -l
  6. 06Grafana and Prometheus respondVerified bycurl -s -o /dev/null -w '%{http_code}' http://127.0.0.1:3000/api/health
  7. 07TLS reverse proxy (only if a domain is provided)Verified bycurl -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.

NameMeaning
${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.

recipe — fail2ban_setup150+ in catalogue
security4 steps · low risk · idempotentrun
reconsshd present? ufw active? existing jails?✓
actinstall fail2ban · write default jails✓
actenable service · restart sshd (safe)✓
verifytest ban 60s · jails active · sshd alive✓

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.

Deploy on ServorDark background
Deploy on ServorLight background
[![Deploy on Servor](https://servor.app/badges/deploy-on-servor.svg)](https://servor.app/deploy/install-grafana-stack)

SEC.07

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.