Discovery
Auto-detect collectors on a fresh host.
nanook discover probes the host and suggests collectors: system stats, mounted disks, network interfaces, listening TCP ports, common processes, and reachable HTTP endpoints. It writes them into your nanook.toml.
Interactive by default: pick from a checklist of suggestions.
Inside the picker:
| Key | Action |
|---|---|
↑/↓ (or j/k) | move focus |
space | toggle the focused candidate |
a / A / i | select all / none / invert |
G | toggle every candidate in the focused group |
e | edit name, interval, and opts of the focused candidate |
r | rescan the host (re-runs every detector and re-reads nanook.toml) |
enter | save the selection |
q / esc | cancel |
Flags
| Flag | What |
|---|---|
--print | Print the proposed TOML to stdout instead of writing |
--merge | Append to an existing config (keeps your current entries) |
--force | Overwrite the config even if it exists |
--yes | Accept every suggestion, no prompt |
--list | List the available detector groups and exit |
--include <groups> | Comma-separated allowlist (e.g. system,disk) |
--exclude <groups> | Comma-separated denylist |
Detector groups: system, disk, net, tcp, process, http.
Examples
Bootstrap a brand new host with everything it can find:
Only system + disk, append to existing config:
Preview without writing:
|