- collect system information via:
- mpstat -o JSON
- df -h
- free -h
- pgrep -f octoprint
- vcgencmd measure_temp
- ask GPT what to make of this and whether to raise an alarm
- send notification via Pushover
flowchart TD
A[Start] --> B[Collect System Metrics]
B --> D[Analyze Report with GPT-3]
D --> F{Is Alert Needed?}
F -->|True|G[Send Notification]
F -->|False|H[Log Status & Exit]
G --> I[End]
H --> I