Link to home
Start Free TrialLog in
Avatar of webiis
webiis

asked on

CPU USAGE ALERT

How can we setup an email alert to go off when our server cpu hits 50% for more than 5 minutes at one time?
Avatar of Fallbackpuppet
Fallbackpuppet
Flag of United States of America image

there are a number of monitoring softwares out there what type of server is it the manufacturer might have a free monitoring tool.
Avatar of webiis
webiis

ASKER

dell poweredge server. i might just use microsoft system essentials. we are microsoft partners so that may be the best route.
I'll get back here with specific steps to do this but the general solution appears to be as follows...

Set up a program called "SpeedFan" on the server.  This allows you to run commands when certain conditions are met.  You can set it up so when your CPU hits X temperature you run a batch file.  It can check ( I believe and will set this up on my machine to test it ) against this condition every X amount of time.  So you can specify it to check every 2.5 minutes to see if the temp is above 50%.  Then run a batch file to do the rest of what you desire...

SpeedFan Link: http://www.almico.com/sfdownload.php

As far as sending the email, I'm assuming you're sending it as a notification that this event has occurred and don't care so much about exactly what the temp is and for how long...

There is already a thread here on EE (and I'm sure there are others) about sending an email via a VBScript.  https://www.experts-exchange.com/questions/20431995/Specify-a-SMTP-server-to-send-mail-to-via-VBS.html

That's it in theory, I will test all this and post back with more specifics, but if you want to work on this immediately that should get you started.

Provide more details if possible, like what mail client you're running, how you want to send the email, what server OS you're running... Windows 2003 Server?
ASKER CERTIFIED SOLUTION
Avatar of Fallbackpuppet
Fallbackpuppet
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial