Bash SSH dashboard that turns server metrics into a living creature with health bars, warnings, and status quips.
- ASCII creature changes mood based on server health (happy/okay/worried/stressed/dead/sleeping)
- Color-coded bar graphs for CPU, MEM, DISK, SWAP
- Uptime, load, process count, network stats
- Funny status messages per mood (rotating)
- Warning panel with threshold alerts
- Keyboard controls: q quit, r refresh, +/- speed
# Demo mode (random simulated data)
./server-pet.sh --demo
# Real servers via SSH
./server-pet.sh -s admin@prod-1 -s admin@prod-2
# Custom refresh
./server-pet.sh -s admin@prod-1 -r 10Thresholds: CPU/MEM warn at 70%, crit at 90%. Disk warn 80%, crit 95%. All configurable at top of script.
Demo mode runs with no servers configured — randomizes stats, occasional spikes. Try it: ./server-pet.sh
If you already have keys but still get prompted, SSH multiplexing keeps one connection open and reuses it.
Add to ~/.ssh/config:
Host *
ControlMaster auto
ControlPath ~/.ssh/sockets/%r@%h-%p
ControlPersist 600
Then mkdir -p ~/.ssh/sockets. One auth per server, reused for 10 minutes.
