🧠 CPU/MEM monitoring • Alert on consecutive high & restored
CPU_Alert: Get Alerts When CPU/MEM Stays High (and When Restored)
CPU_Alert monitors CPU and Memory usage and sends alerts when usage stays consecutively higher than your threshold for a period of time. It sends another notification when usage returns to normal—so you know it’s recovered.
Features
- Alert when CPU or Memory usage keeps consecutively higher than a pre-defined threshold for a period of time—and alert again when restored.
- Noise-resistant logic: alerts only when status changes (normal → consecutive high → normal). No repeated alerts while usage remains high and no alerts for brief spikes.
- Alerts include SMS, Email, and Sound. SMS/Email are sent from our server, with optional additional Email alerts via Local/Gmail/Yahoo/Free SMTP (Gmail/Yahoo use App Password).
- Alert Email includes TOP1 process name, usage, and a snapshot of the processes list sorted by usage.
- Optional: save CPU/MEM usage, TOP1 program and time to log files whenever usage exceeds threshold (auto separated by date).
- Runs with Administrator authority. Tested on Windows 10/11 and Windows Server 2012R2/2016/2019/2022. Usage data matches Windows Task Manager.
- Time-slot suppression: skip alerts during expected high-usage windows (e.g., nightly batch jobs).
- Killable program list: optionally kill specific processes when usage reaches threshold.
- Specific program monitoring: monitor a suspected program and optionally kill it at a configured threshold.
- Daily SMS cap to avoid alert storms (e.g., max 20/day; the 20th SMS ends with 20/20; SMS stops but Email can continue; counter resets at midnight).
Alert text examples
Example SMS content showing “CPU High” and “Restored” messages.
CPU/MEM high (consecutive)
Includes threshold, consecutive duration, TOP1 process and optional kill result.
[09-08 22:01:21] 🔴 CPU HIGH (Web Server) CPU: 98% (threshold 95%) Duration: 100 sec (10 checks) TOP1: test.exe 87% @22:00:10 Action: test.exe killed (True) TOP1 history: test.exe (9), firefox.exe (1)
Restored
Sent when usage returns to normal.
[09-08 22:08:12] 🟢 RESTORED (Web Server) CPU back to normal
Email alerts (SMTP + process snapshot)
Email alerts include TOP1 program and a snapshot of the process list sorted by usage. You can also send additional alerts via Local/Gmail/Yahoo/Free SMTP (Gmail/Yahoo use App Password).
SMTP setup guide
See: SMTP.htm
Screenshots
UI screenshots and Task Manager comparisons (image file paths are kept as in your legacy page).
Image path note
If your server uses different image paths, update the
src attributes above to match your directory structure.