Local LLM Server Health Reporter via External Fetch Pattern
A lightweight PowerShell script and local LLM workflow that gathers server metrics over SSH and synthesizes natural-language health summaries without complex tool-calling schemas.

About this project
Small local language models with seven to nine billion parameters often fail or hallucinate when attempting to execute complex command schemas with multi-parameter function calling. This project bypasses that limitation using an external fetch architecture. A native script connects to a remote server over SSH, captures raw container states, uptime, memory, and disk usage, and passes the clean plain-text data into a local eight-billion parameter model running on Ollama purely for text summarization. The model produces an accurate, conversational system status report in two to five seconds at zero API cost, completely eliminating tool-calling failures while highlighting stopped or unhealthy containers.
What you need
- Workstation capable of running 8B LLMs locally
- Ollama
- Remote Linux server with Docker and SSH access
Highlights
- Eliminates tool-calling hallucinations by fetching system diagnostics externally before prompting the LLM.
- Generates natural language server health reports in 2 to 5 seconds with zero API cost.
- Accurately identifies stopped and unhealthy Docker containers alongside disk and load metrics.