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:
15
.env.example
Normal file
15
.env.example
Normal 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
|
||||
Reference in New Issue
Block a user