get_journal_errors
Retrieve recent journald entries at warning priority or above from all units and the kernel to identify which service is failing; optionally limit to current boot or a time window.
Instructions
Gets recent journald entries of priority warning and above (warning, err, crit, alert, emerg)
from ALL units and the kernel. USE THIS TOOL FIRST when you don't know which service is at fault.
With current_boot_only=True only entries since the last boot are returned.
Optional since limits them to a time window: '30 min ago', '2 hours ago', 'today',
'yesterday' or 'YYYY-MM-DD HH:MM:SS' (the last lines entries within it are returned).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"host": "<host>",
"user": "<user>"
},
"name": "get_journal_errors"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | ||
| port | No | ||
| user | Yes | ||
| lines | No | ||
| since | No | ||
| timeout | No | ||
| key_path | No | ||
| password | No | ||
| current_boot_only | No | ||
| accept_new_hostkey | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||