Skip to content

Recipes

A recipe is a saved bash script that you run on one or more servers through their agents. Output from every server streams into the run page and is kept in the run history.

Recipes: saved and built-in recipes with a Run action.

Recipe What it does Variables
Clear system caches sync, drop the page cache, apt-get clean, vacuum the journal to 7 days, print free -m
Install apt package apt-get install -y --no-install-recommends $PACKAGE PACKAGE — space-separated package names
Disk usage report df -h and the largest directories under /var, /srv, /home
Memory report free -m and the top processes by memory
Listening ports ss -tulpn
Restart a service systemctl restart $SERVICE and its status SERVICE — a systemd unit
  1. Open Settings → Recipes and click New recipe.
  2. Give it a name, an optional description, the Linux user to run as, and the script (up to 64 KiB).
  3. Save.
  1. Open the recipe and click Run.
  2. Pick up to 100 servers, fill in variables, and optionally change the timeout (default 900 s, up to 3600 s).
  3. Watch each server’s output live. The run finishes when every server finished.
Action Permission Roles
View recipes and runs recipes.view all
Create, edit, delete recipes.manage owner, admin, developer
Run (arbitrary scripts, possibly as root) recipes.run owner, admin
  • Recipes are covered by unit and feature tests, not yet by the end-to-end suite.