October 31, 2008 at 6:39 am
Is there a way I can send out an alert or mail notification of some sorts when the CPU flat lines and reaches 100%? Not when it spikes but just flat lines.
I have looked at SQL Alerts but nothing there seem to be what I want.
Any ideas?
October 31, 2008 at 7:35 pm
Search the web for "CDONTS"
--Jeff Moden
Change is inevitable... Change for the better is not.
October 31, 2008 at 7:56 pm
I know 3 ways of detecting high CPU usages :-
1. In Windows 2003 Server, you can configure the perfmon logs to be written directly to a SQL table. What you can do is write your own script which maintains data for 10 min and pick few counters like processor time, Reads, writes. Skim through this 10min of data using a recurring Sql job and send mail on when u find 3 consecutive high values.
PS: Log limited info because the perfmon log will insert info every 3-5 secs. Tables will become huge.
2. There are DMVs in Sql 2005 which gives u same counter info as the perfmon does. Again put a polling job and write your own script.
i.e. sys.dm_os_performance_counters
3. Use 3rd party server monitoring utility.
Apart from this, there are Sql Alerts where you can insert your WMI ... which i am dont know much about.
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply