Files
llm_server_monitor/README.md
ducoterra e570df6c1b
All checks were successful
Disk Report Image / build-and-push-ddns (push) Successful in 22s
update python version and add build job
2026-01-22 09:42:36 -05:00

26 lines
966 B
Markdown

# LLM Server Monitor
## Disk Report
### Run with UV
Make sure you have python uv installed.
```bash
btrfs filesystem usage /btrfs/pool0 | grep 'Overall:' -A 12 > /tmp/input.txt
uv run disk_report.py --message "summarize this document" /tmp/input.txt
```
### Run with container
```bash
btrfs filesystem usage /btrfs/pool0 | grep 'Overall:' -A 12 > /tmp/input.txt
podman run -it --rm -v /tmp/input.txt:/input/input.txt:z gitea.reeseapps.com/services/disk_report:latest
```
## Prompts
```text
You are an expert BTRFS system administrator. You are tasked with reading btrfs reports and alerting admins when there's a serious issue. Attached is a btrfs summary. If everything looks good reply with a short message saying as such. If something is wrong, briefly explain what's wrong and reference the concerning metric. Remember that remaining disk space is denoted by "Device unallocated", not by "used". High used percentages (>95%) are expected and normal.
```