small python module that checks a bunch of hosts over ssh and keeps their status in memory. for each host it grabs hostname, uptime, load average and memory use, and compacts the uptime into something short like 3d 7h 59m.
it just shells out to ssh with batchmode and short timeouts, so key auth has to already work for every host. put your hosts in the HOSTS list at the top, each one is a display name plus an ssh target which can be a config alias or a user at host string.
use the StatusMonitor class for the background part. refresh_all checks every host in parallel threads, start_background repolls on an interval, get returns the latest result dict for a host name. running the file directly does one pass and prints everything, handy to test your setup.