|
|
|
Old Hand
      
Group: General Forum Members
Last Login: Wednesday, July 18, 2012 1:22 AM
Points: 325,
Visits: 234
|
|
| for CPU, you can create alert in performance monitor
|
|
|
|
|
SSC Veteran
      
Group: General Forum Members
Last Login: Friday, April 05, 2013 3:42 AM
Points: 291,
Visits: 1,064
|
|
| Fantastic article Ritesh, You are a star DBA............
|
|
|
|
|
Old Hand
      
Group: General Forum Members
Last Login: Wednesday, July 18, 2012 1:22 AM
Points: 325,
Visits: 234
|
|
|
|
|
|
Old Hand
      
Group: General Forum Members
Last Login: Wednesday, July 18, 2012 1:22 AM
Points: 325,
Visits: 234
|
|
| Satnam did you implement this soln?
|
|
|
|
|
SSC Veteran
      
Group: General Forum Members
Last Login: Friday, April 05, 2013 3:42 AM
Points: 291,
Visits: 1,064
|
|
| Yes Ritesh, i implemented it,it was fantastic.I loved the idea and the entire presentation which i believe only a good DBA can do...........................
|
|
|
|
|
Old Hand
      
Group: General Forum Members
Last Login: Yesterday @ 6:20 AM
Points: 312,
Visits: 264
|
|
First off - great article and a really handy stored procedure..
When i executed the sp i got this error message
Msg 8164, Level 16, State 1, Procedure sp_get_composite_job_info, Line 72 An INSERT EXEC statement cannot be nested. Msg 242, Level 16, State 3, Procedure uspEmailSQLServerHealth, Line 126 The conversion of a char data type to a datetime data type resulted in an out-of-range datetime value.
It did send me an email though so all's good.
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Monday, February 18, 2013 2:50 AM
Points: 1,
Visits: 24
|
|
Hi
Just a suggestion why dont you use table variables instead of temp tables, might reduce the code and the initial checks.
|
|
|
|
|
SSC-Enthusiastic
      
Group: General Forum Members
Last Login: Today @ 4:08 AM
Points: 150,
Visits: 357
|
|
Dale Turley (1/28/2010) First off - great article and a really handy stored procedure..
When i executed the sp i got this error message
Msg 8164, Level 16, State 1, Procedure sp_get_composite_job_info, Line 72 An INSERT EXEC statement cannot be nested. Msg 242, Level 16, State 3, Procedure uspEmailSQLServerHealth, Line 126 The conversion of a char data type to a datetime data type resulted in an out-of-range datetime value.
It did send me an email though so all's good.
First off, great article. Thank you for sharing.
However I have encoutered the same issue as above and not yet resolved. (SQL 2005 standard edition)
Also quick correction on your example, just incase anyone doesnt click that
exec EmailSQLServerHealth '10.10.10.10', 'MYProject', 'myself@mycompany.com', 'TestMailProfile', 'My Self'
should be
exec uspEmailSQLServerHealth '10.10.10.10', 'MYProject', 'myself@mycompany.com', 'TestMailProfile', 'My Self' Thanks again ;)
|
|
|
|
|
SSC-Addicted
      
Group: General Forum Members
Last Login: Wednesday, May 08, 2013 12:27 AM
Points: 483,
Visits: 1,191
|
|
@Ritesh,
That's not smthng i was looking at as it goes away from sql..and involves lot of manual configuring alert on each server. Also, when one monitors lot of servers, you would like to store these info at a consolidated single server along with other parameters.
Also, if we can have CPU monitoring we can have it as a part of a quick health check script as well
What I was looking was smthng like xp_fixeddrives. But anyways AFAIK, none of the extended sps do that.. Does anyone have a better solution?
Regards, Raj
Strictlysql.blogspot.com
|
|
|
|
|
Old Hand
      
Group: General Forum Members
Last Login: Wednesday, July 18, 2012 1:22 AM
Points: 325,
Visits: 234
|
|
| thx for correction mark..
|
|
|
|