MeshCentral CMD
AI-generatedSummary
Runs a MeshCentral meshctrl command for each incoming item, using the server connection details from the required MeshCentral API credentials. Parses JSON output into n8n items when possible, or converts tabular or plain text output into result data.
Inputs
- Meshctrl Command (required) — Command and arguments to run, defaulting to
help. Supports n8n expressions. The command is parsed with single or double quotes; an unclosed quote causes an error. The node appends credential-derived connection arguments and--json. Theshowevents,upload,download, andagentdownloadcommands are unsupported. - Result Separator — Separator used to split columns and headers when output is not JSON and contains multiple nonempty lines. Defaults to a comma.
- Debug — When enabled, writes the command and stderr to the node debug log.
- MeshCentral API credentials (required) — Supply the server URL, port, username, and password; an optional proxy is also passed to
meshctrl.
Output shape
A list of n8n items, with output items paired to their corresponding input item.
A JSON array yields one output item per array entry; JSON objects yield an item with their fields, while primitive entries are wrapped in
result. For non-JSON output with multiple nonempty lines, the first line is treated as column headers and remaining lines become records split by the configured separator. Single-line or empty non-JSON output is returned in aresultfield. On failure, the node throws with the input item index unless Continue On Fail is enabled, in which case it returns an item with anerrorfield.
