feat: sysinfo periodic posting and !sysinfo command (#1)
Merged
sportmacher opened 2 months ago

Fixes #4

Summary

  • Collect system stats (CPU, RAM, swap, disk, uptime, load, GPU) from local and remote hosts via /proc parsing and SSH
  • Post formatted status lines to a configurable IRC channel every N seconds (default 300s/5min)
  • Remote hosts checked for reachability via ping before SSH — unreachable hosts silently skipped
  • Systemd service health checks per host (green/red dots in IRC)
  • On-demand !sysinfo [host] command to query any or all hosts
  • New config: CATCHME_HOSTS, CATCHME_SYSINFO_INTERVAL, CATCHME_SYSINFO_CHANNEL, CATCHME_SERVICES_<NAME>

Also includes prior refactor moving package from src/ to root.

Commits were merged into target branch
pull request 1/1
Submitter sportmacher
Target master
Source feat/sysinfo
Merge Strategy
Create Merge Commit
Watchers (1)
Reference
pull request cashmere/catchmeonirc#1
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover