pcs_logs_common
Retrieve common Pacemaker and Corosync logs with optional journal snippets to diagnose cluster issues.
Instructions
Retrieve common Pacemaker/Corosync logs and optional journal snippets.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "pcs_logs_common"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sudo | No | Prefix commands with sudo on the remote host | |
| lines | No | Number of lines per file/section (default 200) | |
| cluster | No | Named cluster in config | |
| timeoutMs | No | SSH command timeout in milliseconds | |
| sshConfigHost | No | OpenSSH Host alias to resolve connection parameters | |
| sshConfigPath | No | Path to OpenSSH config (defaults to ~/.ssh/config) | |
| includeJournal | No | Include journalctl for pacemaker and corosync |