Initial commit: GPU temperature monitor with email alerts

SSHes into VM 109, checks nvidia-smi every 60s, sends Gmail alert
at warn (80°C) and critical (88°C) thresholds.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
jze9
2026-05-28 20:53:50 +05:00
commit 83c3e4232b
4 changed files with 183 additions and 0 deletions

15
.env.example Normal file
View File

@@ -0,0 +1,15 @@
GPU_HOST=192.168.20.47
GPU_USER=user
GPU_PASS=your_vm_password
# Gmail: нужен App Password (не основной пароль)
# https://myaccount.google.com/apppasswords
SMTP_HOST=smtp.gmail.com
SMTP_PORT=587
SMTP_USER=jze9programer@gmail.com
SMTP_PASS=your_gmail_app_password
ALERT_TO=jze9programer@gmail.com
WARN_TEMP=80
CRIT_TEMP=88
CHECK_EVERY=60