telegram-bash-system-monitoring
Telegram Bash System Monitoring is a single-script, agentless Linux server monitoring tool by @russellgrapes that delivers alerts through Telegram. Designed to be launched once at startup via crontab @reboot, it runs as a lightweight supervisor with continuous monitoring loops, avoiding cron spam. The script monitors local server health including CPU and RAM usage with sustained-spike filtering, disk usage across single or multiple mount points, CPU temperature using auto-detected thermal zones and hwmon sensors, and load averages (LA1, LA5, LA15) with thresholds based on core count. It detects reboots by tracking boot-time changes. Security and operational tracking covers SSH and SFTP logins, mapping processes to sockets with IP details, reporting Active/Ended sessions including flash logins that occur between polls. Trusted IPs and CIDRs can be excluded. Remote monitoring includes ICMP ping for IPv4/IPv6 hosts and TCP port checks using Python sockets, with stateful UP/DOWN alerts on transitions. During main