jumpserver_compare
Compare read-only commands or inspect profiles across multiple servers to detect configuration differences, report outliers, and group identical hosts.
Instructions
Run the SAME read-only command or inspect profile across several servers and report what DIFFERS — which host has a different config, a missing listener, a full disk. Returns groups of identical hosts plus, for each outlier, the lines it is missing or has extra versus the majority. Use it for "are these nodes configured the same?" instead of eyeballing raw dumps. Only READ is accepted; a mutating command refuses the whole call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | text (default, compact) or json (full structured diff). | |
| command | No | One read-only command to run on every target (mutually exclusive with profile). | |
| profile | No | Inspect profile to run on every target (mutually exclusive with command). | |
| targets | Yes | Target IPs or asset names to compare (2..20). | |
| concurrency | No | Targets at once (default: batchConcurrency setting). | |
| stripPrefixes | No | Line prefixes to strip before diffing (e.g. volatile timestamps). | |
| accountByTarget | No | { [target]: displayedAccountId } for multi-user assets (KoKo `ID>` prompt). |