Get alert when Linux CPU/ MEMORY usage continues high for a period of time and back to normal
Home
SMS4Mail
SMSCMD
Ping_Alert
Port_Alert
SMS4PayPal
CPU_Alert
SMS4Mail.com / SMS4PayPal.com

 

Get alert on phones when CPU/MEM continues high. Check here for Windows version

  • Download and Unzip to 1) cpualert_setup.txt for threshold and 2) cpualert_email.txt for SMTP server. 3) cpualert. You can run it in background with silent mode by running cpualert -s & if tested OK. Register to get free SMS to test
  • Get alert when CPU/MEM usage continues high for a period of time - You can setup consecutive 1 or 2,3...50..200..xxx and usage yy% as threshold limit. Get alert only when CPU / Memory usage has consecutive xx times higher than yy%
  • No alert for short high Spikes. No continue sending you alerts when utilization remains high - Alert you once only when normal -> consecutive abnormal high -> normal status changed. Let you know when it is abnormal and when it is back exactly.
  • Alert message will tell you the CPU/MEM usage and TOP1 data including PID, USER, %CPU, %MEM, TIME, COMMAND. See below sample
  • Has option to KILL TOP1 process when consecutive high than a KILLCOUNT number and alert text will tell you which PID & COMMAND has been killed. You can setup a SMALL threshold number and a BIG killcount number to get alert immediately and kill TOP1 process if CPU/MEM usage consecutive high for a log period of time 
  • SMS and Email alerts send out from our server and has option to send additional email alert via SendGrid SMTP relay service (API key for password, no security concern, 100/day for free) or Local/Gmail/Yahoo/Hotmail at the same time to ensure you can receive alerts.
  • Write any higher than threshold record to log file with TOP1 program name, PID and timestamp and mail you log file at midnight everyday to let you pay attention earlier or evidence for your clients
  • I am Alive mail notification - Mail you today's log at midnight everyday to let you check the daily log from mail directly and you also can know program is up and running

Sample for SMS alert text

192.168.1.2 SuSe CPU now 100% higher than 75% for 10 times (TOP1- PID: 31118 USER: root %CPU: 99.6 %MEM: 0.1 TIME: 5:30.60 COMMAND: loopcpu

  • TOP1 data is the TOP command and sort %CPU or %MEM
  • Alert sending when first time reach the threshold and consecutive # 

  • No alert sending when keep higher than threshold

  • Alert sending when back to normal

  • Alert sending when reach the threshold and consecutive # after back to normal